Commit e3913d8f authored by stef's avatar stef
Browse files

[enh] initial commit - model 1st version

parents
{% extends "base.html" %}
{% load i18n %}
{% block title %}Registration{% endblock %}
{% block content %}
{% trans "An email containing account-activation information has been sent." %}
{% endblock content %}
{% extends "base.html" %}
{% block title %}Registration{% endblock %}
{% block content %}
<form action="" method="post">{% csrf_token %}
<table>
{{ form.as_table }}
</table>
<input type="submit" />
</form>
{% endblock content %}
from django.conf.urls.defaults import patterns, include, url
from django.conf import settings
from bt import views as bt
# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()
urlpatterns = patterns('',
(r'^accounts/logout$', 'django.contrib.auth.views.logout', {'next_page' : '/'}),
(r'^accounts/', include('registration.urls')),
(r'^u/(?P<user>.+)/(?P<tags>.+)?$', bt.edit),
# Uncomment the next line to enable the admin:
#(r'^admin/', include(admin.site.urls)),
)
if settings.DEV_SERVER:
urlpatterns += patterns('',
(r'^site_media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_PATH}),
)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment