Changes between Version 6 and Version 7 of DjangoSpecifications/AppGuidelines
- Timestamp:
- Sep 15, 2008, 5:38:34 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DjangoSpecifications/AppGuidelines
v6 v7 1 1 = Guidelines for writing, distributing and using Django applications = 2 2 3 4 5 3 See 6 4 * http://groups.google.com/group/django-developers/browse_thread/thread/bdcad26ab044cb96 5 * http://www.b-list.org/weblog/2008/sep/07/slides/ and http://media.b-list.org/presentations/2008/djangocon/reusable_apps.pdf 7 6 8 7 = Guidelines for reusable application authors = 9 8 10 11 12 9 * '''namespace''': apps should live in `django.apps`, i.e. if your app is named `frobnicate`, your code should be in `django.apps.frobnicate` 13 14 10 * FIXME alternative: require use of namespace packages, see http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages , review how Zope does it 15 16 11 * FIXME '''Django version''': somehow the Django version used has to be conveyed (`django1.0-comments`?), again Zope app versioning should help 17 18 12 * '''publishing''': apps should be packaged with `setuptools` and published in the [http://pypi.python.org/pypi Python Package Index], under trove category `Framework :: Django` 19 20 13 * '''dependencies''': ordinary `setuptools` dependency handling 21 22 23 14 24 15 = Package index = 25 16 26 27 28 17 Additionally to the PyPi index, a separate indexing service with ratings, groupings and whatnot would be useful. [http://djangoplugables.com Django Pluggables] is a nice start.