Top "Django-1.4" questions

Django 1.4 is a version of the Django framework, released in March 2012, with enhanced time zones support and various other improvements.

Filter on prefetch_related in Django

Is there a way of filtering prefetched objects? I need to get the latest() of the prefetched objects but prefetch_…

django django-1.4
How to set initial values for a ModelForm when instance is also given

It seems like if a ModelForm is given an instance, it ignores any values you provide for initial and instead …

django django-forms django-1.4
A Simple View to Display/Render a Static image in Django

I am trying to find the most efficient way of displaying an image using django's template context loader. I have …

python django django-staticfiles django-1.4
Django forms.DateInput does not apply the attributes given in attrs field

Placeholder, class not getting set when tried to apply through the django's attrs specifier for forms.DateInput The form is …

python django django-forms django-1.4
Django: serving static file on debug=false

I know this question was asked many times, but none of the answers i found and tried helped me. Those …

django django-staticfiles django-1.4
Django template conditional variable assignment

I want to assign a variable do different values depending on if a variable exists, is this possible? My non …

django django-templates django-1.4
'admin' is not a registered namespace in Django 1.4

I'm attempting to upgrade quite a large Django project to the newly released Django 1.4, and I'm having some issues when …

python django django-1.4
'WSGIRequest' object has no attribute 'Post'

I am new to django and python and I am trying to update the database boolean field from checkboxes in …

python django django-1.4
South + Django 1.4 Database error

I have just installed my Django project on a new system, and installed Django 1.4. However when I try to run …

django django-south django-staticfiles django-1.4
custom save method on model - django

I am overriding the save method on one of my models: def save(self, *args, **kwargs): self.set_coords() super(…

django django-1.4