{% extends 'base.html' %} {% block title %}Execute non-standard queries{% endblock %} {% block content %}

Demo: Executing non-standard queries

Use the input field to search for photos using the following query:
Photo.objects.filter(title__iexact=form.cleaned_data['title'], published__month=form.cleaned_data['month']))
{% csrf_token %} {{ form }}
Create your own photo to test non-standard queries.

Corresponding post: Get SQL features on NoSQL with django-dbindexer.

{% endblock %}