Permalink
Browse files

new css, registration

  • Loading branch information...
Kyle Whittington
Kyle Whittington committed Feb 3, 2012
1 parent d5987a0 commit 16ccfb20cccc75c3619ba74b1fb76d7ba8e6500f
Showing with 41,885 additions and 1,766 deletions.
  1. +163 −62 BedFed/.idea/workspace.xml
  2. +31 −2 BedFed/Hosts/views.py
  3. BIN BedFed/Hosts/views.pyc
  4. +2,491 −0 BedFed/media/css/bootstrap-1.4.css
  5. +2,520 −1,605 BedFed/media/css/bootstrap.css
  6. BIN BedFed/media/img/banner.jpg
  7. BIN BedFed/media/img/banner2.jpg
  8. BIN BedFed/media/img/glyphicons-halflings-white.png
  9. BIN BedFed/media/img/glyphicons-halflings.png
  10. BIN BedFed/media/img/grass_texture.jpg
  11. +4 −0 BedFed/settings.py
  12. BIN BedFed/settings.pyc
  13. +158 −87 BedFed/templates/base.html
  14. +91 −0 BedFed/templates/base_files/bootstrap-alert.js
  15. +98 −0 BedFed/templates/base_files/bootstrap-button.js
  16. +154 −0 BedFed/templates/base_files/bootstrap-carousel.js
  17. +136 −0 BedFed/templates/base_files/bootstrap-collapse.js
  18. +92 −0 BedFed/templates/base_files/bootstrap-dropdown.js
  19. +209 −0 BedFed/templates/base_files/bootstrap-modal.js
  20. +95 −0 BedFed/templates/base_files/bootstrap-popover.js
  21. +567 −0 BedFed/templates/base_files/bootstrap-responsive.css
  22. +125 −0 BedFed/templates/base_files/bootstrap-scrollspy.js
  23. +130 −0 BedFed/templates/base_files/bootstrap-tab.js
  24. +270 −0 BedFed/templates/base_files/bootstrap-tooltip.js
  25. +51 −0 BedFed/templates/base_files/bootstrap-transition.js
  26. +271 −0 BedFed/templates/base_files/bootstrap-typeahead.js
  27. +3,365 −0 BedFed/templates/base_files/bootstrap.css
  28. +9,252 −0 BedFed/templates/base_files/jquery.js
  29. +99 −0 BedFed/templates/basic_search.html~
  30. +125 −0 BedFed/templates/bootstrap-1.4/base.html
  31. +80 −0 BedFed/templates/bootstrap-1.4/home.html
  32. +41 −0 BedFed/templates/bootstrap-1.4/search_results.html
  33. +43 −8 BedFed/templates/home.html
  34. +20 −0 BedFed/templates/registration/login.html
  35. +4 −2 BedFed/templates/search_results.html
  36. +2 −0 BedFed/urls.py
  37. BIN BedFed/urls.pyc
  38. +24 −0 BedFed/urls.py~
  39. BIN BedFed/webdata
  40. +567 −0 Packages/bootstrap/css/bootstrap-responsive.css
  41. +3 −0 Packages/bootstrap/css/bootstrap-responsive.min.css
  42. +3,365 −0 Packages/bootstrap/css/bootstrap.css
  43. +610 −0 Packages/bootstrap/css/bootstrap.min.css
  44. BIN Packages/bootstrap/img/glyphicons-halflings-white.png
  45. BIN Packages/bootstrap/img/glyphicons-halflings.png
  46. +1,722 −0 Packages/bootstrap/js/bootstrap.js
  47. +1 −0 Packages/bootstrap/js/bootstrap.min.js
  48. BIN Packages/django-registration-0.8-alpha-1.tar.gz
  49. +8 −0 Packages/django-registration-0.8-alpha-1/MANIFEST.in
  50. +20 −0 Packages/django-registration-0.8-alpha-1/PKG-INFO
  51. +13 −0 Packages/django-registration-0.8-alpha-1/README
  52. +12 −0 Packages/django-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/__init__.py
  53. +46 −0 Packages/django-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/admin.py
  54. +58 −0 Packages/django-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/auth_urls.py
  55. +28 −0 Packages/django-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/backends/__init__.py
  56. +139 −0 ...jango-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/backends/default/__init__.py
  57. +54 −0 ...es/django-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/backends/default/urls.py
  58. +123 −0 Packages/django-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/forms.py
  59. BIN ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/ar/LC_MESSAGES/django.mo
  60. +81 −0 ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/ar/LC_MESSAGES/django.po
  61. BIN ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/bg/LC_MESSAGES/django.mo
  62. +78 −0 ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/bg/LC_MESSAGES/django.po
  63. BIN ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/de/LC_MESSAGES/django.mo
  64. +85 −0 ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/de/LC_MESSAGES/django.po
  65. BIN ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/el/LC_MESSAGES/django.mo
  66. +84 −0 ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/el/LC_MESSAGES/django.po
  67. BIN ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/en/LC_MESSAGES/django.mo
  68. +89 −0 ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/en/LC_MESSAGES/django.po
  69. BIN ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/es/LC_MESSAGES/django.mo
  70. +85 −0 ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/es/LC_MESSAGES/django.po
  71. BIN ...registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/es_AR/LC_MESSAGES/django.mo
  72. +83 −0 ...registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/es_AR/LC_MESSAGES/django.po
  73. BIN ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/fr/LC_MESSAGES/django.mo
  74. +81 −0 ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/fr/LC_MESSAGES/django.po
  75. BIN ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/he/LC_MESSAGES/django.mo
  76. +86 −0 ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/he/LC_MESSAGES/django.po
  77. BIN ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/is/LC_MESSAGES/django.mo
  78. +74 −0 ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/is/LC_MESSAGES/django.po
  79. BIN ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/it/LC_MESSAGES/django.mo
  80. +82 −0 ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/it/LC_MESSAGES/django.po
  81. BIN ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/ja/LC_MESSAGES/django.mo
  82. +78 −0 ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/ja/LC_MESSAGES/django.po
  83. BIN ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/nl/LC_MESSAGES/django.mo
  84. +77 −0 ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/nl/LC_MESSAGES/django.po
  85. BIN ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/pl/LC_MESSAGES/django.mo
  86. +84 −0 ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/pl/LC_MESSAGES/django.po
  87. BIN ...registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/pt_BR/LC_MESSAGES/django.mo
  88. +81 −0 ...registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/pt_BR/LC_MESSAGES/django.po
  89. BIN ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/ru/LC_MESSAGES/django.mo
  90. +81 −0 ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/ru/LC_MESSAGES/django.po
  91. BIN ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/sr/LC_MESSAGES/django.mo
  92. +80 −0 ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/sr/LC_MESSAGES/django.po
  93. BIN ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/sv/LC_MESSAGES/django.mo
  94. +81 −0 ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/sv/LC_MESSAGES/django.po
  95. BIN ...registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/zh_CN/LC_MESSAGES/django.mo
  96. +77 −0 ...registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/zh_CN/LC_MESSAGES/django.po
  97. BIN ...registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/zh_TW/LC_MESSAGES/django.mo
  98. +77 −0 ...registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/locale/zh_TW/LC_MESSAGES/django.po
  99. 0 ...ages/django-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/management/__init__.py
  100. 0 ...go-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/management/commands/__init__.py
  101. +19 −0 ...tion-0.8-alpha-1/build/lib.linux-i686-2.7/registration/management/commands/cleanupregistration.py
  102. +254 −0 Packages/django-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/models.py
  103. +8 −0 Packages/django-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/signals.py
  104. +4 −0 Packages/django-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/tests/__init__.py
  105. +358 −0 Packages/django-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/tests/backends.py
  106. +119 −0 Packages/django-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/tests/forms.py
  107. +225 −0 Packages/django-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/tests/models.py
  108. +82 −0 Packages/django-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/tests/urls.py
  109. +245 −0 Packages/django-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/tests/views.py
  110. +15 −0 Packages/django-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/urls.py
  111. +204 −0 Packages/django-registration-0.8-alpha-1/build/lib.linux-i686-2.7/registration/views.py
  112. +88 −0 Packages/django-registration-0.8-alpha-1/docs/Makefile
  113. BIN Packages/django-registration-0.8-alpha-1/docs/_build/doctrees/backend-api.doctree
  114. BIN Packages/django-registration-0.8-alpha-1/docs/_build/doctrees/default-backend.doctree
  115. BIN Packages/django-registration-0.8-alpha-1/docs/_build/doctrees/environment.pickle
  116. BIN Packages/django-registration-0.8-alpha-1/docs/_build/doctrees/faq.doctree
  117. BIN Packages/django-registration-0.8-alpha-1/docs/_build/doctrees/forms.doctree
  118. BIN Packages/django-registration-0.8-alpha-1/docs/_build/doctrees/index.doctree
  119. BIN Packages/django-registration-0.8-alpha-1/docs/_build/doctrees/quickstart.doctree
  120. BIN Packages/django-registration-0.8-alpha-1/docs/_build/doctrees/release-notes.doctree
  121. BIN Packages/django-registration-0.8-alpha-1/docs/_build/doctrees/signals.doctree
  122. BIN Packages/django-registration-0.8-alpha-1/docs/_build/doctrees/upgrade.doctree
  123. BIN Packages/django-registration-0.8-alpha-1/docs/_build/doctrees/views.doctree
  124. +4 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/.buildinfo
  125. +230 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/_sources/backend-api.txt
  126. +239 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/_sources/default-backend.txt
  127. +195 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/_sources/faq.txt
  128. +100 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/_sources/forms.txt
  129. +43 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/_sources/index.txt
  130. +294 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/_sources/quickstart.txt
  131. +65 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/_sources/release-notes.txt
  132. +56 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/_sources/signals.txt
  133. +120 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/_sources/upgrade.txt
  134. +122 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/_sources/views.txt
  135. +405 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/_static/basic.css
  136. +210 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/_static/default.css
  137. +232 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/_static/doctools.js
  138. BIN Packages/django-registration-0.8-alpha-1/docs/_build/html/_static/file.png
  139. +32 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/_static/jquery.js
  140. BIN Packages/django-registration-0.8-alpha-1/docs/_build/html/_static/minus.png
  141. BIN Packages/django-registration-0.8-alpha-1/docs/_build/html/_static/plus.png
  142. +61 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/_static/pygments.css
  143. +467 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/_static/searchtools.js
  144. +312 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/backend-api.html
  145. +384 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/default-backend.html
  146. +287 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/faq.html
  147. +194 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/forms.html
  148. +154 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/genindex.html
  149. +130 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/index.html
  150. +116 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/modindex.html
  151. +26 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/objects.inv
  152. +365 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/quickstart.html
  153. +167 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/release-notes.html
  154. +97 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/search.html
  155. +1 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/searchindex.js
  156. +159 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/signals.html
  157. +227 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/upgrade.html
  158. +231 −0 Packages/django-registration-0.8-alpha-1/docs/_build/html/views.html
  159. +230 −0 Packages/django-registration-0.8-alpha-1/docs/backend-api.rst
  160. +194 −0 Packages/django-registration-0.8-alpha-1/docs/conf.py
  161. +239 −0 Packages/django-registration-0.8-alpha-1/docs/default-backend.rst
  162. +195 −0 Packages/django-registration-0.8-alpha-1/docs/faq.rst
  163. +100 −0 Packages/django-registration-0.8-alpha-1/docs/forms.rst
  164. +43 −0 Packages/django-registration-0.8-alpha-1/docs/index.rst
  165. +112 −0 Packages/django-registration-0.8-alpha-1/docs/make.bat
  166. +294 −0 Packages/django-registration-0.8-alpha-1/docs/quickstart.rst
  167. +65 −0 Packages/django-registration-0.8-alpha-1/docs/release-notes.rst
  168. +56 −0 Packages/django-registration-0.8-alpha-1/docs/signals.rst
  169. +120 −0 Packages/django-registration-0.8-alpha-1/docs/upgrade.rst
  170. +122 −0 Packages/django-registration-0.8-alpha-1/docs/views.rst
  171. +12 −0 Packages/django-registration-0.8-alpha-1/registration/__init__.py
  172. BIN Packages/django-registration-0.8-alpha-1/registration/__init__.pyc
  173. +46 −0 Packages/django-registration-0.8-alpha-1/registration/admin.py
  174. +58 −0 Packages/django-registration-0.8-alpha-1/registration/auth_urls.py
  175. +28 −0 Packages/django-registration-0.8-alpha-1/registration/backends/__init__.py
  176. +139 −0 Packages/django-registration-0.8-alpha-1/registration/backends/default/__init__.py
  177. +54 −0 Packages/django-registration-0.8-alpha-1/registration/backends/default/urls.py
  178. +123 −0 Packages/django-registration-0.8-alpha-1/registration/forms.py
  179. BIN Packages/django-registration-0.8-alpha-1/registration/locale/ar/LC_MESSAGES/django.mo
  180. +81 −0 Packages/django-registration-0.8-alpha-1/registration/locale/ar/LC_MESSAGES/django.po
  181. BIN Packages/django-registration-0.8-alpha-1/registration/locale/bg/LC_MESSAGES/django.mo
  182. +78 −0 Packages/django-registration-0.8-alpha-1/registration/locale/bg/LC_MESSAGES/django.po
  183. BIN Packages/django-registration-0.8-alpha-1/registration/locale/de/LC_MESSAGES/django.mo
  184. +85 −0 Packages/django-registration-0.8-alpha-1/registration/locale/de/LC_MESSAGES/django.po
  185. BIN Packages/django-registration-0.8-alpha-1/registration/locale/el/LC_MESSAGES/django.mo
  186. +84 −0 Packages/django-registration-0.8-alpha-1/registration/locale/el/LC_MESSAGES/django.po
  187. BIN Packages/django-registration-0.8-alpha-1/registration/locale/en/LC_MESSAGES/django.mo
  188. +89 −0 Packages/django-registration-0.8-alpha-1/registration/locale/en/LC_MESSAGES/django.po
  189. BIN Packages/django-registration-0.8-alpha-1/registration/locale/es/LC_MESSAGES/django.mo
  190. +85 −0 Packages/django-registration-0.8-alpha-1/registration/locale/es/LC_MESSAGES/django.po
  191. BIN Packages/django-registration-0.8-alpha-1/registration/locale/es_AR/LC_MESSAGES/django.mo
  192. +83 −0 Packages/django-registration-0.8-alpha-1/registration/locale/es_AR/LC_MESSAGES/django.po
  193. BIN Packages/django-registration-0.8-alpha-1/registration/locale/fr/LC_MESSAGES/django.mo
  194. +81 −0 Packages/django-registration-0.8-alpha-1/registration/locale/fr/LC_MESSAGES/django.po
  195. BIN Packages/django-registration-0.8-alpha-1/registration/locale/he/LC_MESSAGES/django.mo
  196. +86 −0 Packages/django-registration-0.8-alpha-1/registration/locale/he/LC_MESSAGES/django.po
  197. BIN Packages/django-registration-0.8-alpha-1/registration/locale/is/LC_MESSAGES/django.mo
  198. +74 −0 Packages/django-registration-0.8-alpha-1/registration/locale/is/LC_MESSAGES/django.po
  199. BIN Packages/django-registration-0.8-alpha-1/registration/locale/it/LC_MESSAGES/django.mo
  200. +82 −0 Packages/django-registration-0.8-alpha-1/registration/locale/it/LC_MESSAGES/django.po
  201. BIN Packages/django-registration-0.8-alpha-1/registration/locale/ja/LC_MESSAGES/django.mo
  202. +78 −0 Packages/django-registration-0.8-alpha-1/registration/locale/ja/LC_MESSAGES/django.po
  203. BIN Packages/django-registration-0.8-alpha-1/registration/locale/nl/LC_MESSAGES/django.mo
  204. +77 −0 Packages/django-registration-0.8-alpha-1/registration/locale/nl/LC_MESSAGES/django.po
  205. BIN Packages/django-registration-0.8-alpha-1/registration/locale/pl/LC_MESSAGES/django.mo
  206. +84 −0 Packages/django-registration-0.8-alpha-1/registration/locale/pl/LC_MESSAGES/django.po
  207. BIN Packages/django-registration-0.8-alpha-1/registration/locale/pt_BR/LC_MESSAGES/django.mo
  208. +81 −0 Packages/django-registration-0.8-alpha-1/registration/locale/pt_BR/LC_MESSAGES/django.po
  209. BIN Packages/django-registration-0.8-alpha-1/registration/locale/ru/LC_MESSAGES/django.mo
  210. +81 −0 Packages/django-registration-0.8-alpha-1/registration/locale/ru/LC_MESSAGES/django.po
  211. BIN Packages/django-registration-0.8-alpha-1/registration/locale/sr/LC_MESSAGES/django.mo
  212. +80 −0 Packages/django-registration-0.8-alpha-1/registration/locale/sr/LC_MESSAGES/django.po
  213. BIN Packages/django-registration-0.8-alpha-1/registration/locale/sv/LC_MESSAGES/django.mo
  214. +81 −0 Packages/django-registration-0.8-alpha-1/registration/locale/sv/LC_MESSAGES/django.po
  215. BIN Packages/django-registration-0.8-alpha-1/registration/locale/zh_CN/LC_MESSAGES/django.mo
  216. +77 −0 Packages/django-registration-0.8-alpha-1/registration/locale/zh_CN/LC_MESSAGES/django.po
  217. BIN Packages/django-registration-0.8-alpha-1/registration/locale/zh_TW/LC_MESSAGES/django.mo
  218. +77 −0 Packages/django-registration-0.8-alpha-1/registration/locale/zh_TW/LC_MESSAGES/django.po
  219. 0 Packages/django-registration-0.8-alpha-1/registration/management/__init__.py
  220. 0 Packages/django-registration-0.8-alpha-1/registration/management/commands/__init__.py
  221. +19 −0 Packages/django-registration-0.8-alpha-1/registration/management/commands/cleanupregistration.py
  222. +254 −0 Packages/django-registration-0.8-alpha-1/registration/models.py
  223. +8 −0 Packages/django-registration-0.8-alpha-1/registration/signals.py
  224. +4 −0 Packages/django-registration-0.8-alpha-1/registration/tests/__init__.py
  225. +358 −0 Packages/django-registration-0.8-alpha-1/registration/tests/backends.py
  226. +119 −0 Packages/django-registration-0.8-alpha-1/registration/tests/forms.py
  227. +225 −0 Packages/django-registration-0.8-alpha-1/registration/tests/models.py
  228. +82 −0 Packages/django-registration-0.8-alpha-1/registration/tests/urls.py
  229. +245 −0 Packages/django-registration-0.8-alpha-1/registration/tests/views.py
  230. +15 −0 Packages/django-registration-0.8-alpha-1/registration/urls.py
  231. +204 −0 Packages/django-registration-0.8-alpha-1/registration/views.py
  232. +48 −0 Packages/django-registration-0.8-alpha-1/setup.py
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -1,8 +1,20 @@
# Create your views here.
from pyexpat import model
+import user
+from django.http import HttpResponseRedirect
from django.shortcuts import render_to_response
import Hosts
from Hosts.models import Property
+from django.contrib import auth
+from django.contrib.auth import logout
+from django.template import RequestContext
+
+def custom_proc(request):
+ "A context processor that provides 'app', 'user' and 'ip_address'."
+ return {
+ 'user': request.user,
+ }
+
def search(request):
#propertylist = Property.objects.all()
@@ -18,7 +30,24 @@ def search(request):
properties = Property.objects.filter(city__icontains=search_terms)
return render_to_response('search_results.html',
{'properties': properties, 'search_terms': search_terms })
- return render_to_response('home.html',{'error': error})
+ return render_to_response('home.html',{'error': error}, context_instance=RequestContext(request, processors=[custom_proc]))
def home(request):
- return render_to_response('home.html')
+ return render_to_response('home.html', context_instance=RequestContext(request, processors=[custom_proc]))
+
+#def login_view(request):
+# username = request.POST.get('username', '')
+# password = request.POST.get('password', '')
+# user = auth.authenticate(username=username, password=password)
+# if user is not None and user.is_active:
+# # Correct password, and the user is marked "active"
+# auth.login(request, user)
+# # Redirect to a success page.
+# return HttpResponseRedirect("/")
+# else:
+# # Show an error page
+# return HttpResponseRedirect("/account/invalid/")
+#
+#def logout_view(request):
+# logout(request)
+# return HttpResponseRedirect("/")
View
Binary file not shown.
Oops, something went wrong.

0 comments on commit 16ccfb2

Please sign in to comment.