Used app_label instead of appname.

The last component of the dotted path to the application module is
consistently referenced as the application "label". For instance it's
AppConfig.label. appname could be confused with AppConfig.name, which is
the full dotted path.
This commit is contained in:
Aymeric Augustin 2013-12-28 09:53:02 +01:00
parent a7add2f296
commit c81fae6b95
14 changed files with 75 additions and 71 deletions

View file

@ -44,8 +44,8 @@ hyperlinks to other components:
================= =======================
Django Component reStructuredText roles
================= =======================
Models ``:model:`appname.ModelName```
Views ``:view:`appname.view_name```
Models ``:model:`app_label.ModelName```
Views ``:view:`app_label.view_name```
Template tags ``:tag:`tagname```
Template filters ``:filter:`filtername```
Templates ``:template:`path/to/template.html```