José Padilla
c1f31492ae
Update links after moving to encode org
2017-04-07 10:28:35 -04:00
Asif Saifuddin Auvi
04e5b5b20a
removed AUTH_USER_MODEL compat property ( #4176 )
...
Removed unnecessary `AUTH_USER_MODEL` compat variable.
(No longer required)
2016-06-07 12:13:35 +01:00
Mikhail Nacharov
d0f7b04805
enhancement #3886 Internationalization in admin interface rest_framework.authtoken
...
+ verbose_name in models.Token fields
+ Meta-options verbose_name & verbose_name_plural
+ Labels in AuthTokenSerializer fields in case of usages in Brousable API
+ provide AppConfig class as described in django documentation with verbose_name came through ugettext_lazy
2016-02-01 13:20:16 +05:00
Xavier Ordoquy
9e8ddb88fc
Restore the abstract on Token model when the app isn't declared
...
The fact that we don't import Token from authentication doesn't invalidate
the need for the model to be abstract whenever the authtoken isn't listed
in the INSTALLED_APPS.
2016-01-21 13:28:32 +01:00
Mads Jensen
215e1b6c6b
Regarding #3729
...
python -Werror generates warnings informing that on_delete is a required keyword in Django 2.0
2016-01-14 15:14:33 +01:00
S. Andrew Sheppard
ff29fdd875
don't import authtoken model until needed
2015-12-30 15:44:19 -06:00
José Padilla
7351a3f6ca
Sort imports with isort
2015-06-25 16:55:51 -04:00
José Padilla
83c9136c90
Cleanup import following PEP 8 style guide
2015-06-25 16:10:17 -04:00
Tymur Maryokhin
09e59f2686
Removed custom python_2_unicode_compatible. Closes #2183
2014-12-04 02:50:25 +01:00
Tom Christie
bf09c32de8
Code linting and added runtests.py
2014-08-19 13:28:07 +01:00
Max Peterson
1c777ffe8b
Ensure Token.generate_key returns a string.
2014-04-28 12:35:55 +01:00
Matthew King
f8cda8adbd
Generate random token directly
2014-02-04 22:50:11 -05:00
Tom Christie
fc2dee844a
Don't import compat.py from authtoken.models. Closes #1297
2013-12-16 08:59:10 +00:00
Tom Christie
715bd47dfa
Use AUTH_USER_MODEL consistently between various Django versions. Closes #946
2013-06-26 17:56:42 +01:00
Tom Christie
c5b98f0d10
authtoken abstract if not installed.
...
Fixes #705 .
2013-03-08 20:56:30 +00:00
Xavier Ordoquy
17000129e3
Every (base) test should now pass with python3.
2012-11-24 23:19:03 +01:00
Jonas Liljestrand
8eb4bb8090
Moved function for getting correct user model to compat.py
2012-11-17 20:35:15 +01:00
Jonas Liljestrand
cd482c0ad2
Added support for Django 1.5 for TokenAuth
2012-11-17 18:04:37 +01:00
Jonas Liljestrand
bbb5a8a1d9
fixed import error
2012-11-17 18:01:46 +01:00
Jonas Liljestrand
3c1b5c3435
indent error
2012-11-17 17:53:08 +01:00
Jonas Liljestrand
f0d4232c1d
Django 1.5 support, and awareness for AUTH_USER_MODEL
2012-11-17 17:46:16 +01:00
Tom Christie
900c4b625b
api_key -> auth_token to avoid TastyPie conflict
2012-10-10 09:50:15 +01:00
Tom Christie
5c17a60176
Tweak authtoken
2012-10-09 09:57:31 +01:00
Tom Christie
4b691c4027
Change package name: djangorestframework -> rest_framework
2012-09-20 13:06:27 +01:00