- [Show page]
- [Old revisions]
- [[unknown link type]]
- []
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
python:django_guidelines [2016/02/03 12:02] vondra |
python:django_guidelines [2016/02/03 12:02] vondra |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Django developer guidelines ====== | ====== Django developer guidelines ====== | ||
- | * Views must not raise an exception (except raising http states when necessary - i.e. REST API) | + | * Views must not raise an exception (except raising http states when necessary - i.e. RESTful API) |
* User should be notified about operation result via django.contrib.messages | * User should be notified about operation result via django.contrib.messages | ||
* All errors and exceptions must be handled and logged in the functional module and module interface should return True, False or value | * All errors and exceptions must be handled and logged in the functional module and module interface should return True, False or value |
python/django_guidelines.txt · Last modified: 2016/02/03 12:02 by vondra