Skip to content

Commit

Permalink
Closes #2
Browse files Browse the repository at this point in the history
  • Loading branch information
ktonon committed Aug 20, 2011
1 parent 7e00698 commit 9cde56f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion mingus/requirements.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 5 additions & 2 deletions mingus/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion mingus/stable-requirements.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion mingus/templates/admin/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 9cde56f

Please sign in to comment.