- Language: en
11 results for signals in the development version
-
Signals
- … signal , ** kwargs ) [source] Parameters : signal – A signal or a list of signals to connect a function …
-
Fixtures
- … signal_handler ): """ Decorator that turns off signal handlers when loading fixture data …
-
Customizing authentication in Django
- … signal). Your code is in charge of checking the value of these permissions when a user …
-
Testing tools
- … signal that lets you register callbacks to clean up and otherwise reset state when settings …
-
Models
- … signals. Unfortunately, there isn’t a workaround when creating or updating objects in bulk, since …
-
Database access optimization
- … signals . Use foreign key values directly If you only need a foreign key value, use the foreign …
-
Using the Django authentication system
- … signal). Assuming you have an application with an app_label foo and a model named …
-
Database transactions
- … signal handler raises an exception. The correct way to catch database errors is around an atomic …
-
Making queries
- … signals (which are a consequence of calling save() ), or honor the auto_now field option …
-
Advanced testing topics
- … signal, which recreates one content type and four permissions for each model. This operation gets …
-
Writing and running tests
- … signal when flushing the test database. Changed in Django 5.2: For TransactionTestCase , serialized migration data …