GlossaryΒΆ
- concrete modelΒΆ
A non-abstract (
abstract=False
) model.- fieldΒΆ
An attribute on a model; a given field usually maps directly to a single database column.
See Models.
- generic viewΒΆ
A higher-order view function that provides an abstract/generic implementation of a common idiom or pattern found in view development.
See Class-based views.
- modelΒΆ
Models store your applicationβs data.
See Models.
- MTVΒΆ
βModel-template-viewβ; a software pattern, similar in style to MVC, but a better description of the way Django does things.
See the FAQ entry.
- MVCΒΆ
Model-view-controller; a software pattern. Django follows MVC to some extent.
- projectΒΆ
A Python package β i.e. a directory of code β that contains all the settings for an instance of Django. This would include database configuration, Django-specific options and application-specific settings.
- propertyΒΆ
Also known as βmanaged attributesβ, and a feature of Python since version 2.2. This is a neat way to implement attributes whose usage resembles attribute access, but whose implementation uses method calls.
See
property
.- querysetΒΆ
An object representing some set of rows to be fetched from the database.
See Making queries.
- slugΒΆ
A short label for something, containing only letters, numbers, underscores or hyphens. Theyβre generally used in URLs. For example, in a typical blog entry URL:
https://www.djangoproject.com/weblog/2008/apr/12/spring/
the last bit (
spring
) is the slug.- templateΒΆ
A chunk of text that acts as formatting for representing data. A template helps to abstract the presentation of data from the data itself.
See Templates.
- viewΒΆ
A function responsible for rendering a page.