Commit Graph

6558 Commits

Author SHA1 Message Date
Chirag Khatri
62551bc80f typo in tutorial part 1 2016-02-03 15:25:31 +05:30
Mikalai Radchuk
1f2a32d506 Fixes docstrings in fields.py
Fixes docstrings for `to_choices_dict` and `flatten_choices_dict` functions in fields.py.

Mistakes were introduced in #4d69286
2016-02-03 12:36:00 +03:00
José Padilla
0512c394a3 Merge pull request #3875 from m1kola/bugfix/HTMLFormRenderer-render-renderer_context-default
Fixes AttributeError in HTMLFormRenderer.render
2016-02-01 16:28:11 -04:00
Xavier Ordoquy
ee23ef9907 Merge pull request #3889 from jpadilla/update-django
Update Django versions
2016-02-01 20:43:24 +01:00
José Padilla
37d1d3e738 Update Django versions 2016-02-01 15:36:11 -04:00
Xavier Ordoquy
dce544ec59 Merge pull request #3887 from mnach/enhancement-3886
enhancement #3886 Internationalization in admin interface for authtoken
2016-02-01 10:10:48 +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
d738ad7ae6 Update to serialization results (closes #3881). 2016-01-27 22:23:20 +01:00
Mikalay Radchuk
714607307e Fixes AttributeError in HTMLFormRenderer.render
If `HTMLFormRenderer.render` will be called with default arguments,
`AttributeError: 'NoneType' object has no attribute 'get'` will be raised.
2016-01-26 21:26:30 +03:00
Xavier Ordoquy
72372efdb6 Merge pull request #3867 from jamesbeith/docs-example-fixes
Fix syntax errors in docs example
2016-01-24 18:16:02 +01:00
James Beith
34901a5ffa Fix syntax errors in docs example
- Add missing comma in kwargs
- Remove spaces around keyword / parameter equals
- Replace incorrect curly brace with parenthesis
2016-01-24 13:33:18 +00:00
Xavier Ordoquy
f2d6013134 Merge pull request #3866 from ekonstantinidis/more-drf-docs-info
Mention Live API Endpoints for DRF Docs
2016-01-24 00:14:49 +01:00
Emmanouil Konstantinidis
ee2861887e Mention DRF Docs - Live API Endpoints 2016-01-23 23:08:19 +00:00
Xavier Ordoquy
909a3e80a1 Merge pull request #3861 from linovia/feature/relation_get_queryset_override
Refactor the `get_queryset` overriding test
2016-01-21 18:10:32 +01:00
Xavier Ordoquy
5068ecf64b Rename the get_queryset overriding test. 2016-01-21 16:50:07 +01:00
Xavier Ordoquy
6d95da7b2d Improve the get_queryset overriding test readability. 2016-01-21 16:48:32 +01:00
Xavier Ordoquy
98fc7caad8 Merge pull request #3860 from linovia/bug/leave_token_abstract
Restore the abstract on Token model when the app isn't declared
2016-01-21 13:44:08 +01: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
José Padilla
06dd55ac1c Merge pull request #3853 from jpadilla/issue/3850
Fix broken link format
2016-01-20 15:23:25 -04:00
José Padilla
99a61d72a7 Fix broken link format 2016-01-20 14:04:04 -04:00
Xavier Ordoquy
328000fb34 Merge pull request #3624 from d6bels/master
Login form autofocus
2016-01-20 18:21:03 +01:00
Xavier Ordoquy
f1b28b4d63 Merge pull request #3605 from ryanhiebert/slug-related-field-queryset
RelatedField get_queryset and context
2016-01-20 18:17:29 +01:00
Xavier Ordoquy
f1522d3e35 Merge pull request #3851 from szuliq/patch-1
Update link to Heroku guidelines
2016-01-20 16:37:27 +01:00
Krzysztof Szularz
2d40be5bd8 Update link to Heroku guidelines
They seem to have changed the structure of the document.
2016-01-20 16:28:30 +01:00
Xavier Ordoquy
5ed8a53929 Merge pull request #3849 from linovia/feature/py35_build
Activate the Python 3.5 build.
2016-01-20 14:18:06 +01:00
Xavier Ordoquy
7fa18ba939 Merge remote-tracking branch 'reference/master' into feature/py35_build 2016-01-20 14:12:05 +01:00
Xavier Ordoquy
ed40b319be Removing Python 3.5 build from the expected failure. 2016-01-20 14:11:58 +01:00
Xavier Ordoquy
fb302d6010 Use the Python 3.5 env. 2016-01-20 13:53:53 +01:00
Xavier Ordoquy
9cfac9193d Merge pull request #3846 from linovia/feature/workaround-pip-8
Maintain py32 test builds
2016-01-20 12:43:28 +01:00
Xavier Ordoquy
e6d1eb375c Add a comment about virtualenv < 14 2016-01-20 11:53:32 +01:00
Xavier Ordoquy
b53f6691f4 Preserve the former indentation. 2016-01-20 11:45:23 +01:00
Xavier Ordoquy
ebec88ccab Remove the no-pip option. 2016-01-20 11:06:51 +01:00
Xavier Ordoquy
64e1fe7518 Try downgrading virtualenv. 2016-01-20 10:59:57 +01:00
Xavier Ordoquy
1a7e81b00b Workaround to avoid pip-8 installation. 2016-01-20 10:44:50 +01:00
Xavier Ordoquy
e7fbd264ca Merge pull request #3703 from sniegu/master
Add missing csrf_token in AdminRenderer post form.
2016-01-19 16:58:39 +01:00
Xavier Ordoquy
c2e94709a0 Merge pull request #3842 from linovia/markdown-compat
Markdown compat (overtakes #3604)
2016-01-19 16:47:01 +01:00
Xavier Ordoquy
8ea7d6b5c6 Merge remote-tracking branch 'origin/master' into markdown-compat
Conflicts:
	requirements/requirements-optionals.txt
2016-01-19 15:34:56 +01:00
José Padilla
50749c4730 Merge pull request #3841 from linovia/feature/3776
Fix update model example in html-and-forms.md
2016-01-18 14:16:13 -04:00
Xavier Ordoquy
221d6979c6 Fix the request data source. 2016-01-18 18:54:00 +01:00
Xavier Ordoquy
0051492963 Merge remote-tracking branch 'shvechikov/master' into feature/3776 2016-01-18 18:51:53 +01:00
Xavier Ordoquy
6f8e0c3c07 Merge pull request #3289 from koliber/update-docs-serilaizers-multi-update
Added explicit id field in multi update example
2016-01-18 18:44:03 +01:00
Tom Christie
69e1489a6f Merge pull request #3839 from pra85/patch-1
Update license year range to 2016
2016-01-18 09:29:36 +00:00
Prayag Verma
b24fb53d98 Update license year range to 2016 2016-01-18 12:28:24 +05:30
Xavier Ordoquy
db73833d13 Merge pull request #3835 from vyscond/patch-1
Update permissions.md
2016-01-15 15:48:24 +01:00
Ramon Moraes
a37a8748cc Update permissions.md
Adding additional note about the behavior of set permission classes per view as suggest on #3834
2016-01-15 11:44:25 -03:00
Xavier Ordoquy
30ef38c861 Merge pull request #3833 from bradmontgomery/patch-1
QueryParameterVersioning does not use default version
2016-01-14 20:33:05 +01:00
Brad Montgomery
40b5774a33 QueryParameterVersioning does not use default version
QueryParameterVersioning does not fall back to the value used in the `DEFAULT_VERSION` setting, while other versioning schemes do. This looks like a minor change, and incorporates the `self.default_version` set in the superclass.

I'll sheepishly admit that I edited this inline without running any tests or anything, so please let me know if this needs more work.
2016-01-14 12:00:30 -06:00
Tom Christie
2ce3ab59a6 Merge pull request #3746 from linovia/feature/display_internal_pytest_warnings
Display py.test internal warnings
2016-01-14 15:25:41 +00:00
Xavier Ordoquy
b76bf3d6d2 Merge pull request #3832 from atombrella/warnings_20_fkeys
Regarding #3729
2016-01-14 15:31:31 +01:00
Tom Christie
29f84aa4a3 Merge pull request #3831 from ticosax/doc-tweak-admin-authtoken
Document how to tweak authtoken.admin.TokenAdmin
2016-01-14 14:16:41 +00:00