django registration urls


Staff member
I am quite new to Django (have a background in python), and I am trying to build a simple webpage (normal stuff: registration, shopping cart, payments etc).

To this end, I am using the django-registration package and I have followed the instructions on: <a href="" rel="nofollow"></a>

I have to say, I quite like it, and got it to work: and the registration pages look like admin panels. Now, I would like do some customization and I started off by including my own base.html. In the django-registration, I have some default templates, and the login temlates look like:

{% extends "base.html" %}
{% load i18n %}

{% block content %}
&lt;form method="post" action="."&gt;
{{ form.as_p }}

&lt;input type="submit" value="{% trans 'Log in' %}" /&gt;
&lt;input type="hidden" name="next" value="{{ next }}" /&gt;

&lt;p&gt;{% trans "Forgot password" %}? &lt;a href="{% url auth_password_reset %}"&gt;{% trans   "Reset your account" %}&lt;/a&gt;!&lt;/p&gt;
&lt;p&gt;{% trans "Not member" %}? &lt;a href="{% url registration_register %}"&gt;{% trans  "Register Now" %}&lt;/a&gt;!&lt;/p&gt;
{% endblock %}

First, when I changed the I base.html to my own path, the page does not seem to render properly (although I see the text content, but the graphics are all missing), and I have noticed that all the links have gone a level down. For example, my Homepage ref has gone down to rather then my orginal

As I unserstand, my url mappings do not seem right, but I cannot seem to find the url conf links. My current url conf looks like:

urlpatterns = patterns('',
(r'^media/(?P&lt;path&gt;.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),
(r'^$', index),
(r'^Homepage$', index),
(r'^AboutUs$', AboutUs),
(r'^ContactUs$', ContactUs),
(r'^accounts/', include('registration.urls')),
(r'^$', direct_to_template,
        { 'template': 'index.html' }, 'index'),

Where do I find the registration url confs such as /accounts/login etc and the corresponding mapings?

Sorry if this is 101 django question!