- Language: en
10 results for signals in version 2.0
-
Signals
- … signal ) [source] Parameters: signal – A signal or a list of signals to connect a function …
-
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 …
-
Using the Django authentication system
- … signal). Assuming you have an application with an app_label foo and a model named …
-
Advanced testing topics
- … signal, which re-creates one content type and three permissions for each model. This operation …
-
Database transactions
- … signal handler raises an exception. The correct way to catch database errors is around an atomic …
-
Writing and running tests
- … signal when flushing the test database. Other test conditions Regardless of the value of the DEBUG …
-
Making queries
- … signals (which are a consequence of calling save() ), or honor the auto_now field option …
-
Database access optimization
- … signals . Use foreign key values directly If you only need a foreign key value, use the foreign …