Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update repo with pointer to new approach

  • Loading branch information...
commit d950e3f835360504089ace3d031f5028cfbb4ba1 1 parent a6c15cb
Patrick Altman paltman authored
Showing with 22 additions and 38,964 deletions.
  1. +0 −21 .gitignore
  2. +0 −71 AUTHORS
  3. +0 −22 LICENSE
  4. +0 −20 MANIFEST.in
  5. +0 −43 README
  6. +22 −0 README.md
  7. +0 −130 docs/Makefile
  8. +0 −3  docs/_themes/.gitignore
  9. +0 −45 docs/_themes/LICENSE
  10. +0 −25 docs/_themes/README.rst
  11. +0 −86 docs/_themes/flask_theme_support.py
  12. +0 −16 docs/_themes/kr/layout.html
  13. +0 −19 docs/_themes/kr/relations.html
  14. +0 −387 docs/_themes/kr/static/flasky.css_t
  15. +0 −70 docs/_themes/kr/static/small_flask.css
  16. +0 −7 docs/_themes/kr/theme.conf
  17. +0 −22 docs/_themes/kr_small/layout.html
  18. +0 −287 docs/_themes/kr_small/static/flasky.css_t
  19. +0 −10 docs/_themes/kr_small/theme.conf
  20. +0 −218 docs/conf.py
  21. +0 −115 docs/deployment.txt
  22. +0 −262 docs/development.txt
  23. +0 −153 docs/gettingstarted.txt
  24. +0 −49 docs/index.txt
  25. +0 −79 docs/intro.txt
  26. +0 −170 docs/make.bat
  27. +0 −144 docs/starterprojects.txt
  28. +0 −16 pinax/__init__.py
  29. 0  pinax/apps/__init__.py
  30. 0  pinax/apps/account/__init__.py
  31. +0 −11 pinax/apps/account/admin.py
  32. +0 −27 pinax/apps/account/auth_backends.py
  33. +0 −17 pinax/apps/account/context_processors.py
  34. +0 −490 pinax/apps/account/forms.py
  35. BIN  pinax/apps/account/locale/ar/LC_MESSAGES/django.mo
  36. +0 −1,908 pinax/apps/account/locale/ar/LC_MESSAGES/django.po
  37. BIN  pinax/apps/account/locale/bg/LC_MESSAGES/django.mo
  38. +0 −197 pinax/apps/account/locale/bg/LC_MESSAGES/django.po
  39. BIN  pinax/apps/account/locale/bn/LC_MESSAGES/django.mo
  40. +0 −197 pinax/apps/account/locale/bn/LC_MESSAGES/django.po
  41. BIN  pinax/apps/account/locale/bs/LC_MESSAGES/django.mo
  42. +0 −197 pinax/apps/account/locale/bs/LC_MESSAGES/django.po
  43. BIN  pinax/apps/account/locale/ca/LC_MESSAGES/django.mo
  44. +0 −198 pinax/apps/account/locale/ca/LC_MESSAGES/django.po
  45. BIN  pinax/apps/account/locale/cs/LC_MESSAGES/django.mo
  46. +0 −207 pinax/apps/account/locale/cs/LC_MESSAGES/django.po
  47. BIN  pinax/apps/account/locale/cy/LC_MESSAGES/django.mo
  48. +0 −197 pinax/apps/account/locale/cy/LC_MESSAGES/django.po
  49. BIN  pinax/apps/account/locale/da/LC_MESSAGES/django.mo
  50. +0 −197 pinax/apps/account/locale/da/LC_MESSAGES/django.po
  51. BIN  pinax/apps/account/locale/de/LC_MESSAGES/django.mo
  52. +0 −1,977 pinax/apps/account/locale/de/LC_MESSAGES/django.po
  53. BIN  pinax/apps/account/locale/el/LC_MESSAGES/django.mo
  54. +0 −198 pinax/apps/account/locale/el/LC_MESSAGES/django.po
  55. BIN  pinax/apps/account/locale/en/LC_MESSAGES/django.mo
  56. +0 −197 pinax/apps/account/locale/en/LC_MESSAGES/django.po
  57. BIN  pinax/apps/account/locale/es/LC_MESSAGES/django.mo
  58. +0 −2,640 pinax/apps/account/locale/es/LC_MESSAGES/django.po
  59. BIN  pinax/apps/account/locale/es_AR/LC_MESSAGES/django.mo
  60. +0 −198 pinax/apps/account/locale/es_AR/LC_MESSAGES/django.po
  61. BIN  pinax/apps/account/locale/et/LC_MESSAGES/django.mo
  62. +0 −197 pinax/apps/account/locale/et/LC_MESSAGES/django.po
  63. BIN  pinax/apps/account/locale/eu/LC_MESSAGES/django.mo
  64. +0 −197 pinax/apps/account/locale/eu/LC_MESSAGES/django.po
  65. BIN  pinax/apps/account/locale/fa/LC_MESSAGES/django.mo
  66. +0 −197 pinax/apps/account/locale/fa/LC_MESSAGES/django.po
  67. BIN  pinax/apps/account/locale/fi/LC_MESSAGES/django.mo
  68. +0 −198 pinax/apps/account/locale/fi/LC_MESSAGES/django.po
  69. BIN  pinax/apps/account/locale/fr/LC_MESSAGES/django.mo
  70. +0 −215 pinax/apps/account/locale/fr/LC_MESSAGES/django.po
  71. BIN  pinax/apps/account/locale/fy_NL/LC_MESSAGES/django.mo
  72. +0 −197 pinax/apps/account/locale/fy_NL/LC_MESSAGES/django.po
  73. BIN  pinax/apps/account/locale/ga/LC_MESSAGES/django.mo
  74. +0 −199 pinax/apps/account/locale/ga/LC_MESSAGES/django.po
  75. BIN  pinax/apps/account/locale/gl/LC_MESSAGES/django.mo
  76. +0 −197 pinax/apps/account/locale/gl/LC_MESSAGES/django.po
  77. BIN  pinax/apps/account/locale/he/LC_MESSAGES/django.mo
  78. +0 −1,202 pinax/apps/account/locale/he/LC_MESSAGES/django.po
  79. BIN  pinax/apps/account/locale/hi/LC_MESSAGES/django.mo
  80. +0 −197 pinax/apps/account/locale/hi/LC_MESSAGES/django.po
  81. BIN  pinax/apps/account/locale/hr/LC_MESSAGES/django.mo
  82. +0 −199 pinax/apps/account/locale/hr/LC_MESSAGES/django.po
  83. BIN  pinax/apps/account/locale/hu/LC_MESSAGES/django.mo
  84. +0 −198 pinax/apps/account/locale/hu/LC_MESSAGES/django.po
  85. BIN  pinax/apps/account/locale/is/LC_MESSAGES/django.mo
  86. +0 −198 pinax/apps/account/locale/is/LC_MESSAGES/django.po
  87. BIN  pinax/apps/account/locale/it/LC_MESSAGES/django.mo
  88. +0 −2,159 pinax/apps/account/locale/it/LC_MESSAGES/django.po
  89. BIN  pinax/apps/account/locale/ja/LC_MESSAGES/django.mo
  90. +0 −198 pinax/apps/account/locale/ja/LC_MESSAGES/django.po
  91. BIN  pinax/apps/account/locale/ka/LC_MESSAGES/django.mo
  92. +0 −197 pinax/apps/account/locale/ka/LC_MESSAGES/django.po
  93. BIN  pinax/apps/account/locale/km/LC_MESSAGES/django.mo
  94. +0 −198 pinax/apps/account/locale/km/LC_MESSAGES/django.po
  95. BIN  pinax/apps/account/locale/kn/LC_MESSAGES/django.mo
  96. +0 −197 pinax/apps/account/locale/kn/LC_MESSAGES/django.po
  97. BIN  pinax/apps/account/locale/ko/LC_MESSAGES/django.mo
  98. +0 −197 pinax/apps/account/locale/ko/LC_MESSAGES/django.po
  99. BIN  pinax/apps/account/locale/lt/LC_MESSAGES/django.mo
  100. +0 −197 pinax/apps/account/locale/lt/LC_MESSAGES/django.po
  101. BIN  pinax/apps/account/locale/lv/LC_MESSAGES/django.mo
  102. +0 −197 pinax/apps/account/locale/lv/LC_MESSAGES/django.po
  103. BIN  pinax/apps/account/locale/mk/LC_MESSAGES/django.mo
  104. +0 −198 pinax/apps/account/locale/mk/LC_MESSAGES/django.po
  105. BIN  pinax/apps/account/locale/nl/LC_MESSAGES/django.mo
  106. +0 −198 pinax/apps/account/locale/nl/LC_MESSAGES/django.po
  107. BIN  pinax/apps/account/locale/no/LC_MESSAGES/django.mo
  108. +0 −197 pinax/apps/account/locale/no/LC_MESSAGES/django.po
  109. BIN  pinax/apps/account/locale/pl/LC_MESSAGES/django.mo
  110. +0 −199 pinax/apps/account/locale/pl/LC_MESSAGES/django.po
  111. BIN  pinax/apps/account/locale/pt/LC_MESSAGES/django.mo
  112. +0 −197 pinax/apps/account/locale/pt/LC_MESSAGES/django.po
  113. BIN  pinax/apps/account/locale/pt_BR/LC_MESSAGES/django.mo
  114. +0 −1,484 pinax/apps/account/locale/pt_BR/LC_MESSAGES/django.po
  115. BIN  pinax/apps/account/locale/ro/LC_MESSAGES/django.mo
  116. +0 −198 pinax/apps/account/locale/ro/LC_MESSAGES/django.po
  117. BIN  pinax/apps/account/locale/ru/LC_MESSAGES/django.mo
  118. +0 −209 pinax/apps/account/locale/ru/LC_MESSAGES/django.po
  119. BIN  pinax/apps/account/locale/sk/LC_MESSAGES/django.mo
  120. +0 −198 pinax/apps/account/locale/sk/LC_MESSAGES/django.po
  121. BIN  pinax/apps/account/locale/sl/LC_MESSAGES/django.mo
  122. +0 −199 pinax/apps/account/locale/sl/LC_MESSAGES/django.po
  123. BIN  pinax/apps/account/locale/sq/LC_MESSAGES/django.mo
  124. +0 −197 pinax/apps/account/locale/sq/LC_MESSAGES/django.po
  125. BIN  pinax/apps/account/locale/sr/LC_MESSAGES/django.mo
  126. +0 −199 pinax/apps/account/locale/sr/LC_MESSAGES/django.po
  127. BIN  pinax/apps/account/locale/sr_Latn/LC_MESSAGES/django.mo
  128. +0 −199 pinax/apps/account/locale/sr_Latn/LC_MESSAGES/django.po
  129. BIN  pinax/apps/account/locale/sv/LC_MESSAGES/django.mo
  130. +0 −2,140 pinax/apps/account/locale/sv/LC_MESSAGES/django.po
  131. BIN  pinax/apps/account/locale/ta/LC_MESSAGES/django.mo
  132. +0 −259 pinax/apps/account/locale/ta/LC_MESSAGES/django.po
  133. BIN  pinax/apps/account/locale/te/LC_MESSAGES/django.mo
  134. +0 −198 pinax/apps/account/locale/te/LC_MESSAGES/django.po
  135. BIN  pinax/apps/account/locale/th/LC_MESSAGES/django.mo
  136. +0 −198 pinax/apps/account/locale/th/LC_MESSAGES/django.po
  137. BIN  pinax/apps/account/locale/tr/LC_MESSAGES/django.mo
  138. +0 −198 pinax/apps/account/locale/tr/LC_MESSAGES/django.po
  139. BIN  pinax/apps/account/locale/uk/LC_MESSAGES/django.mo
  140. +0 −197 pinax/apps/account/locale/uk/LC_MESSAGES/django.po
  141. BIN  pinax/apps/account/locale/vi/LC_MESSAGES/django.mo
  142. +0 −198 pinax/apps/account/locale/vi/LC_MESSAGES/django.po
  143. BIN  pinax/apps/account/locale/zh_CN/LC_MESSAGES/django.mo
  144. +0 −198 pinax/apps/account/locale/zh_CN/LC_MESSAGES/django.po
  145. BIN  pinax/apps/account/locale/zh_TW/LC_MESSAGES/django.mo
  146. +0 −198 pinax/apps/account/locale/zh_TW/LC_MESSAGES/django.po
  147. +0 −62 pinax/apps/account/middleware.py
  148. +0 −89 pinax/apps/account/models.py
  149. +0 −160 pinax/apps/account/openid_consumer.py
  150. +0 −11 pinax/apps/account/signals.py
  151. BIN  pinax/apps/account/static/images/openid-icon.png
  152. +0 −1  pinax/apps/account/templatetags/__init__.py
  153. +0 −51 pinax/apps/account/templatetags/account_tags.py
  154. +0 −40 pinax/apps/account/templatetags/openid_tags.py
  155. +0 −2  pinax/apps/account/tests/__init__.py
  156. +0 −7 pinax/apps/account/tests/account_urls.py
  157. +0 −79 pinax/apps/account/tests/test_change_password.py
  158. +0 −196 pinax/apps/account/tests/test_password_reset.py
  159. +0 −27 pinax/apps/account/urls.py
  160. +0 −53 pinax/apps/account/utils.py
  161. +0 −458 pinax/apps/account/views.py
  162. 0  pinax/apps/signup_codes/__init__.py
  163. +0 −12 pinax/apps/signup_codes/admin.py
  164. +0 −37 pinax/apps/signup_codes/forms.py
  165. BIN  pinax/apps/signup_codes/locale/ar/LC_MESSAGES/django.mo
  166. +0 −1,817 pinax/apps/signup_codes/locale/ar/LC_MESSAGES/django.po
  167. BIN  pinax/apps/signup_codes/locale/bg/LC_MESSAGES/django.mo
  168. +0 −31 pinax/apps/signup_codes/locale/bg/LC_MESSAGES/django.po
  169. BIN  pinax/apps/signup_codes/locale/bn/LC_MESSAGES/django.mo
  170. +0 −31 pinax/apps/signup_codes/locale/bn/LC_MESSAGES/django.po
  171. BIN  pinax/apps/signup_codes/locale/bs/LC_MESSAGES/django.mo
  172. +0 −31 pinax/apps/signup_codes/locale/bs/LC_MESSAGES/django.po
  173. BIN  pinax/apps/signup_codes/locale/ca/LC_MESSAGES/django.mo
  174. +0 −32 pinax/apps/signup_codes/locale/ca/LC_MESSAGES/django.po
  175. BIN  pinax/apps/signup_codes/locale/cs/LC_MESSAGES/django.mo
  176. +0 −32 pinax/apps/signup_codes/locale/cs/LC_MESSAGES/django.po
  177. BIN  pinax/apps/signup_codes/locale/cy/LC_MESSAGES/django.mo
  178. +0 −31 pinax/apps/signup_codes/locale/cy/LC_MESSAGES/django.po
  179. BIN  pinax/apps/signup_codes/locale/da/LC_MESSAGES/django.mo
  180. +0 −31 pinax/apps/signup_codes/locale/da/LC_MESSAGES/django.po
  181. BIN  pinax/apps/signup_codes/locale/de/LC_MESSAGES/django.mo
  182. +0 −1,871 pinax/apps/signup_codes/locale/de/LC_MESSAGES/django.po
  183. BIN  pinax/apps/signup_codes/locale/el/LC_MESSAGES/django.mo
  184. +0 −32 pinax/apps/signup_codes/locale/el/LC_MESSAGES/django.po
  185. BIN  pinax/apps/signup_codes/locale/en/LC_MESSAGES/django.mo
  186. +0 −31 pinax/apps/signup_codes/locale/en/LC_MESSAGES/django.po
  187. BIN  pinax/apps/signup_codes/locale/es/LC_MESSAGES/django.mo
  188. +0 −2,544 pinax/apps/signup_codes/locale/es/LC_MESSAGES/django.po
  189. BIN  pinax/apps/signup_codes/locale/es_AR/LC_MESSAGES/django.mo
  190. +0 −32 pinax/apps/signup_codes/locale/es_AR/LC_MESSAGES/django.po
  191. BIN  pinax/apps/signup_codes/locale/et/LC_MESSAGES/django.mo
  192. +0 −31 pinax/apps/signup_codes/locale/et/LC_MESSAGES/django.po
  193. BIN  pinax/apps/signup_codes/locale/eu/LC_MESSAGES/django.mo
  194. +0 −31 pinax/apps/signup_codes/locale/eu/LC_MESSAGES/django.po
  195. BIN  pinax/apps/signup_codes/locale/fa/LC_MESSAGES/django.mo
  196. +0 −31 pinax/apps/signup_codes/locale/fa/LC_MESSAGES/django.po
  197. BIN  pinax/apps/signup_codes/locale/fi/LC_MESSAGES/django.mo
  198. +0 −32 pinax/apps/signup_codes/locale/fi/LC_MESSAGES/django.po
  199. BIN  pinax/apps/signup_codes/locale/fr/LC_MESSAGES/django.mo
  200. +0 −3,363 pinax/apps/signup_codes/locale/fr/LC_MESSAGES/django.po
  201. BIN  pinax/apps/signup_codes/locale/fy_NL/LC_MESSAGES/django.mo
  202. +0 −31 pinax/apps/signup_codes/locale/fy_NL/LC_MESSAGES/django.po
  203. BIN  pinax/apps/signup_codes/locale/ga/LC_MESSAGES/django.mo
  204. +0 −33 pinax/apps/signup_codes/locale/ga/LC_MESSAGES/django.po
  205. BIN  pinax/apps/signup_codes/locale/gl/LC_MESSAGES/django.mo
  206. +0 −31 pinax/apps/signup_codes/locale/gl/LC_MESSAGES/django.po
  207. BIN  pinax/apps/signup_codes/locale/he/LC_MESSAGES/django.mo
  208. +0 −1,092 pinax/apps/signup_codes/locale/he/LC_MESSAGES/django.po
  209. BIN  pinax/apps/signup_codes/locale/hi/LC_MESSAGES/django.mo
  210. +0 −31 pinax/apps/signup_codes/locale/hi/LC_MESSAGES/django.po
  211. BIN  pinax/apps/signup_codes/locale/hr/LC_MESSAGES/django.mo
  212. +0 −33 pinax/apps/signup_codes/locale/hr/LC_MESSAGES/django.po
  213. BIN  pinax/apps/signup_codes/locale/hu/LC_MESSAGES/django.mo
  214. +0 −32 pinax/apps/signup_codes/locale/hu/LC_MESSAGES/django.po
  215. BIN  pinax/apps/signup_codes/locale/is/LC_MESSAGES/django.mo
  216. +0 −32 pinax/apps/signup_codes/locale/is/LC_MESSAGES/django.po
  217. BIN  pinax/apps/signup_codes/locale/it/LC_MESSAGES/django.mo
Sorry, we could not display the entire diff because too many files (827) changed.
21 .gitignore
View
@@ -1,21 +0,0 @@
-*.py[co]
-*.egg
-*.egg-info
-dist
-build
-eggs
-parts
-bin
-develop-eggs
-.installed.cfg
-pip-log.txt
-.coverage
-.tox
-
-docs/.build
-docs/_build
-
-dev*.db
-*.log
-*.pot
-local_settings.py
71 AUTHORS
View
@@ -1,71 +0,0 @@
-Pinax was started by James Tauber in May 2008.
-
-The PRIMARY AUTHORS are (and/or have been):
-
- * James Tauber
- * Brian Rosner
- * Jannis Leidel
- * Patrick Altman
- * Luke Hatcher
- * Danny Greenfeld
- * Martin Mahner
- * Greg Newman
- * Eric Florenzano
-
-
-ADDITIONAL CONTRIBUTORS include:
-
- * Eduardo de Oliveira Padoan
- * Doug Napoleone
- * Michael Trier
- * Alex Gaynor
- * Bob Haugen
- * Robert Ramírez Vique
- * Frédéric Roland
- * Jens Persson
- * Gil Klein
- * Fabian Neumann
- * Henrik Vendelbo
- * Beshr Kayali
- * Nicola Larosa
- * Rajeev Sebastian
- * Rock Howard
- * Michael Schneider
- * Stephan Jäkel
- * Horst Gutmann
- * Ahmad Al-Ibrahim
- * Jesper Nøhr
- * Jonas Nockert
- * Sebastian Hillig
- * Markus Zapke-Gründemann
- * Curt Micol
- * Mikkel Høgh
- * Skylar Saveland
- * Manuel Meyer
- * Chris Shenton
- * Nicholas Tollervey
- * Klynton Jessup
- * Chris Adams
- * Anders Pearson
- * Fernando Correia
- * Fidel Ramos Sañudo
- * Kenneth Belitzky
- * Justin Lilly
- * John Debs
- * Andrii Kurinnyi
- * John Debs
- * Bruno Renié
- * Piotr Kasprzyk
- * Suno Ano
- * Dylan Clendenin
- * Jakob Torp Svendsen
- * Kenny Shen
- * Richard House
- * Matthew Jacobi
- * Tom Brander
- * Donald Stufft
- * Bojan Mihelac
- * winhamwr
- * Issac Kelly
- * Nathan Duthoit
- * Darii Denis
22 LICENSE
View
@@ -1,22 +0,0 @@
-Copyright (c) 2008-2011 James Tauber and contributors.
-
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation
-files (the "Software"), to deal in the Software without
-restriction, including without limitation the rights to use,
-copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following
-conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
20 MANIFEST.in
View
@@ -1,20 +0,0 @@
-include AUTHORS
-include LICENSE
-include README
-include CHANGELOG
-
-recursive-include docs *
-
-recursive-include pinax/locale *.po *.mo
-
-recursive-include pinax/apps/*/fixtures *
-recursive-include pinax/apps/*/locale *.po *.mo
-recursive-include pinax/apps/*/templates *
-recursive-include pinax/apps/*/static *
-
-recursive-include pinax/projects/*/fixtures *
-recursive-include pinax/projects/*/locale *.po *.mo
-recursive-include pinax/projects/*/static *
-recursive-include pinax/projects/*/requirements *
-recursive-include pinax/projects/*/templates *
-recursive-include pinax/projects/*/apps/*/templates *
43 README
View
@@ -1,43 +0,0 @@
-Pinax: a platform for rapidly developing websites
-http://pinaxproject.com/
-
-Pinax is an MIT-licensed, open-source platform built on the Django Web
-Framework.
-
-By integrating numerous reusable Django apps and providing starter projects
-and infrastructure tools, Pinax takes care of the things that many sites
-have in common so you can focus on what makes your site different.
-
-Pinax has been used for everything from social networks to corporate websites
-and from intranets to online games. We are also working on number of editions
-tailored to event management, learning management, software project management
-and more.
-
-
-Most discussion about Pinax takes place on the IRC channel #pinax on
-Freenode or the pinax-users mailing list on Google Groups.
-
-
-INSTALLATION
-
-We have documented how to get started with Pinax on our website:
-
- http://pinaxproject.com/docs/dev/gettingstarted.html
-
-
-BUGS
-
-If you think you have discovered a bug in Pinax you should report it! We keep
-track of all bugs and features at http://code.pinaxproject.com/. Create an
-account and report the bug with as much information to help us reproduce it.
-
-
-FOLLOWING ALONG
-
-If you would like to keep up with current Pinax news/happenings you can follow
-our Twitter accounts:
-
- * @pinaxproject — http://twitter.com/pinaxproject — news/happenings going on
- in the Pinax development/community.
- * @pinaxtracker — http://twitter.com/pinaxtracker — each commit published
- as a tweet to stay the most up-to-date.
22 README.md
View
@@ -0,0 +1,22 @@
+# pinax
+
+Pinax has always been about a larger ecosystem of reusable apps. Now that
+Django supports the notion of project templates, there is no longer a
+need for Pinax's version of the infrastructure to support what we call
+the starter project.
+
+Pinax is an ecosystem of reusable Django apps, themes, and starter project
+templates.
+
+This collection can be found at [http://pinax.github.com](http://pinax.github.com).
+
+To give you an example of how one would use Pinax now to start a new
+site based on the [Account Starter Project](https://github.com/pinax/pinax-project-account) follow these steps in your shell:
+
+ $ mkvirtualenv mysite
+ $ pip install Django==1.4
+ $ mkdir mysite && cd mysite
+ $ django-admin.py startproject mysite --template=https://github.com/pinax/pinax-project-account/zipball/master .
+ $ pip install -r requirements.txt
+ $ python manage.py syncdb
+ $ python manage.py runserver
130 docs/Makefile
View
@@ -1,130 +0,0 @@
-# Makefile for Sphinx documentation
-#
-
-# You can set these variables from the command line.
-SPHINXOPTS =
-SPHINXBUILD = sphinx-build
-PAPER =
-BUILDDIR = _build
-
-# Internal variables.
-PAPEROPT_a4 = -D latex_paper_size=a4
-PAPEROPT_letter = -D latex_paper_size=letter
-ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
-
-.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest
-
-help:
- @echo "Please use \`make <target>' where <target> is one of"
- @echo " html to make standalone HTML files"
- @echo " dirhtml to make HTML files named index.html in directories"
- @echo " singlehtml to make a single large HTML file"
- @echo " pickle to make pickle files"
- @echo " json to make JSON files"
- @echo " htmlhelp to make HTML files and a HTML help project"
- @echo " qthelp to make HTML files and a qthelp project"
- @echo " devhelp to make HTML files and a Devhelp project"
- @echo " epub to make an epub"
- @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
- @echo " latexpdf to make LaTeX files and run them through pdflatex"
- @echo " text to make text files"
- @echo " man to make manual pages"
- @echo " changes to make an overview of all changed/added/deprecated items"
- @echo " linkcheck to check all external links for integrity"
- @echo " doctest to run all doctests embedded in the documentation (if enabled)"
-
-clean:
- -rm -rf $(BUILDDIR)/*
-
-html:
- $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
- @echo
- @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
-
-dirhtml:
- $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
- @echo
- @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
-
-singlehtml:
- $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
- @echo
- @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
-
-pickle:
- $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
- @echo
- @echo "Build finished; now you can process the pickle files."
-
-json:
- $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
- @echo
- @echo "Build finished; now you can process the JSON files."
-
-htmlhelp:
- $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
- @echo
- @echo "Build finished; now you can run HTML Help Workshop with the" \
- ".hhp project file in $(BUILDDIR)/htmlhelp."
-
-qthelp:
- $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
- @echo
- @echo "Build finished; now you can run "qcollectiongenerator" with the" \
- ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
- @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/Pinax.qhcp"
- @echo "To view the help file:"
- @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/Pinax.qhc"
-
-devhelp:
- $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
- @echo
- @echo "Build finished."
- @echo "To view the help file:"
- @echo "# mkdir -p $$HOME/.local/share/devhelp/Pinax"
- @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/Pinax"
- @echo "# devhelp"
-
-epub:
- $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
- @echo
- @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
-
-latex:
- $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
- @echo
- @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
- @echo "Run \`make' in that directory to run these through (pdf)latex" \
- "(use \`make latexpdf' here to do that automatically)."
-
-latexpdf:
- $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
- @echo "Running LaTeX files through pdflatex..."
- make -C $(BUILDDIR)/latex all-pdf
- @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
-
-text:
- $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
- @echo
- @echo "Build finished. The text files are in $(BUILDDIR)/text."
-
-man:
- $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
- @echo
- @echo "Build finished. The manual pages are in $(BUILDDIR)/man."
-
-changes:
- $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
- @echo
- @echo "The overview file is in $(BUILDDIR)/changes."
-
-linkcheck:
- $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
- @echo
- @echo "Link check complete; look for any errors in the above output " \
- "or in $(BUILDDIR)/linkcheck/output.txt."
-
-doctest:
- $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
- @echo "Testing of doctests in the sources finished, look at the " \
- "results in $(BUILDDIR)/doctest/output.txt."
3  docs/_themes/.gitignore
View
@@ -1,3 +0,0 @@
-*.pyc
-*.pyo
-.DS_Store
45 docs/_themes/LICENSE
View
@@ -1,45 +0,0 @@
-Modifications:
-
-Copyright (c) 2010 Kenneth Reitz.
-
-
-Original Project:
-
-Copyright (c) 2010 by Armin Ronacher.
-
-
-Some rights reserved.
-
-Redistribution and use in source and binary forms of the theme, with or
-without modification, are permitted provided that the following conditions
-are met:
-
-* Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
-* Redistributions in binary form must reproduce the above
- copyright notice, this list of conditions and the following
- disclaimer in the documentation and/or other materials provided
- with the distribution.
-
-* The names of the contributors may not be used to endorse or
- promote products derived from this software without specific
- prior written permission.
-
-We kindly ask you to only use these themes in an unmodified manner just
-for Flask and Flask-related products, not for unrelated projects. If you
-like the visual style and want to use it for your own projects, please
-consider making some larger changes to the themes (such as changing
-font faces, sizes, colors or margins).
-
-THIS THEME IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS THEME, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
25 docs/_themes/README.rst
View
@@ -1,25 +0,0 @@
-krTheme Sphinx Style
-====================
-
-This repository contains sphinx styles Kenneth Reitz uses in most of
-his projects. It is a drivative of Mitsuhiko's themes for Flask and Flask related
-projects. To use this style in your Sphinx documentation, follow
-this guide:
-
-1. put this folder as _themes into your docs folder. Alternatively
- you can also use git submodules to check out the contents there.
-
-2. add this to your conf.py: ::
-
- sys.path.append(os.path.abspath('_themes'))
- html_theme_path = ['_themes']
- html_theme = 'flask'
-
-The following themes exist:
-
-**kr**
- the standard flask documentation theme for large projects
-
-**kr_small**
- small one-page theme. Intended to be used by very small addon libraries.
-
86 docs/_themes/flask_theme_support.py
View
@@ -1,86 +0,0 @@
-# flasky extensions. flasky pygments style based on tango style
-from pygments.style import Style
-from pygments.token import Keyword, Name, Comment, String, Error, \
- Number, Operator, Generic, Whitespace, Punctuation, Other, Literal
-
-
-class FlaskyStyle(Style):
- background_color = "#f8f8f8"
- default_style = ""
-
- styles = {
- # No corresponding class for the following:
- #Text: "", # class: ''
- Whitespace: "underline #f8f8f8", # class: 'w'
- Error: "#a40000 border:#ef2929", # class: 'err'
- Other: "#000000", # class 'x'
-
- Comment: "italic #8f5902", # class: 'c'
- Comment.Preproc: "noitalic", # class: 'cp'
-
- Keyword: "bold #004461", # class: 'k'
- Keyword.Constant: "bold #004461", # class: 'kc'
- Keyword.Declaration: "bold #004461", # class: 'kd'
- Keyword.Namespace: "bold #004461", # class: 'kn'
- Keyword.Pseudo: "bold #004461", # class: 'kp'
- Keyword.Reserved: "bold #004461", # class: 'kr'
- Keyword.Type: "bold #004461", # class: 'kt'
-
- Operator: "#582800", # class: 'o'
- Operator.Word: "bold #004461", # class: 'ow' - like keywords
-
- Punctuation: "bold #000000", # class: 'p'
-
- # because special names such as Name.Class, Name.Function, etc.
- # are not recognized as such later in the parsing, we choose them
- # to look the same as ordinary variables.
- Name: "#000000", # class: 'n'
- Name.Attribute: "#c4a000", # class: 'na' - to be revised
- Name.Builtin: "#004461", # class: 'nb'
- Name.Builtin.Pseudo: "#3465a4", # class: 'bp'
- Name.Class: "#000000", # class: 'nc' - to be revised
- Name.Constant: "#000000", # class: 'no' - to be revised
- Name.Decorator: "#888", # class: 'nd' - to be revised
- Name.Entity: "#ce5c00", # class: 'ni'
- Name.Exception: "bold #cc0000", # class: 'ne'
- Name.Function: "#000000", # class: 'nf'
- Name.Property: "#000000", # class: 'py'
- Name.Label: "#f57900", # class: 'nl'
- Name.Namespace: "#000000", # class: 'nn' - to be revised
- Name.Other: "#000000", # class: 'nx'
- Name.Tag: "bold #004461", # class: 'nt' - like a keyword
- Name.Variable: "#000000", # class: 'nv' - to be revised
- Name.Variable.Class: "#000000", # class: 'vc' - to be revised
- Name.Variable.Global: "#000000", # class: 'vg' - to be revised
- Name.Variable.Instance: "#000000", # class: 'vi' - to be revised
-
- Number: "#990000", # class: 'm'
-
- Literal: "#000000", # class: 'l'
- Literal.Date: "#000000", # class: 'ld'
-
- String: "#4e9a06", # class: 's'
- String.Backtick: "#4e9a06", # class: 'sb'
- String.Char: "#4e9a06", # class: 'sc'
- String.Doc: "italic #8f5902", # class: 'sd' - like a comment
- String.Double: "#4e9a06", # class: 's2'
- String.Escape: "#4e9a06", # class: 'se'
- String.Heredoc: "#4e9a06", # class: 'sh'
- String.Interpol: "#4e9a06", # class: 'si'
- String.Other: "#4e9a06", # class: 'sx'
- String.Regex: "#4e9a06", # class: 'sr'
- String.Single: "#4e9a06", # class: 's1'
- String.Symbol: "#4e9a06", # class: 'ss'
-
- Generic: "#000000", # class: 'g'
- Generic.Deleted: "#a40000", # class: 'gd'
- Generic.Emph: "italic #000000", # class: 'ge'
- Generic.Error: "#ef2929", # class: 'gr'
- Generic.Heading: "bold #000080", # class: 'gh'
- Generic.Inserted: "#00A000", # class: 'gi'
- Generic.Output: "#888", # class: 'go'
- Generic.Prompt: "#745334", # class: 'gp'
- Generic.Strong: "bold #000000", # class: 'gs'
- Generic.Subheading: "bold #800080", # class: 'gu'
- Generic.Traceback: "bold #a40000", # class: 'gt'
- }
16 docs/_themes/kr/layout.html
View
@@ -1,16 +0,0 @@
-{%- extends "basic/layout.html" %}
-{%- block extrahead %}
- {{ super() }}
- {% if theme_touch_icon %}
- <link rel="apple-touch-icon" href="{{ pathto('_static/' ~ theme_touch_icon, 1) }}" />
- {% endif %}
- <link media="only screen and (max-device-width: 480px)" href="{{
- pathto('_static/small_flask.css', 1) }}" type= "text/css" rel="stylesheet" />
-{% endblock %}
-{%- block relbar2 %}{% endblock %}
-{%- block footer %}
- <div class="footer">
- &copy; Copyright {{ copyright }}.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a>.
- </div>
-{%- endblock %}
19 docs/_themes/kr/relations.html
View
@@ -1,19 +0,0 @@
-<h3>Related Topics</h3>
-<ul>
- <li><a href="{{ pathto(master_doc) }}">Documentation overview</a><ul>
- {%- for parent in parents %}
- <li><a href="{{ parent.link|e }}">{{ parent.title }}</a><ul>
- {%- endfor %}
- {%- if prev %}
- <li>Previous: <a href="{{ prev.link|e }}" title="{{ _('previous chapter')
- }}">{{ prev.title }}</a></li>
- {%- endif %}
- {%- if next %}
- <li>Next: <a href="{{ next.link|e }}" title="{{ _('next chapter')
- }}">{{ next.title }}</a></li>
- {%- endif %}
- {%- for parent in parents %}
- </ul></li>
- {%- endfor %}
- </ul></li>
-</ul>
387 docs/_themes/kr/static/flasky.css_t
View
@@ -1,387 +0,0 @@
-/*
- * flasky.css_t
- * ~~~~~~~~~~~~
- *
- * :copyright: Copyright 2010 by Armin Ronacher. Modifications by Kenneth Reitz.
- * :license: Flask Design License, see LICENSE for details.
- */
-
-{% set page_width = '940px' %}
-{% set sidebar_width = '220px' %}
-
-@import url("basic.css");
-
-/* -- page layout ----------------------------------------------------------- */
-
-body {
- font-family: 'goudy old style', 'minion pro', 'bell mt', Georgia, 'Hiragino Mincho Pro';
- font-size: 17px;
- background-color: white;
- color: #000;
- margin: 0;
- padding: 0;
-}
-
-div.document {
- width: {{ page_width }};
- margin: 30px auto 0 auto;
-}
-
-div.documentwrapper {
- float: left;
- width: 100%;
-}
-
-div.bodywrapper {
- margin: 0 0 0 {{ sidebar_width }};
-}
-
-div.sphinxsidebar {
- width: {{ sidebar_width }};
-}
-
-hr {
- border: 1px solid #B1B4B6;
-}
-
-div.body {
- background-color: #ffffff;
- color: #3E4349;
- padding: 0 30px 0 30px;
-}
-
-img.floatingflask {
- padding: 0 0 10px 10px;
- float: right;
-}
-
-div.footer {
- width: {{ page_width }};
- margin: 20px auto 30px auto;
- font-size: 14px;
- color: #888;
- text-align: right;
-}
-
-div.footer a {
- color: #888;
-}
-
-div.related {
- display: none;
-}
-
-div.sphinxsidebar a {
- color: #444;
- text-decoration: none;
- border-bottom: 1px dotted #999;
-}
-
-div.sphinxsidebar a:hover {
- border-bottom: 1px solid #999;
-}
-
-div.sphinxsidebar {
- font-size: 14px;
- line-height: 1.5;
-}
-
-div.sphinxsidebarwrapper {
- padding: 18px 10px;
-}
-
-div.sphinxsidebarwrapper p.logo {
- padding: 0 0 20px 0;
- margin: 0;
- text-align: center;
-}
-
-div.sphinxsidebar h3,
-div.sphinxsidebar h4 {
- font-family: 'Garamond', 'Georgia', serif;
- color: #444;
- font-size: 24px;
- font-weight: normal;
- margin: 0 0 5px 0;
- padding: 0;
-}
-
-div.sphinxsidebar h4 {
- font-size: 20px;
-}
-
-div.sphinxsidebar h3 a {
- color: #444;
-}
-
-div.sphinxsidebar p.logo a,
-div.sphinxsidebar h3 a,
-div.sphinxsidebar p.logo a:hover,
-div.sphinxsidebar h3 a:hover {
- border: none;
-}
-
-div.sphinxsidebar p {
- color: #555;
- margin: 10px 0;
-}
-
-div.sphinxsidebar ul {
- margin: 10px 0;
- padding: 0;
- color: #000;
-}
-
-div.sphinxsidebar input {
- border: 1px solid #ccc;
- font-family: 'Georgia', serif;
- font-size: 1em;
-}
-
-/* -- body styles ----------------------------------------------------------- */
-
-a {
- color: #004B6B;
- text-decoration: underline;
-}
-
-a:hover {
- color: #6D4100;
- text-decoration: underline;
-}
-
-div.body h1,
-div.body h2,
-div.body h3,
-div.body h4,
-div.body h5,
-div.body h6 {
- font-family: 'Garamond', 'Georgia', serif;
- font-weight: normal;
- margin: 30px 0px 10px 0px;
- padding: 0;
-}
-
-div.body h1 { margin-top: 0; padding-top: 0; font-size: 240%; }
-div.body h2 { font-size: 180%; }
-div.body h3 { font-size: 150%; }
-div.body h4 { font-size: 130%; }
-div.body h5 { font-size: 100%; }
-div.body h6 { font-size: 100%; }
-
-a.headerlink {
- color: #ddd;
- padding: 0 4px;
- text-decoration: none;
-}
-
-a.headerlink:hover {
- color: #444;
- background: #eaeaea;
-}
-
-div.body p, div.body dd, div.body li {
- line-height: 1.4em;
-}
-
-div.admonition {
- background: #fafafa;
- margin: 20px -30px;
- padding: 10px 30px;
- border-top: 1px solid #ccc;
- border-bottom: 1px solid #ccc;
-}
-
-div.admonition tt.xref, div.admonition a tt {
- border-bottom: 1px solid #fafafa;
-}
-
-dd div.admonition {
- margin-left: -60px;
- padding-left: 60px;
-}
-
-div.admonition p.admonition-title {
- font-family: 'Garamond', 'Georgia', serif;
- font-weight: normal;
- font-size: 24px;
- margin: 0 0 10px 0;
- padding: 0;
- line-height: 1;
-}
-
-div.admonition p.last {
- margin-bottom: 0;
-}
-
-div.highlight {
- background-color: white;
-}
-
-dt:target, .highlight {
- background: #FAF3E8;
-}
-
-div.note {
- background-color: #eee;
- border: 1px solid #ccc;
-}
-
-div.seealso {
- background-color: #ffc;
- border: 1px solid #ff6;
-}
-
-div.topic {
- background-color: #eee;
-}
-
-p.admonition-title {
- display: inline;
-}
-
-p.admonition-title:after {
- content: ":";
-}
-
-pre, tt {
- font-family: 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
- font-size: 0.9em;
-}
-
-img.screenshot {
-}
-
-tt.descname, tt.descclassname {
- font-size: 0.95em;
-}
-
-tt.descname {
- padding-right: 0.08em;
-}
-
-img.screenshot {
- -moz-box-shadow: 2px 2px 4px #eee;
- -webkit-box-shadow: 2px 2px 4px #eee;
- box-shadow: 2px 2px 4px #eee;
-}
-
-table.docutils {
- border: 1px solid #888;
- -moz-box-shadow: 2px 2px 4px #eee;
- -webkit-box-shadow: 2px 2px 4px #eee;
- box-shadow: 2px 2px 4px #eee;
-}
-
-table.docutils td, table.docutils th {
- border: 1px solid #888;
- padding: 0.25em 0.7em;
-}
-
-table.field-list, table.footnote {
- border: none;
- -moz-box-shadow: none;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-table.footnote {
- margin: 15px 0;
- width: 100%;
- border: 1px solid #eee;
- background: #fdfdfd;
- font-size: 0.9em;
-}
-
-table.footnote + table.footnote {
- margin-top: -15px;
- border-top: none;
-}
-
-table.field-list th {
- padding: 0 0.8em 0 0;
-}
-
-table.field-list td {
- padding: 0;
-}
-
-table.footnote td.label {
- width: 0px;
- padding: 0.3em 0 0.3em 0.5em;
-}
-
-table.footnote td {
- padding: 0.3em 0.5em;
-}
-
-dl {
- margin: 0;
- padding: 0;
-}
-
-dl dd {
- margin-left: 30px;
-}
-
-blockquote {
- margin: 0 0 0 30px;
- padding: 0;
-}
-
-ul, ol {
- margin: 10px 0 10px 30px;
- padding: 0;
-}
-
-pre {
- background: #eee;
- padding: 7px 30px;
- margin: 15px -30px;
- line-height: 1.3em;
-}
-
-dl pre, blockquote pre, li pre {
- margin-left: -60px;
- padding-left: 60px;
-}
-
-dl dl pre {
- margin-left: -90px;
- padding-left: 90px;
-}
-
-tt {
- background-color: #ecf0f3;
- color: #222;
- /* padding: 1px 2px; */
-}
-
-tt.xref, a tt {
- background-color: #FBFBFB;
- border-bottom: 1px solid white;
-}
-
-a.reference {
- text-decoration: none;
- border-bottom: 1px dotted #004B6B;
-}
-
-a.reference:hover {
- border-bottom: 1px solid #6D4100;
-}
-
-a.footnote-reference {
- text-decoration: none;
- font-size: 0.7em;
- vertical-align: top;
- border-bottom: 1px dotted #004B6B;
-}
-
-a.footnote-reference:hover {
- border-bottom: 1px solid #6D4100;
-}
-
-a:hover tt {
- background: #EEE;
-}
70 docs/_themes/kr/static/small_flask.css
View
@@ -1,70 +0,0 @@
-/*
- * small_flask.css_t
- * ~~~~~~~~~~~~~~~~~
- *
- * :copyright: Copyright 2010 by Armin Ronacher.
- * :license: Flask Design License, see LICENSE for details.
- */
-
-body {
- margin: 0;
- padding: 20px 30px;
-}
-
-div.documentwrapper {
- float: none;
- background: white;
-}
-
-div.sphinxsidebar {
- display: block;
- float: none;
- width: 102.5%;
- margin: 50px -30px -20px -30px;
- padding: 10px 20px;
- background: #333;
- color: white;
-}
-
-div.sphinxsidebar h3, div.sphinxsidebar h4, div.sphinxsidebar p,
-div.sphinxsidebar h3 a {
- color: white;
-}
-
-div.sphinxsidebar a {
- color: #aaa;
-}
-
-div.sphinxsidebar p.logo {
- display: none;
-}
-
-div.document {
- width: 100%;
- margin: 0;
-}
-
-div.related {
- display: block;
- margin: 0;
- padding: 10px 0 20px 0;
-}
-
-div.related ul,
-div.related ul li {
- margin: 0;
- padding: 0;
-}
-
-div.footer {
- display: none;
-}
-
-div.bodywrapper {
- margin: 0;
-}
-
-div.body {
- min-height: 0;
- padding: 0;
-}
7 docs/_themes/kr/theme.conf
View
@@ -1,7 +0,0 @@
-[theme]
-inherit = basic
-stylesheet = flasky.css
-pygments_style = flask_theme_support.FlaskyStyle
-
-[options]
-touch_icon =
22 docs/_themes/kr_small/layout.html
View
@@ -1,22 +0,0 @@
-{% extends "basic/layout.html" %}
-{% block header %}
- {{ super() }}
- {% if pagename == 'index' %}
- <div class=indexwrapper>
- {% endif %}
-{% endblock %}
-{% block footer %}
- {% if pagename == 'index' %}
- </div>
- {% endif %}
-{% endblock %}
-{# do not display relbars #}
-{% block relbar1 %}{% endblock %}
-{% block relbar2 %}
- {% if theme_github_fork %}
- <a href="http://github.com/{{ theme_github_fork }}"><img style="position: fixed; top: 0; right: 0; border: 0;"
- src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
- {% endif %}
-{% endblock %}
-{% block sidebar1 %}{% endblock %}
-{% block sidebar2 %}{% endblock %}
287 docs/_themes/kr_small/static/flasky.css_t
View
@@ -1,287 +0,0 @@
-/*
- * flasky.css_t
- * ~~~~~~~~~~~~
- *
- * Sphinx stylesheet -- flasky theme based on nature theme.
- *
- * :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
- * :license: BSD, see LICENSE for details.
- *
- */
-
-@import url("basic.css");
-
-/* -- page layout ----------------------------------------------------------- */
-
-body {
- font-family: 'Georgia', serif;
- font-size: 17px;
- color: #000;
- background: white;
- margin: 0;
- padding: 0;
-}
-
-div.documentwrapper {
- float: left;
- width: 100%;
-}
-
-div.bodywrapper {
- margin: 40px auto 0 auto;
- width: 700px;
-}
-
-hr {
- border: 1px solid #B1B4B6;
-}
-
-div.body {
- background-color: #ffffff;
- color: #3E4349;
- padding: 0 30px 30px 30px;
-}
-
-img.floatingflask {
- padding: 0 0 10px 10px;
- float: right;
-}
-
-div.footer {
- text-align: right;
- color: #888;
- padding: 10px;
- font-size: 14px;
- width: 650px;
- margin: 0 auto 40px auto;
-}
-
-div.footer a {
- color: #888;
- text-decoration: underline;
-}
-
-div.related {
- line-height: 32px;
- color: #888;
-}
-
-div.related ul {
- padding: 0 0 0 10px;
-}
-
-div.related a {
- color: #444;
-}
-
-/* -- body styles ----------------------------------------------------------- */
-
-a {
- color: #004B6B;
- text-decoration: underline;
-}
-
-a:hover {
- color: #6D4100;
- text-decoration: underline;
-}
-
-div.body {
- padding-bottom: 40px; /* saved for footer */
-}
-
-div.body h1,
-div.body h2,
-div.body h3,
-div.body h4,
-div.body h5,
-div.body h6 {
- font-family: 'Garamond', 'Georgia', serif;
- font-weight: normal;
- margin: 30px 0px 10px 0px;
- padding: 0;
-}
-
-{% if theme_index_logo %}
-div.indexwrapper h1 {
- text-indent: -999999px;
- background: url({{ theme_index_logo }}) no-repeat center center;
- height: {{ theme_index_logo_height }};
-}
-{% endif %}
-
-div.body h2 { font-size: 180%; }
-div.body h3 { font-size: 150%; }
-div.body h4 { font-size: 130%; }
-div.body h5 { font-size: 100%; }
-div.body h6 { font-size: 100%; }
-
-a.headerlink {
- color: white;
- padding: 0 4px;
- text-decoration: none;
-}
-
-a.headerlink:hover {
- color: #444;
- background: #eaeaea;
-}
-
-div.body p, div.body dd, div.body li {
- line-height: 1.4em;
-}
-
-div.admonition {
- background: #fafafa;
- margin: 20px -30px;
- padding: 10px 30px;
- border-top: 1px solid #ccc;
- border-bottom: 1px solid #ccc;
-}
-
-div.admonition p.admonition-title {
- font-family: 'Garamond', 'Georgia', serif;
- font-weight: normal;
- font-size: 24px;
- margin: 0 0 10px 0;
- padding: 0;
- line-height: 1;
-}
-
-div.admonition p.last {
- margin-bottom: 0;
-}
-
-div.highlight{
- background-color: white;
-}
-
-dt:target, .highlight {
- background: #FAF3E8;
-}
-
-div.note {
- background-color: #eee;
- border: 1px solid #ccc;
-}
-
-div.seealso {
- background-color: #ffc;
- border: 1px solid #ff6;
-}
-
-div.topic {
- background-color: #eee;
-}
-
-div.warning {
- background-color: #ffe4e4;
- border: 1px solid #f66;
-}
-
-p.admonition-title {
- display: inline;
-}
-
-p.admonition-title:after {
- content: ":";
-}
-
-pre, tt {
- font-family: 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
- font-size: 0.85em;
-}
-
-img.screenshot {
-}
-
-tt.descname, tt.descclassname {
- font-size: 0.95em;
-}
-
-tt.descname {
- padding-right: 0.08em;
-}
-
-img.screenshot {
- -moz-box-shadow: 2px 2px 4px #eee;
- -webkit-box-shadow: 2px 2px 4px #eee;
- box-shadow: 2px 2px 4px #eee;
-}
-
-table.docutils {
- border: 1px solid #888;
- -moz-box-shadow: 2px 2px 4px #eee;
- -webkit-box-shadow: 2px 2px 4px #eee;
- box-shadow: 2px 2px 4px #eee;
-}
-
-table.docutils td, table.docutils th {
- border: 1px solid #888;
- padding: 0.25em 0.7em;
-}
-
-table.field-list, table.footnote {
- border: none;
- -moz-box-shadow: none;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-table.footnote {
- margin: 15px 0;
- width: 100%;
- border: 1px solid #eee;
-}
-
-table.field-list th {
- padding: 0 0.8em 0 0;
-}
-
-table.field-list td {
- padding: 0;
-}
-
-table.footnote td {
- padding: 0.5em;
-}
-
-dl {
- margin: 0;
- padding: 0;
-}
-
-dl dd {
- margin-left: 30px;
-}
-
-pre {
- padding: 0;
- margin: 15px -30px;
- padding: 8px;
- line-height: 1.3em;
- padding: 7px 30px;
- background: #eee;
- border-radius: 2px;
- -moz-border-radius: 2px;
- -webkit-border-radius: 2px;
-}
-
-dl pre {
- margin-left: -60px;
- padding-left: 60px;
-}
-
-tt {
- background-color: #ecf0f3;
- color: #222;
- /* padding: 1px 2px; */
-}
-
-tt.xref, a tt {
- background-color: #FBFBFB;
-}
-
-a:hover tt {
- background: #EEE;
-}
10 docs/_themes/kr_small/theme.conf
View
@@ -1,10 +0,0 @@
-[theme]
-inherit = basic
-stylesheet = flasky.css
-nosidebar = true
-pygments_style = flask_theme_support.FlaskyStyle
-
-[options]
-index_logo = ''
-index_logo_height = 120px
-github_fork = ''
218 docs/conf.py
View
@@ -1,218 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# Pinax documentation build configuration file, created by
-# sphinx-quickstart on Wed May 11 16:45:03 2011.
-#
-# This file is execfile()d with the current directory set to its containing dir.
-#
-# Note that not all possible configuration values are present in this
-# autogenerated file.
-#
-# All configuration values have a default; values that are commented out
-# serve to show the default.
-
-import sys, os
-
-sys.path.append(os.path.abspath("_themes"))
-
-# If extensions (or modules to document with autodoc) are in another directory,
-# add these directories to sys.path here. If the directory is relative to the
-# documentation root, use os.path.abspath to make it absolute, like shown here.
-#sys.path.insert(0, os.path.abspath("."))
-
-# -- General configuration -----------------------------------------------------
-
-# If your documentation needs a minimal Sphinx version, state it here.
-#needs_sphinx = "1.0"
-
-# Add any Sphinx extension module names here, as strings. They can be extensions
-# coming with Sphinx (named "sphinx.ext.*") or your custom ones.
-extensions = []
-
-# Add any paths that contain templates here, relative to this directory.
-templates_path = ["_templates"]
-
-# The suffix of source filenames.
-source_suffix = ".txt"
-
-# The encoding of source files.
-#source_encoding = "utf-8-sig"
-
-# The master toctree document.
-master_doc = "index"
-
-# General information about the project.
-project = u"Pinax"
-copyright = u"2011, Pinax Team"
-
-# The version info for the project you"re documenting, acts as replacement for
-# |version| and |release|, also used in various other places throughout the
-# built documents.
-#
-# The short X.Y version.
-version = "0.9"
-# The full version, including alpha/beta/rc tags.
-release = "0.9a2"
-
-# The language for content autogenerated by Sphinx. Refer to documentation
-# for a list of supported languages.
-#language = None
-
-# There are two options for replacing |today|: either, you set today to some
-# non-false value, then it is used:
-#today = ""
-# Else, today_fmt is used as the format for a strftime call.
-#today_fmt = "%B %d, %Y"
-
-# List of patterns, relative to source directory, that match files and
-# directories to ignore when looking for source files.
-exclude_patterns = ["_build"]
-
-# The reST default role (used for this markup: `text`) to use for all documents.
-#default_role = None
-
-# If true, "()" will be appended to :func: etc. cross-reference text.
-#add_function_parentheses = True
-
-# If true, the current module name will be prepended to all description
-# unit titles (such as .. function::).
-#add_module_names = True
-
-# If true, sectionauthor and moduleauthor directives will be shown in the
-# output. They are ignored by default.
-#show_authors = False
-
-# The name of the Pygments (syntax highlighting) style to use.
-pygments_style = "flask_theme_support.FlaskyStyle"
-
-# A list of ignored prefixes for module index sorting.
-#modindex_common_prefix = []
-
-
-# -- Options for HTML output ---------------------------------------------------
-
-# The theme to use for HTML and HTML Help pages. See the documentation for
-# a list of builtin themes.
-html_theme = "default"
-
-# Theme options are theme-specific and customize the look and feel of a theme
-# further. For a list of options available for each theme, see the
-# documentation.
-#html_theme_options = {}
-
-# Add any paths that contain custom themes here, relative to this directory.
-html_theme_path = ["_themes"]
-
-# The name for this set of Sphinx documents. If None, it defaults to
-# "<project> v<release> documentation".
-#html_title = None
-
-# A shorter title for the navigation bar. Default is the same as html_title.
-#html_short_title = None
-
-# The name of an image file (relative to this directory) to place at the top
-# of the sidebar.
-#html_logo = None
-
-# The name of an image file (within the static path) to use as favicon of the
-# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
-# pixels large.
-#html_favicon = None
-
-# Add any paths that contain custom static files (such as style sheets) here,
-# relative to this directory. They are copied after the builtin static files,
-# so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path = ["_static"]
-
-# If not "", a "Last updated on:" timestamp is inserted at every page bottom,
-# using the given strftime format.
-#html_last_updated_fmt = "%b %d, %Y"
-
-# If true, SmartyPants will be used to convert quotes and dashes to
-# typographically correct entities.
-html_use_smartypants = True
-
-# Custom sidebar templates, maps document names to template names.
-#html_sidebars = {}
-
-# Additional templates that should be rendered to pages, maps page names to
-# template names.
-#html_additional_pages = {}
-
-# If false, no module index is generated.
-#html_domain_indices = True
-
-# If false, no index is generated.
-#html_use_index = True
-
-# If true, the index is split into individual pages for each letter.
-#html_split_index = False
-
-# If true, links to the reST sources are added to the pages.
-html_show_sourcelink = True
-
-# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
-html_show_sphinx = False
-
-# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
-#html_show_copyright = True
-
-# If true, an OpenSearch description file will be output, and all pages will
-# contain a <link> tag referring to it. The value of this option must be the
-# base URL from which the finished HTML is served.
-#html_use_opensearch = ""
-
-# This is the file name suffix for HTML files (e.g. ".xhtml").
-#html_file_suffix = None
-
-# Output file base name for HTML help builder.
-htmlhelp_basename = "Pinaxdoc"
-
-
-# -- Options for LaTeX output --------------------------------------------------
-
-# The paper size ("letter" or "a4").
-#latex_paper_size = "letter"
-
-# The font size ("10pt", "11pt" or "12pt").
-#latex_font_size = "10pt"
-
-# Grouping the document tree into LaTeX files. List of tuples
-# (source start file, target name, title, author, documentclass [howto/manual]).
-latex_documents = [
- ("index", "Pinax.tex", u"Pinax Documentation",
- u"Pinax Team", "manual"),
-]
-
-# The name of an image file (relative to this directory) to place at the top of
-# the title page.
-#latex_logo = None
-
-# For "manual" documents, if this is true, then toplevel headings are parts,
-# not chapters.
-#latex_use_parts = False
-
-# If true, show page references after internal links.
-#latex_show_pagerefs = False
-
-# If true, show URL addresses after external links.
-#latex_show_urls = False
-
-# Additional stuff for the LaTeX preamble.
-#latex_preamble = ""
-
-# Documents to append as an appendix to all manuals.
-#latex_appendices = []
-
-# If false, no module index is generated.
-#latex_domain_indices = True
-
-
-# -- Options for manual page output --------------------------------------------
-
-# One entry per manual page. List of tuples
-# (source start file, name, description, authors, manual section).
-man_pages = [
- ("index", "pinax", u"Pinax Documentation",
- [u"Pinax Team"], 1)
-]
115 docs/deployment.txt
View
@@ -1,115 +0,0 @@
-.. _deployment:
-
-==========
-Deployment
-==========
-
-In short:
-
- * Create a ``local_settings.py`` alongside ``settings.py`` for your
- host-specific settings (like database connection, email, etc).
- * Configure your WSGI or FastCGI server.
-
-All projects come with the deployment files to properly run your Pinax project
-in a production environment. These are located in the ``deploy/`` directory
-of your project.
-
-Using mod_wsgi
-==============
-
-Here is a basic configuration for Apache (assuming you are using Python 2.7)::
-
- WSGIDaemonProcess mysite python-path=/path/to/mysite-env/lib/python2.7/site-packages
- WSGIProcessGroup mysite
-
- WSGIScriptAlias / /path/to/project/wsgi.py
- <Directory /path/to/project>
- Order deny,allow
- Allow from all
- </Directory>
-
-The above configuration will likely need to be modified before use. Most
-specifically make sure the ``python-path`` option points to the right Python
-version. We encourage you to read about `WSGIDaemonProcess`_ to learn more
-about what you can configure.
-
-.. _WSGIDaemonProcess: http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIDaemonProcess
-
-Using gunicorn
-==============
-
-Install gunicorn_ in your environment (best to add it to your requirements
-file) and run ``gunicorn``::
-
- (mysite-env)$ pip install gunicorn
- (mysite-env)$ gunicorn --workers=2 --bind=127.0.0.1:8000 wsgi:application
-
-This assumes your current working directory is your project root (``wsgi``
-must be importable from where you are). Running the example shown above as-is
-will not be sufficient for a production website. You will need to daemonize
-the gunicorn processes and supervise them. Please refer to
-`gunicorn documentation`_ for more information.
-
-.. _gunicorn: http://gunicorn.org/
-.. _gunicorn documentation: http://gunicorn.org/deploy.html
-
-Using FastCGI
-=============
-
-To use FastCGI (including SCGI or AJP) you must install `flup`_. This can be
-done by using ``pip``::
-
- pip install flup
-
-Once installed, you can use Django's built-in ``runfcgi`` management command
-to run a server. For example::
-
- python manage.py method=threaded host=127.0.0.1 port=3033
-
-You can learn much more about ``runfcgi`` from the Django documentation on
-`FastCGI deployment`_.
-
-.. _flup: http://trac.saddi.com/flup
-.. _FastCGI deployment: https://docs.djangoproject.com/en/1.3/howto/deployment/fastcgi/
-
-Media files
-===========
-
-During development media files are handled for you by staticfiles. Serving of
-media is controlled by ``DEBUG`` (previous versions of Pinax used an additional
-setting ``SERVE_MEDIA`` that controlled this behavior, but it is now unused).
-
-Pinax, by default, sets ``STATIC_ROOT`` and ``MEDIA_ROOT`` to directories
-within the same directory (``site_media``). This is very beneficial to running
-a production Pinax site as you can configure your web server to serve files
-from a single directory.
-
-To collect all your static files into ``STATIC_ROOT`` for your web server to
-serve run::
-
- (mysite-env)$ python manage.py collectstatic
-
-nginx
------
-
-::
-
- server {
- ...
-
- location /site_media {
- alias /path/to/site_media;
- }
- }
-
-Apache
-------
-
-::
-
- <VirtualHost *:80>
- ...
-
- Alias /site_media/ /path/to/site_media/
-
- </VirtualHost>
262 docs/development.txt
View
@@ -1,262 +0,0 @@
-.. _development:
-
-Development
-===========
-
-We are always looking for people wanting to improve Pinax itself. This
-document outlines the necessary bits to begin contributing to Pinax.
-
-Getting started
----------------
-
-The Pinax source code is hosted on GitHub_. This means you must have git_
-installed locally. We recommend you create an account on GitHub allowing you
-to watch and fork the Pinax source code.
-
-You will want to be sure that your git configuration is set for making commits
-to a repository. Check the following::
-
- git config user.name
- git config user.email
-
-If the output of any of the two commands above are not entirely correct you
-can easily correct them::
-
- git config --global user.name "First Last"
- git config --global user.email "email@somewhere.com"
-
-It is critical you set this information up correctly. It helps us identify
-who you are when you start giving us those awesome patches.
-
-.. _GitHub: http://github.com/pinax/pinax/tree/master
-.. _git: http://git-scm.com
-
-Grabbing the source code
-~~~~~~~~~~~~~~~~~~~~~~~~
-
-Once you have forked the Pinax source code you can now make a clone of it to
-your local disk. To do this::
-
- git clone git@github.com:<username>/pinax.git
-
-This will create new directory named ``pinax`` which now contains the Pinax
-source tree ready for you to get started.
-
-Setting up your environment
-~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-Now that you've cloned the source code you are ready to get your environment
-setup to work on Pinax. You should be a running a recent release of
-`virtualenv`_ to setup Pinax. We'll assume that your current working directory
-is from within the clone (the ``pinax`` directory)::
-
- virtualenv ../pinax-dev
- source ../pinax-dev/bin/activate
- pip install -e .
-
-Finally, you need to install the dependencies for the project you want to work
-against::
-
- cd pinax/projects/<project>
- pip install --requirement requirements/project.txt
-
-In order to run the test suite, you'll also need PIL installed::
-
- pip install PIL
-
-.. _virtualenv: http://pypi.python.org/pypi/virtualenv
-
-Staying up-to-date
-------------------
-
-The development version of Pinax is always being updated. You'll want to make
-sure you keep up. Your clone of Pinax can easily stay in-sync using git. You
-will need to setup a git remote to pull in changes from upstream Pinax::
-
- git remote add upstream git://github.com/pinax/pinax.git
-
-Now you will be able to merge in changes that are made upstream::
-
- git fetch upstream
- git merge upstream/master
-
-The above will pull in all changes upstream and merge them with your current
-branch. This can be simplified::
-
- git pull upstream master
-
-To keep your virtual environment in-sync you will need to use pip (make sure
-you are **inside** your virtual environment)::
-
- cd pinax/projects/<project>
- pip install --no-deps --requirement requirements/project.txt
-
-Running the tests
------------------
-
-Before you begin committing code you'll want to make sure the Pinax test suite
-passes. Running the test suite is simple. At the root of your Pinax clone
-run::
-
- python tests/runner.py
-
-You must be inside the development virtual environment for this to work. If
-you only want to run a subset of tests (all tests are inside apps) you can
-specify them explicitly::
-
- python tests/runner.py tasks projects
-
-This useful while developing. However, be sure to run the full suite before
-committing any code to ensure it doesn't break other parts of Pinax.
-
-.. note::
-
- The test runner is new as of November 29, 2009. There are currently many
- failing tests. We are working on it. This message will be removed when
- the test suite is generally usable for contributors.
-
-Committing code
----------------
-
-The great thing about using a distributed versioning control system like git
-is that everyone becomes a committer. When other people write good patches
-it makes it very easy to include their fixes/features and give them proper
-credit for the work.
-
-We recommend that you do all your work on Pinax in a separate branch. When you
-are ready to work on a bug or a new feature create yourself a new branch. The
-reason why this is important is you can commit as often you like. When you are
-ready you can merge in the change. Let's take a look at a common workflow::
-
- git checkout -b task-566
- ... fix and git commit often ...
- git push origin task-566
-
-The reason we have created two new branches is to stay off of ``master``.
-Keeping master clean of only upstream changes makes yours and ours lives
-easier. You can then send us a pull request for the fix/feature. Then we can
-easily review it and merge it when ready.
-
-Writing commit messages
-~~~~~~~~~~~~~~~~~~~~~~~
-
-Writing a good commit message makes it simple for us to identify what your
-commit does from a high-level. We are not too picky, but there are some basic
-guidelines we'd like to ask you to follow.
-
-::
-
- Fixed #1 — added some feature
-
-We ask that you indicate which task you have fixed (if the commit fixes it) or
-if you are working something complex you may want or be asked to only commits
-parts::
-
- Refs #1 — added part one of feature X
-
-As said earlier we are not too picky (some core developers may change commit
-messages before pulling in your changes), but as you get the basics down you
-make the process of getting your patch into core faster.
-
-Another critical part is that you keep the **first** line as short and sweet
-as possible. This line is important because when git shows commits and it has
-limited space or a different formatting option is used the first line becomes
-all someone might see. If you need to explain why you made this change or
-explain something in detail use this format::
-
- Fixed #13 — added time travel
-
- You need to be driving 88 miles per hour to generate 1.21 gigawatts of
- power to properly use this feature.
-
-Coding style
-------------
-
-When writing code to be included in Pinax keep our style in mind:
-
- * Follow PEP8_ — there are some cases where we do not follow PEP8. It is an
- excellent starting point.
- * Follow `Django's coding style`_ — we're pretty much in agreement on
- Django style outlined there.
-
-We would like to enforce a few more strict guides not outlined by PEP8 or
-Django's coding style:
-
- * PEP8 tries to keep line length at 80 characters. We follow it when we can,
- but not when it makes a line harder to read. It is okay to go a little bit
- over 80 characters if not breaking the line improves readability.
- * Use double quotes not single quotes. Single quotes are allowed in cases
- where a double quote is needed in the string. This makes the code read
- cleaner in those cases.
- * Blank lines are indented to the appropriate level for the block they are
- in.
- * Docstrings always use three double quotes on a line of their own, so, for
- example, a single line docstring should take up three lines not one.
- * Imports are grouped specifically and ordered alphabetically. This is shown
- in the example below.
- * Always use ``reverse`` and never ``@models.permalink``.
- * Tuples should be reserved for positional data structures and not used
- where a list is more appropriate.
- * URL patterns should use the ``url()`` function rather than a tuple.
-
-Here is an example of these rules applied::
-
- # first set of imports are stdlib imports
- # non-from imports go first then from style import in their own group
- import csv
-
- from datetime import datetime
-
- # second set of imports are Django imports with contrib in their own
- # group.
- from django.core.urlresolvers import reverse
- from django.db import models
- from django.utils.translation import ugettext_lazy as _
-
- from django.contrib.auth.models import User
-
- # third set of imports are Pinax imports
- from pinax.utils.examplelib import function_name
-
- # forth set of imports are external apps (if applicable)
- from tagging.fields import TagField
-
- # fifth set of imports are local apps
- from pinax.apps.tasks.fields import MarkupField
-
-
- class Task(models.Model):
- """
- A model for storing a task.
- """
-
- creator = models.ForeignKey(User)
- created = models.DateTimeField(default=datetime.now)
- modified = models.DateTimeField(default=datetime.now)
-
- objects = models.Manager()
-
- class Meta:
- verbose_name = _("task")
- verbose_name_plural = _("tasks")
-
- def __unicode__(self):
- return self.summary
-
- def save(self, **kwargs):
- self.modified = datetime.now()
- super(Task, self).save(**kwargs)
-
- def get_absolute_url(self):
- return reverse("task_detail", kwargs={"task_id": self.pk})
-
- # custom methods
-
-
- class TaskComment(models.Model):
- # ... you get the point ...
- pass
-
-
-.. _PEP8: http://www.python.org/dev/peps/pep-0008/
-.. _`Django's coding style`: http://docs.djangoproject.com/en/dev/internals/contributing/#coding-style
153 docs/gettingstarted.txt
View
@@ -1,153 +0,0 @@
-.. _gettingstarted:
-
-===============
-Getting started
-===============
-
-This guide is designed to point you to the best information about getting
-started with Pinax. Pinax is built on top of Python and Django. We leverage
-these technologies to their fullest. It is ideal you have some level of
-experience with these tools before moving on. Here are some good first
-resources if you need to learn about Python and Django:
-
- * **Python**: `Official Python tutorial`_
- * **Python**: `Dive into Python`_
- * **Django**: `Official Django tutorial`_
- * **Django**: `Official Django documentation`_
-
-Those resources will be excellent reading material if you are not familiar
-with Python or Django. The Django tutorial is especially important as many
-core Pinax concepts are simply ones you find in Django.
-
-.. _Official Python tutorial: http://docs.python.org/tutorial/
-.. _Dive into Python: http://diveintopython.net/
-.. _Official Django tutorial: http://docs.djangoproject.com/en/dev/intro/tutorial01/
-.. _Official Django documentation: http://docs.djangoproject.com/en/dev/
-
-
-Prerequisites
-=============
-
-To get started with Pinax you must have the following installed:
-
- * Python 2.4+ — many OSes come with an adequate version of Python. If you are
- on Windows you will need to install it from `python.org`_. Do **not**
- install Python 3+. Pinax is not compatible with Python 3 yet.
- * `virtualenv`_ 1.4.7+
- * `pysqlite`_ — this is only required if you are running **Python 2.4**.
- Later versions of Python have this bundled.
- * :ref:`PIL <ref-pil>` — this is only required if you are using a project
- which requires imaging capabilites (includes projects which support
- avatars and/or photos). It is likely the best idea to install it anyways.
-
-.. _python.org: http://python.org/
-.. _pysqlite: http://code.google.com/p/pysqlite/
-
-.. _ref-install:
-
-Installation
-============
-
-Pinax highly encourges the use of virtual environments. We will use a tool
-called `virtualenv`_ which provides a way to create isolated Python
-environments.
-
-Create yourself a virtual environment and activate it::
-
- $ virtualenv mysite-env
- $ source mysite-env/bin/activate
- (mysite-env)$
-
-If you use Windows this will become::
-
- $ virtualenv mysite-env
- $ mysite-env\Scripts\activate.bat
- (mysite-env)$
-
-The directory ``mysite-env`` is the environment for your project. It is
-recommended you do not edit or create new files/directories within it. The
-reason this is important is that this directory should remain reproducible
-at all times. Reproducible environments is a good idea.
-
-Notice the ``(mysite-env)`` bit? This is done for you by the ``activate``
-script to help you identify which environment is currently activated. Under
-the hood your ``PATH`` has been modified to use the Python binary for this
-environment.
-
-Go ahead and install Pinax::
-
- (mysite-env)$ pip install Pinax
-
-``pip`` you say? pip_ is a tool bundled with virtualenv to install Python
-packages. It is super handy and it is used in Pinax extensively to handle
-dependencies. You should become very familiar with this tool.
-
-.. _virtualenv: http://pypi.python.org/pypi/virtualenv
-.. _pip: http://pip.openplans.org/
-
-Pinax is now installed!
-
-
-Creating a project
-==================
-
-Now that Pinax is installed the next step is to create a project. A project is
-not much more than a Django project. Pinax provides many more defaults for you
-out of the box.
-
-::
-
- (mysite-env)$ pinax-admin setup_project mysite
-
-This will create a new project named ``mysite``. By default it will install
-dependencies for you. You can turn that behavior off by giving ``setup_project``
-the ``--no-reqs`` option.
-
-Pinax comes with many different project bases. The default project based is
-what we call **layer zero**. It is simply a Django project with some extra
-integrated dependencies that will make getting started faster.
-
-
-Specifying a different project base
------------------------------------
-
-To see what Pinax has to offer run::
-
- (mysite-env)$ pinax-admin setup_project -l
-
-This will list all available project bases and a short description about
-each. To base your project off of any of these you'd run::
-
- (mysite-env)$ pinax-admin setup_project -b basic mysite
-
-In many cases the default (``zero``) is enough to get you going, but others
-may provide a better starting point for your project.
-
-
-Running a project
-=================
-
-At this point you are now working with Django. Pinax has helped you bootstrap
-your project into life. Inside your project you should run::
-
- (mysite-env)$ python manage.py syncdb
- (mysite-env)$ python manage.py runserver
-
-``syncdb`` will create a SQLite database named ``dev.db`` in your current
-directory. We've configured your project to do this, but you can change this
-simply by modifying ``settings.py`` where ``DATABASES`` dictionary is
-constructed. You can find more information about this at the `get your
-database running`_ Django documentation.
-
-``runserver`` runs an embedded webserver to test your site with. By default
-it will run on http://localhost:8000. This is configurable and more
-information can be found on `runserver in Django documentation`_.
-
-.. _get your database running: http://docs.djangoproject.com/en/dev/topics/install/#get-your-database-running
-.. _runserver in Django documentation: http://docs.djangoproject.com/en/dev/ref/django-admin/#runserver-port-or-ipaddr-port
-
-
-What's next?
-============
-
-todo
49 docs/index.txt
View
@@ -1,49 +0,0 @@
-.. Pinax documentation master file, created by
- sphinx-quickstart on Wed May 11 16:45:03 2011.
- You can adapt this file completely to your liking, but it should at least
- contain the root `toctree` directive.
-
-Pinax: a Django-based platform
-==============================
-
-Release |release|
-
-Pinax is an MIT-licensed, open-source platform built on the Django Web
-Framework.
-
-By integrating numerous reusable Django apps and providing starter projects
-and infrastructure tools, Pinax takes care of the things that many sites
-have in common so you can focus on what makes your site different.
-
-Pinax has been used for everything from social networks to corporate websites
-and from intranets to online games. We are also working on number of editions
-tailored to event management, learning management, software project management
-and more.
-
-User Guide
-----------
-
-.. toctree::
- :maxdepth: 2
-
- intro
-
-.. toctree::
- :maxdepth: 2
-
- gettingstarted
-
-.. toctree::
- :maxdepth: 2
-
- starterprojects
-
-.. toctree::
- :maxdepth: 2
-
- deployment
-
-.. toctree::
- :maxdepth: 2
-
- development
79 docs/intro.txt
View
@@ -1,79 +0,0 @@
-.. _intro:
-
-Introduction
-============
-
-Pinax is an MIT-licensed, open-source platform built on the Django Web
-Framework.
-
-By integrating numerous reusable Django apps and providing starter projects
-and infrastructure tools, Pinax takes care of the things that many sites
-have in common so you can focus on what makes your site different.
-
-Pinax has been used for everything from social networks to corporate websites
-and from intranets to online games. We are also working on number of editions
-tailored to event management, learning management, software project management
-and more.
-
-
-.. _philosphy:
-
-Philosphy
----------
-
-todo (not sure if this deserves its own section)
-
-
-.. _license:
-
-Pinax License
--------------
-
-Copyright (c) 2008-2011 James Tauber and contributors.
-
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation
-files (the "Software"), to deal in the Software without
-restriction, including without limitation the rights to use,
-copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following
-conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
-
-
-.. _pythonsupport:
-
-Python Versions
----------------
-
-At this time, the following Python platforms are officially supported:
-
- * cPython 2.4
- * cPython 2.5
- * cPython 2.6
- * cPython 2.7
-
-
-.. _djangosupport:
-
-Django Versions
----------------
-
-At this time, the following Django versions are officially supported:
-
- * Django 1.2.X
- * Django 1.3.X
-
-Pinax bundled starter projects install **Django 1.3**.
170 docs/make.bat
View
@@ -1,170 +0,0 @@
-@ECHO OFF
-
-REM Command file for Sphinx documentation
-
-if "%SPHINXBUILD%" == "" (
- set SPHINXBUILD=sphinx-build
-)
-set BUILDDIR=_build
-set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .
-if NOT "%PAPER%" == "" (
- set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
-)
-
-if "%1" == "" goto help
-
-if "%1" == "help" (
- :help
- echo.Please use `make ^<target^>` where ^<target^> is one of
- echo. html to make standalone HTML files
- echo. dirhtml to make HTML files named index.html in directories
- echo. singlehtml to make a single large HTML file
- echo. pickle to make pickle files
- echo. json to make JSON files
- echo. htmlhelp to make HTML files and a HTML help project
- echo. qthelp to make HTML files and a qthelp project
- echo. devhelp to make HTML files and a Devhelp project
- echo. epub to make an epub
- echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter
- echo. text to make text files
- echo. man to make manual pages
- echo. changes to make an overview over all changed/added/deprecated items
- echo. linkcheck to check all external links for integrity
- echo. doctest to run all doctests embedded in the documentation if enabled
- goto end
-)
-
-if "%1" == "clean" (
- for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i
- del /q /s %BUILDDIR%\*
- goto end
-)
-
-if "%1" == "html" (
- %SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished. The HTML pages are in %BUILDDIR%/html.
- goto end
-)
-
-if "%1" == "dirhtml" (
- %SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml.
- goto end
-)
-
-if "%1" == "singlehtml" (
- %SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml.
- goto end
-)
-
-if "%1" == "pickle" (
- %SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished; now you can process the pickle files.
- goto end
-)
-
-if "%1" == "json" (
- %SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished; now you can process the JSON files.
- goto end
-)
-
-if "%1" == "htmlhelp" (
- %SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished; now you can run HTML Help Workshop with the ^
-.hhp project file in %BUILDDIR%/htmlhelp.
- goto end
-)
-
-if "%1" == "qthelp" (
- %SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished; now you can run "qcollectiongenerator" with the ^
-.qhcp project file in %BUILDDIR%/qthelp, like this:
- echo.^> qcollectiongenerator %BUILDDIR%\qthelp\Pinax.qhcp
- echo.To view the help file:
- echo.^> assistant -collectionFile %BUILDDIR%\qthelp\Pinax.ghc
- goto end
-)
-
-if "%1" == "devhelp" (
- %SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished.
- goto end
-)
-
-if "%1" == "epub" (
- %SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished. The epub file is in %BUILDDIR%/epub.
- goto end
-)
-
-if "%1" == "latex" (
- %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished; the LaTeX files are in %BUILDDIR%/latex.
- goto end
-)
-
-if "%1" == "text" (
- %SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished. The text files are in %BUILDDIR%/text.
- goto end
-)
-
-if "%1" == "man" (
- %SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished. The manual pages are in %BUILDDIR%/man.
- goto end
-)
-
-if "%1" == "changes" (
- %SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes
- if errorlevel 1 exit /b 1
- echo.
- echo.The overview file is in %BUILDDIR%/changes.
- goto end
-)
-
-if "%1" == "linkcheck" (
- %SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck
- if errorlevel 1 exit /b 1
- echo.
- echo.Link check complete; look for any errors in the above output ^
-or in %BUILDDIR%/linkcheck/output.txt.
- goto end
-)
-
-if "%1" == "doctest" (
- %SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest
- if errorlevel 1 exit /b 1
- echo.
- echo.Testing of doctests in the sources finished, look at the ^
-results in %BUILDDIR%/doctest/output.txt.
- goto end
-)
-
-:end
144 docs/starterprojects.txt
View
@@ -1,144 +0,0 @@
-.. _starterprojects:
-
-================
-Starter Projects
-================
-
-One of the core features of Pinax is the inclusion of various starter projects.
-There are three very different types of starter project, though, and knowing
-the distinction is important to understanding how best to use them.
-
-The three types of Pinax starter project are:
-
- * foundational
- * demo
- * out-of-the-box
-
-**Foundational projects** are intended to be the starting point for real
-projects. They provide the ground-work for you to build on with your
-domain-specific apps. Examples of foundational projects are ``zero`` and
-``account``.
-
-**Demo projects** are really just intended to showcase particular functionality
-and demonstrate how a particular app works or how a set of apps might work
-together. You probably wouldn't use them to kick off your projects (other than
-to get ideas) and they aren't intended to be used for real sites. Examples of
-demo projects are ``social`` and ``sample_group``.
-
-**Out-of-the-box projects** are intended to be useful for real sites with only
-minor customization. That is not to say they couldn't be highly modified, but
-they don't need to be, beyond things like restyling. Examples of out-of-the-box
-projects are ``company`` and ``code``.
-
-
-Bundled Projects
-================
-
-Pinax comes with bundled starter projects which can be used to bootstrap your
-project. These starter projects can be used when you run ``setup_project``::
-
- pinax-admin setup_project -b <project> mysite_project
-
-zero
-----
-
-* **Inherits**: Django project layout
-* **Type**: foundational
-
-This starter project is what we call Layer Zero. This is not much more than
-what you get from ``django-admin startproject``, but follows our conventional