Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Closes #2

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

0 notes on commit 9cde56f

Please sign in to comment.
Something went wrong with that request. Please try again.