glossary.txt 2.3 KB

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