Re: django.contrib.auth 1.8 failed if user.pk not int

2015-10-09 Thread Tim Graham
Here's the commit and ticket: https://github.com/django/django/commit/0f7f5bc9 https://code.djangoproject.com/ticket/24161 I think you'll probably have to fix this in your app, but if a change in Django will help, let me know. Possibly your user model needs a CharField for its primary key. On

Re: Upgrade path for Django 1.4.9 to Django 1.6.0

2015-10-09 Thread Tim Graham
The docs have some tips (but not much besides what James already offered): https://docs.djangoproject.com/en/dev/howto/upgrade-version/ On Friday, October 9, 2015 at 8:17:21 PM UTC-4, James Schneider wrote: > > > > In the past when I have upgraded my Django Projects to a new version of > Django

Re: Upgrade path for Django 1.4.9 to Django 1.6.0

2015-10-09 Thread James Schneider
> In the past when I have upgraded my Django Projects to a new version of Django I have simply Google'd errors that my project produces and fixed them one at a time and ran my unit tests and did the same. > > Is there a better path? > > So far I appear to be looking in all the wrong places. Start

Upgrade path for Django 1.4.9 to Django 1.6.0

2015-10-09 Thread Mark Engstrom
In the past when I have upgraded my Django Projects to a new version of Django I have simply Google'd errors that my project produces and fixed them one at a time and ran my unit tests and did the same. Is there a better path? So far I appear to be looking in all the wrong places. Thanks!

Re: Don't run python manage.py syncdb

2015-10-09 Thread Rafael E. Ferrero
i think that u need to set 'myApp' in INSTALLED_APPS something like: > 'django.contrib.admin', > 'django.contrib.auth', > 'django.contrib.contenttypes', > 'django.contrib.sessions', > 'django.contrib.messages', > 'django.contrib.staticfiles', > 'myApp' -- Rafael E. Ferrero 2015-10-09 16:39

django.contrib.auth 1.8 failed if user.pk not int

2015-10-09 Thread Petr V. Bondarenko
Hi, when migrating code from version 1.7 to 1.8 I have a problem. We do not use standard authentication through ModelBackend. Authentication takes place on a different server protocol OAuth2. For the User, using fake-model RemoteApiUser. In which the primary key is *access_token*. Acces_token is

Don't run python manage.py syncdb

2015-10-09 Thread Faffafa Trtrtrtrt
I create question in http://stackoverflow.com/questions/32999054/dont-run-python-manage-py-syncdb. Any one can answer it? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send

Re: formset concurrency control

2015-10-09 Thread Carsten Fuchs
Hi Tim, Am 08.10.2015 um 21:03 schrieb Tim Graham: I think the problem is also described in https://code.djangoproject.com/ticket/15574. Probably if we had a simple solution, that ticket wouldn't be open for 5 years. :-) :-) Yes, having read all of it, I too think that #15574 describes the

reverse() error while importing view function

2015-10-09 Thread klerp
Hello! I get noreversematch error for url 'home' at deployed site with debug True. The same works well at localhost. I should make debug False for deployment but any reason why view function import fails only at live site? Following are the details. templates/site/base.html

Is it necessary to make a custom manager for the custom User model?

2015-10-09 Thread Benjamin Smith
I am making a custom user model using the AbstractBaseUser and PermissionsMixin by following these two tutorials (tutorial-1 and tutorial-2 ). This my model

Re: Django admin suitable for external users?

2015-10-09 Thread Derek
I agree that for widespread "unknown" customers its probably not good. I think that when working in close partnership with a small number of clients/customers (the way the funding is works is not really a big issue), who will receive training and a good user manual, then the admin (with some