Permalink
Browse files

Closes #2

  • Loading branch information...
1 parent 7e00698 commit 9cde56f94cba663865324ab92ffea0c28e02ec3b @ktonon ktonon committed Aug 20, 2011
Showing with 8 additions and 5 deletions.
  1. +1 −1 mingus/requirements.txt
  2. +5 −2 mingus/settings.py
  3. +1 −1 mingus/stable-requirements.txt
  4. +1 −1 mingus/templates/admin/login.html
@@ -1,7 +1,7 @@
BeautifulSoup==3.2.0
PIL
python-dateutil==1.4.1
-django==1.1.1
+django==1.3.0
django-debug-toolbar==0.8.1
django-tagging==0.3
Pygments==1.1.1
View
@@ -7,12 +7,15 @@
ADMIN_MEDIA_PREFIX = '/admin_media/'
#staticfiles app values
-STATIC_URL = '/media/mingus/'
-STATIC_ROOT = os.path.join(PROJECT_ROOT, 'static')
+STATIC_URL = '/static/'
+STATIC_ROOT = os.path.join(PROJECT_ROOT, 'static', 'mingus')
STATICFILES_DIRS = (
os.path.join(PROJECT_ROOT, 'media', 'mingus'),
)
+# Login paths
+LOGIN_REDIRECT_URL = '/admin/'
+
SITE_ID = 1
ROOT_URLCONF = 'mingus.urls'
TIME_ZONE = 'America/New_York'
@@ -1,7 +1,7 @@
BeautifulSoup==3.2.0
PIL
python-dateutil==1.4.1
-django==1.1.1
+django==1.3.0
django-debug-toolbar==0.8.1
django-tagging==0.3
Pygments==1.1.1
@@ -14,7 +14,7 @@
<p class="errornote">{{ error_message }}</p>
{% endif %}
<div id="content-main">
-<form action="{{ app_path }}" method="post" id="login-form">
+<form action="{{ app_path }}" method="post" id="login-form">{% csrf_token %}
<div class="form-row">
<label for="id_username">{% trans 'Username:' %}</label> <input type="text" name="username" id="id_username" />
</div>

0 comments on commit 9cde56f

Please sign in to comment.