glossary.txt 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. .. _glossary:
  2. ========
  3. Glossary
  4. ========
  5. .. glossary::
  6. field
  7. An attribute on a :term:`model`; a given field usually maps directly to
  8. a single database column.
  9. See :doc:`/topics/db/models`.
  10. generic view
  11. A higher-order :term:`view` function that provides an abstract/generic
  12. implementation of a common idiom or pattern found in view development.
  13. See :doc:`/topics/class-based-views/index`.
  14. model
  15. Models store your application's data.
  16. See :doc:`/topics/db/models`.
  17. MTV
  18. "Model-template-view"; a software pattern, similar in style to MVC, but
  19. a better description of the way Django does things.
  20. See :ref:`the FAQ entry <faq-mtv>`.
  21. MVC
  22. `Model-view-controller`__; a software pattern. Django :ref:`follows MVC
  23. to some extent <faq-mtv>`.
  24. __ http://en.wikipedia.org/wiki/Model-view-controller
  25. project
  26. A Python package -- i.e. a directory of code -- that contains all the
  27. settings for an instance of Django. This would include database
  28. configuration, Django-specific options and application-specific
  29. settings.
  30. property
  31. Also known as "managed attributes", and a feature of Python since
  32. version 2.2. This is a neat way to implement attributes whose usage
  33. resembles attribute access, but whose implementation uses method calls.
  34. See :func:`property`.
  35. queryset
  36. An object representing some set of rows to be fetched from the database.
  37. See :doc:`/topics/db/queries`.
  38. slug
  39. A short label for something, containing only letters, numbers,
  40. underscores or hyphens. They're generally used in URLs. For
  41. example, in a typical blog entry URL:
  42. .. parsed-literal::
  43. https://www.djangoproject.com/weblog/2008/apr/12/**spring**/
  44. the last bit (``spring``) is the slug.
  45. template
  46. A chunk of text that acts as formatting for representing data. A
  47. template helps to abstract the presentation of data from the data
  48. itself.
  49. See :doc:`/topics/templates`.
  50. view
  51. A function responsible for rending a page.