Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
Respect My Net
Commits
e3913d8f
Commit
e3913d8f
authored
Apr 26, 2011
by
stef
Browse files
[enh] initial commit - model 1st version
parents
Changes
23
Show whitespace changes
Inline
Side-by-side
templates/registration/registration_complete.html
0 → 100644
View file @
e3913d8f
{% extends "base.html" %}
{% load i18n %}
{% block title %}Registration{% endblock %}
{% block content %}
{% trans "An email containing account-activation information has been sent." %}
{% endblock content %}
templates/registration/registration_form.html
0 → 100644
View file @
e3913d8f
{% 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 %}
urls.py
0 → 100644
View file @
e3913d8f
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
}),
)
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment