Questions tagged [django-1.5]

Django 1.5 is a version of the Django framework, released in February 2013. Please only use this tag if your question relates specifically to this version.

Django 1.5 is a version of the Django framework, released in February 2013. Please only use this tag if your question relates specifically to this version.

See the release notes for more details.

275 questions
0
votes
2 answers

Django 1.5: adminmedia and django-filebrowser-no-grappelli

I try to use django-filebrowser-no-grappelli with Django 1.5. The prodlem is: In Django 1.5 the template tags library adminmedia, which only contained the deprecated template tag {% admin_media_prefix %}, was removed. Django-filebrowser-no-grappelli…
Wolter
  • 1,053
  • 3
  • 11
  • 17
0
votes
1 answer

Error updating django 1.5 - u "'admin' is not a registered namespace

I am upgrading django from 1.4 to 1.5 in the front and all goes well, but admin side when I try to enter the url I get this particular error, and not how to fix it, any ideas? error: NoReverseMatch at /admin/ u"'admin" is not a registered…
user987055
  • 1,039
  • 4
  • 14
  • 25
0
votes
1 answer

Django 1.5 AbstractBaseUser with char primary key not JSON serializable

I am having the following custom user model trying to use the Django 1.5 AbstractBaseUser: class Merchant(AbstractBaseUser): email = models.EmailField() company_name = models.CharField(max_length=256) website = models.URLField() …
kalo
  • 408
  • 1
  • 3
  • 13
-1
votes
1 answer

django 1.5 python set X-Content-Type-Options nosniff

We would like to add X-Content-Type-Options nosniff . We can't upgrade to newer django version (1.5), so we can't use the SECURE_CONTENT_TYPE_NOSNIFF because we don't have SecurityMiddleware. Any help is appriciated.
-1
votes
1 answer

How to handle concurrency with django queryset get method?

I'm using django (1.5 with mysql) select_for_update method for fetching data from one model and serve this data to user upon request, but when two user request at simultaneously it returns same data for both of the user, see the sample code…
Zaheer Jan
  • 233
  • 4
  • 13
1 2 3
18
19