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
0 answers

Is there a address book app compatible with django 1.5 ('verify_exists')

As in title- I'm too lazy to code such a basic functionality found django-addressbook but it's incompatible with 1.5 because of verify_exist depreciation. My first thought was to fall back to django 1.4 but I need to keep focus on security with this…
Lord_JABA
  • 2,545
  • 7
  • 31
  • 58
0
votes
3 answers

Django1.5 not overwriting auth_users

I would like a bigger auth_user table, including 2-3 extra fields. The thing is that the code below is creating a new one, exactly the same as the auth_user one with the extra fields but it is not replacing it. settings.py AUTH_PROFILE_MODULE =…
anon
0
votes
1 answer

Django1.5 Custom Users table

I'm trying to create a custom auth_users table with Django 1.5 following the intructions here: https://docs.djangoproject.com/en/1.5/topics/auth/customizing/#auth-custom-user But the code below doesn't seem to be working even though I have set the…
anon
0
votes
1 answer

Django 1.5 mongodb does not wotk

I'm working in two projects, the first one is been developed using django/mysql and the other uses django/mongodb. The first is using django1.5 and it works but the second only works in django1.3, I believe mongodb does not work in django1.5. When…
Andres
  • 4,323
  • 7
  • 39
  • 53
0
votes
1 answer

Django 1.5 Pyfacebook error

I want to use Pyfacebook with django 1.5. I follow this tutorial http://agiliq.com/blog/2009/02/how-to-build-a-facebook-app-in-django/ . When I put: 'facebook.djangofb.FacebookMiddleware' in MIDDLEWARE_CLASSES (settings.py). I have this message: A…
Jeremy
  • 159
  • 4
  • 14
0
votes
2 answers

Django password reset on custom user model on Django 1.5?

I have a custom User model like this: class User(AbstractBaseUser): username = models.CharField(max_length=90, unique=True, db_index=True) create_time = models.DateTimeField(null=True, blank=True) update_time =…
pynovice
  • 7,424
  • 25
  • 69
  • 109
0
votes
1 answer

Using django-profiles with Django 1.5

I am working again on a Django 1.4 project which I am trying to get working with 1.5. I was using the module django-profiles, unfortunately the module is using Django generic views (list_detail particularly) and they aren't supported anymore in 1.5…
Mathieu Marques
  • 1,678
  • 15
  • 33
0
votes
1 answer

Why am I getting an apache server error page on a django vhost using underscore in my subdomain?

I'm using django 1.5.0 and apache 2.2.22. I can't seem to get my site running as a named vhost (I've got other django sites already running fine on this server). I'm getting the standard apache 500 error page. My error log suggests that've I've got…
Aidan Ewen
  • 13,049
  • 8
  • 63
  • 88
0
votes
2 answers

Django 1.5 , language url redirect and javascript

I just migrated to django 1.5 and I am facing a problem with the new policy regarding url language redirects, my old Ajax POST to for example /search end up being redirected to /en/search with a GET of course. How to fix this (ideally without…
maazza
  • 7,016
  • 15
  • 63
  • 96
0
votes
1 answer

Django 1.5 Generic view

I'm practicing django with "Practical Django 2nd edition" book, which is based on django 1.1 I installed django 1.5 so I should figure out the changes between django's versions and write the right code (thanx django documentation) Generic views…
Lumos Maxima
  • 75
  • 1
  • 1
  • 3
0
votes
1 answer

Add extra context to django generic views

I would like to add the username of the user on pages like change_password. I don't think I can pass the username as extra context for in the url like that: url(r'^password_change/$','django.contrib.auth.views.password_reset',…
Alexis Benoist
  • 2,400
  • 2
  • 17
  • 23
0
votes
2 answers

django-registration with Django 1.5

I've been trying to get django-registration to work with Django 1.5 Configurable User Models. I've seen some previous SO threads related to the error I'm having, but the solution to them doesn't seem to be working for me. The error I get…
xyzjace
  • 432
  • 1
  • 5
  • 16
0
votes
2 answers

Django: How to use template variables along with url tag

I am using Django 1.5.1 I am in need of passing the view name as a variable to my template. Here is the relevant part of my view return render(request, 'testcases/execute.html', { 'table': table , 'submit_view': 'testcase_execute' , …
binithb
  • 1,910
  • 4
  • 23
  • 44
0
votes
1 answer

localeurl with django1.5

I migrated to django 1.5 and since I have a problem with {% url "localeurl_change_locale"%}. In fact I have a form:
{% csrf_token %}