1
0
mirror of https://github.com/django/django.git synced 2025-01-26 18:19:18 +00:00
Julien Phalip 05e0e4674c Merge pull request #3549 from psagers/master
Fixes a race condition in the documentation.

The example for django.contrib.admin.ModelAdmin.get_form was modifying self.exclude. However, since ModelAdmin instances are global and have no thread- or request-locality, this is not safe for concurrent requests. This updated documentation demonstrates a safe method to override admin forms on a per-request basis.
2014-11-16 12:25:05 +01:00
..
2014-11-04 21:08:32 +00:00
2014-11-03 07:47:39 -05:00