Commits

Mikhail Korobov committed e10db56

fix some test issues with django 1.5 (one test is still failing)

  • Participants
  • Parent commits acacc8b

Comments (0)

Files changed (3)

File django_webtest_tests/settings.py

 # Examples: "http://foo.com/media/", "/media/".
 ADMIN_MEDIA_PREFIX = '/static/admin/'
 
+STATIC_URL = '/static/'
+
 # Make this unique, and don't share it with anybody.
 SECRET_KEY = '5mcs97ar-(nnxhfkx0%^+0^sr!e(ax=x$2-!8dqy25ff-l1*a='
 

File django_webtest_tests/templates/form.html

         {{ form.as_p }}
         <input type='submit'>
     </form>
-    <a href='{% url auth_login %}'>Login</a>
+    <a href='/login/'>Login</a>
 </body>
     django
 
 commands=
-    python django_webtest_tests/runtests.py
+    python django_webtest_tests/runtests.py []
 
 [testenv:dj12]
 deps=