mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
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:
parent
a7add2f296
commit
c81fae6b95
14 changed files with 75 additions and 71 deletions
|
@ -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```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue