sandbox relative links

This commit is contained in:
Sanj 2011-05-07 16:21:26 +05:30
parent 2daa7cbbe0
commit 6aeca83ae5
19 changed files with 381 additions and 26 deletions

View File

@ -0,0 +1,53 @@
K 25
svn:wc:ra_dav:version-url
V 81
/svn/!svn/ver/14003/django/trunk/django/contrib/auth/tests/templates/registration
END
password_reset_complete.html
K 25
svn:wc:ra_dav:version-url
V 110
/svn/!svn/ver/12420/django/trunk/django/contrib/auth/tests/templates/registration/password_reset_complete.html
END
password_reset_confirm.html
K 25
svn:wc:ra_dav:version-url
V 109
/svn/!svn/ver/12420/django/trunk/django/contrib/auth/tests/templates/registration/password_reset_confirm.html
END
password_reset_form.html
K 25
svn:wc:ra_dav:version-url
V 106
/svn/!svn/ver/12420/django/trunk/django/contrib/auth/tests/templates/registration/password_reset_form.html
END
logged_out.html
K 25
svn:wc:ra_dav:version-url
V 97
/svn/!svn/ver/14003/django/trunk/django/contrib/auth/tests/templates/registration/logged_out.html
END
login.html
K 25
svn:wc:ra_dav:version-url
V 91
/svn/!svn/ver/8497/django/trunk/django/contrib/auth/tests/templates/registration/login.html
END
password_reset_done.html
K 25
svn:wc:ra_dav:version-url
V 106
/svn/!svn/ver/12420/django/trunk/django/contrib/auth/tests/templates/registration/password_reset_done.html
END
password_change_form.html
K 25
svn:wc:ra_dav:version-url
V 107
/svn/!svn/ver/14003/django/trunk/django/contrib/auth/tests/templates/registration/password_change_form.html
END
password_reset_email.html
K 25
svn:wc:ra_dav:version-url
V 107
/svn/!svn/ver/12420/django/trunk/django/contrib/auth/tests/templates/registration/password_reset_email.html
END

View File

@ -0,0 +1,300 @@
10
dir
15449
http://code.djangoproject.com/svn/django/trunk/django/contrib/auth/tests/templates/registration
http://code.djangoproject.com/svn
2010-10-08T13:50:54.908742Z
14003
russellm
bcc190cf-cafb-0310-a4f2-bffc1f526a37
password_reset_complete.html
file
2011-02-08T11:05:45.677065Z
b086e39450cc1801a75d6eb86f9642b8
2010-02-13T12:02:11.708906Z
12420
russellm
27
password_reset_confirm.html
file
2011-02-08T11:05:45.677065Z
8c94e1c987778dc8ff3376e7fa38d5ae
2010-02-13T12:02:11.708906Z
12420
russellm
120
password_reset_form.html
file
2011-02-08T11:05:45.677065Z
c940547712a34ed88f1ce2fbbd0defee
2010-02-13T12:02:11.708906Z
12420
russellm
10
logged_out.html
file
2011-02-08T11:05:45.677065Z
213c9cdec05da9c0102d625e71d52769
2010-10-08T13:50:54.908742Z
14003
russellm
10
login.html
file
2011-02-08T11:05:45.677065Z
e56718e1b6e87fb618d296bb52cd15ee
2008-08-23T18:20:49.470504Z
8497
mtredinnick
16
password_reset_done.html
file
2011-02-08T11:05:45.677065Z
6e96998ce833f63031ef6f66a7693586
2010-02-13T12:02:11.708906Z
12420
russellm
11
password_change_form.html
file
2011-02-08T11:05:45.677065Z
c940547712a34ed88f1ce2fbbd0defee
2010-10-08T13:50:54.908742Z
14003
russellm
10
password_reset_email.html
file
2011-02-08T11:05:45.677065Z
3c3a5c49b9d1b6802ca1dfe360a06a64
2010-02-13T12:02:11.708906Z
12420
russellm
58

View File

@ -0,0 +1 @@
Logged out

View File

@ -0,0 +1 @@
{{ form.as_ul }}

View File

@ -0,0 +1 @@
Password reset successfully

View File

@ -0,0 +1,5 @@
{% if validlink %}
Please enter your new password: {{ form }}
{% else %}
The password reset link was invalid
{% endif %}

View File

@ -0,0 +1 @@
{{ protocol }}://{{ domain }}/reset/{{ uid }}-{{ token }}/

View File

@ -0,0 +1 @@
Logged out

View File

@ -1,26 +1,4 @@
{% extends "base.html" %} <form action="" method="POST">
{{ form.as_ul }}<br />
{% block content %} <input type="submit" value="Submit" />
{% if form.errors %}
<p>Your username and password didn't match. Please try again.</p>
{% endif %}
<form method="post" action="{% url django.contrib.auth.views.login %}">{% csrf_token %}
<table>
<tr>
<td>{{ form.username.label_tag }}</td>
<td>{{ form.username }}</td>
</tr>
<tr>
<td>{{ form.password.label_tag }}</td>
<td>{{ form.password }}</td>
</tr>
</table>
<input type="submit" value="login" />
<input type="hidden" name="next" value="{{ next }}" />
</form> </form>
{% endblock %}

View File

@ -0,0 +1 @@
{{ form }}

View File

@ -0,0 +1 @@
Password reset successfully

View File

@ -0,0 +1,5 @@
{% if validlink %}
Please enter your new password: {{ form }}
{% else %}
The password reset link was invalid
{% endif %}

View File

@ -0,0 +1 @@
E-mail sent

View File

@ -0,0 +1 @@
{{ protocol }}://{{ domain }}/reset/{{ uid }}-{{ token }}/

View File

@ -0,0 +1 @@
{{ form }}

View File

@ -10,7 +10,8 @@ admin.autodiscover()
urlpatterns = patterns('', urlpatterns = patterns('',
# Example: # Example:
# (r'^edge/', include('edge.foo.urls')), # (r'^edge/', include('edge.foo.urls')),
(r'^sandbox$', 'main.views.home'), (r'^sandbox/$', 'main.views.home'),
(r'^sandbox/home$', 'main.views.home'),
(r'^sandbox/contact$', 'main.views.contact'), (r'^sandbox/contact$', 'main.views.contact'),
(r'^sandbox/archive$', 'main.views.archive'), (r'^sandbox/archive$', 'main.views.archive'),
(r'^sandbox/publish$', 'main.views.publish'), (r'^sandbox/publish$', 'main.views.publish'),