2008-08-24 00:25:40 +02:00
|
|
|
.. _glossary:
|
|
|
|
|
|
|
|
========
|
|
|
|
Glossary
|
|
|
|
========
|
|
|
|
|
|
|
|
.. glossary::
|
|
|
|
|
2014-09-08 14:41:59 +02:00
|
|
|
concrete model
|
|
|
|
A non-abstract (:attr:`abstract=False
|
|
|
|
<django.db.models.Options.abstract>`) model.
|
|
|
|
|
2008-08-24 00:25:40 +02:00
|
|
|
field
|
|
|
|
An attribute on a :term:`model`; a given field usually maps directly to
|
|
|
|
a single database column.
|
2010-08-19 21:27:44 +02:00
|
|
|
|
|
|
|
See :doc:`/topics/db/models`.
|
2008-08-24 00:25:40 +02:00
|
|
|
|
|
|
|
generic view
|
2009-04-01 01:34:03 +02:00
|
|
|
A higher-order :term:`view` function that provides an abstract/generic
|
|
|
|
implementation of a common idiom or pattern found in view development.
|
2010-08-19 21:27:44 +02:00
|
|
|
|
2012-06-11 10:34:00 +02:00
|
|
|
See :doc:`/topics/class-based-views/index`.
|
2008-08-24 00:25:40 +02:00
|
|
|
|
|
|
|
model
|
|
|
|
Models store your application's data.
|
2010-08-19 21:27:44 +02:00
|
|
|
|
|
|
|
See :doc:`/topics/db/models`.
|
2008-08-24 00:25:40 +02:00
|
|
|
|
|
|
|
MTV
|
2011-03-22 15:35:14 +01:00
|
|
|
"Model-template-view"; a software pattern, similar in style to MVC, but
|
|
|
|
a better description of the way Django does things.
|
|
|
|
|
|
|
|
See :ref:`the FAQ entry <faq-mtv>`.
|
2008-08-24 00:25:40 +02:00
|
|
|
|
|
|
|
MVC
|
|
|
|
`Model-view-controller`__; a software pattern. Django :ref:`follows MVC
|
2011-03-22 15:35:14 +01:00
|
|
|
to some extent <faq-mtv>`.
|
2008-08-24 00:25:40 +02:00
|
|
|
|
|
|
|
__ http://en.wikipedia.org/wiki/Model-view-controller
|
|
|
|
|
|
|
|
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
|
2011-09-04 23:17:30 +02:00
|
|
|
version 2.2. This is a neat way to implement attributes whose usage
|
|
|
|
resembles attribute access, but whose implementation uses method calls.
|
|
|
|
|
2014-10-17 02:00:17 +02:00
|
|
|
See :class:`property`.
|
2008-08-24 00:25:40 +02:00
|
|
|
|
|
|
|
queryset
|
|
|
|
An object representing some set of rows to be fetched from the database.
|
2010-08-19 21:27:44 +02:00
|
|
|
|
|
|
|
See :doc:`/topics/db/queries`.
|
2008-08-24 00:25:40 +02:00
|
|
|
|
|
|
|
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:
|
2010-08-19 21:27:44 +02:00
|
|
|
|
2008-08-24 00:25:40 +02:00
|
|
|
.. parsed-literal::
|
2010-08-19 21:27:44 +02:00
|
|
|
|
2012-03-13 18:53:31 +01:00
|
|
|
https://www.djangoproject.com/weblog/2008/apr/12/**spring**/
|
2010-08-19 21:27:44 +02:00
|
|
|
|
2008-08-24 00:25:40 +02:00
|
|
|
the last bit (``spring``) is the slug.
|
|
|
|
|
|
|
|
template
|
2009-04-01 01:34:03 +02:00
|
|
|
A chunk of text that acts as formatting for representing data. A
|
|
|
|
template helps to abstract the presentation of data from the data
|
|
|
|
itself.
|
2010-08-19 21:27:44 +02:00
|
|
|
|
|
|
|
See :doc:`/topics/templates`.
|
|
|
|
|
2008-08-24 00:25:40 +02:00
|
|
|
view
|
2014-03-02 17:05:57 +01:00
|
|
|
A function responsible for rendering a page.
|