Changes between Initial Version and Version 1 of Ticket #21875, comment 1
- Timestamp:
- Jan 26, 2014, 1:28:58 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #21875, comment 1
initial v1 1 1 Out of curiosity, does `'tastypie'` appear before `'django.contrib.auth'` in `settings.INSTALLED_APPS`? 2 3 **Edit:** Actually, looking at the code that's irrelevant. `get_user_model()` depends on `apps.get_model()` which is not available until the app registry is ready. 4 5 One way to fix it in `django-tastypie` would be to have `tastypie.compat.AUTH_USER_MODEL` be a string (`settings.AUTH_USER_MODEL`) on Django 1.7 (or even Django 1.5+).