diff --git a/fowl/settings.py b/fowl/settings.py index 96727b4..48239f2 100644 --- a/fowl/settings.py +++ b/fowl/settings.py @@ -63,8 +63,7 @@ ROOT_URLCONF = 'fowl.urls' WSGI_APPLICATION = 'fowl.wsgi.application' TEMPLATE_DIRS = ( - # Always use forward slashes, even on Windows. - # Don't forget to use absolute paths, not relative paths. + os.path.join(os.path.dirname(__file__), 'templates'), ) INSTALLED_APPS = ( diff --git a/fowl/templates/registration/login.html b/fowl/templates/registration/login.html new file mode 100644 index 0000000..673b636 --- /dev/null +++ b/fowl/templates/registration/login.html @@ -0,0 +1,26 @@ +{% extends "base.html" %} + +{% block content %} + +{% if form.errors %} +

Your username and password didn't match. Please try again.

+{% endif %} + +
+{% csrf_token %} + + + + + + + + + +
{{ form.username.label_tag }}{{ form.username }}
{{ form.password.label_tag }}{{ form.password }}
+ + + +
+ +{% endblock %}