1 | | = Guidelines for writing and distributing Django applications = |
| 1 | = Guidelines for writing, distributing and using Django applications = |
| 2 | |
| 3 | See |
| 4 | * http://groups.google.com/group/django-developers/browse_thread/thread/bdcad26ab044cb96 |
| 5 | |
| 6 | = Guidelines for reusable application authors = |
| 7 | |
| 8 | * '''namespace''': apps should live in `django.apps`, i.e. if your app is named `frobnicate`, your code should be in `django.apps.frobnicate` |
| 9 | * FIXME alternative: require use of namespace packages, see http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages , review how Zope does it |
| 10 | * FIXME '''Django version''': somehow the Django version used has to be conveyed (`django1.0-comments`?), again Zope app versioning should help |
| 11 | * '''publishing''': apps should be packaged with `setuptools` and published in the [http://pypi.python.org/pypi Python Package Index], under trove category `Framework :: Django` |
| 12 | * '''dependencies''': ordinary `setuptools` dependency handling |