mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +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:
@@ -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```
|
||||
|
||||
Reference in New Issue
Block a user