django / docs / glossary.txt

.. _glossary:


.. glossary::

        An attribute on a :term:`model`; a given field usually maps directly to
        a single database column.
        See :ref:`topics-db-models`.

    generic view
        A higher-order :term:`view` function that provides an abstract/generic
        implementation of a common idiom or pattern found in view development.
        See :ref:`ref-generic-views`.

        Models store your application's data.
        See :ref:`topics-db-models`.

        See :ref:`mtv`.

        `Model-view-controller`__; a software pattern. Django :ref:`follows MVC
        to some extent <mtv>`.


        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

        Also known as "managed attributes", and a feature of Python since
        version 2.2. From `the property documentation`__:
            Properties are a neat way to implement attributes whose usage
            resembles attribute access, but whose implementation uses method
            calls. [...] You
            could only do this by overriding ``__getattr__`` and
            ``__setattr__``; but overriding ``__setattr__`` slows down all
            attribute assignments considerably, and overriding ``__getattr__``
            is always a bit tricky to get right. Properties let you do this
            painlessly, without having to override ``__getattr__`` or


        An object representing some set of rows to be fetched from the database.
        See :ref:`topics-db-queries`.

        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:
        .. parsed-literal::
        the last bit (``spring``) is the slug.

        A chunk of text that acts as formatting for representing data. A
        template helps to abstract the presentation of data from the data
        See :ref:`topics-templates`.
        A function responsible for rending a page.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.