forked from brosner/django-reusable-app-docs
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathindex.txt
49 lines (35 loc) · 1.11 KB
/
index.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.. _index:
.. index::
pair: What are; Reusable Apps
triple: James Bennett; Djangocon Talk; Reusable Apps
What is a reusable app?
=======================
A reusable Django app, is an app that is easily plugged into a
project, providing a very specific piece of functionality. They should
be focused and follow the Unix philosophy of "Do one thing and do it
well." Please refer to James Bennett's `Djangocon talk
<http://www.youtube.com/watch?v=A-S0tqpPga4>`__ on the subject for
more info.
.. index:: Coding Conventions, PEP8
pair: Python; Coding Conventions
pair: Django; Coding Conventions
Coding Conventions
==================
+ All code should follow `PEP8
<http://www.python.org/dev/peps/pep-0008/>`__ as closely as
reasonable.
+ All code should preferably follow Django's `coding conventions
<http://docs.djangoproject.com/en/dev/internals/contributing/#coding-
style>`__ as well.
Django Conventions
=================================
.. toctree::
:maxdepth: 2
distribution
apps/index
projects/index
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`