• Django: Group by?

    up vote 2 down vote favorite I'm looking for something like the following: previous_invoices = Invoice.objects.filter(is_open=False).order_by('-created').group_by('user') (group_by() doesn't exist) T

  • django localtime

    up vote 0 down vote favorite I'm trying to convert utc times to localtime in my template and for some reason doing: {% load tz %} {% localtime on %} {{ value }} {% endlocaltime %} still gives me the

  • Django TemplateDoesNotExist?

    up vote 64 down vote favorite 15 My local machine is running Python 2.5 and Nginx on Ubuntu 8.10, with Django builded from latest development trunk. For every URL I request, it throws: TemplateDoesNo

  • django-disqus with django 1.4.8

    up vote 0 down vote favorite I'm receiving this error when I add disqus to the INSTALLED_APP: Error: No module named urllib.parse I tracked this down to the following line: from django.utils.http imp

  • Django: no such table: django_session

    up vote 29 down vote favorite 6 I have found several topics with this title, but none of their solutions worked for me. I have two Django sites running on my server, both through Apache using differen

  • angularjs - Django, Django-Angular and the Django Rest Framework

    up vote 0 down vote favorite We are getting started using Angular in our existing Django app, and I have seen mention of the Django Rest Framework as well as Django-Angular library. The DRF has been v

  • api - Django Tastypie and Django 1.4

    up vote 3 down vote favorite 1 If I want to integrate django-tastypie with a project that I have already started in Django 1.4, will it work? If only partially, what are the implications? If not at al

  • Django Haystack Search by Django Model PK

    up vote 0 down vote favorite Is there an easy hook for looking up Haystack results by Django model PK? Something like (this doesn't work) SearchQuerySet().filter(pk=12) The alternative is that I w

  • Django: set up a scheduled job within Django?

    up vote 0 down vote favorite Like this question (Django - set up a scheduled job) I want to run a regular task within Django. I'd also really like to bundle it within Django if possible, rather than r

  • Django Overwrite Forms for django-allauth

    up vote 1 down vote favorite I want to customise the standard forms that come with django all-auth ACCOUNT_FORMS={ 'login' : 'CustomLoginForm', 'signup'