Commits

Anonymous committed a9a4163

0.3p4, no more example templates

Comments (0)

Files changed (9)

 =============================
 
 
+Version 0.3p4, 4 October 2007:
+------------------------------
+
+* Packaged from revision 101 in Subversion.
+
+* BACKWARDS-INCOMPATIBLE CHANGE: In response to larger numbers of
+  complaints from people trying to use the example templates as-is,
+  the example templates have been removed.
+
+
 Version 0.3p2, 23 September 2007:
 ---------------------------------
 

docs/overview.txt

    this should be the number of days activation keys will remain valid
    after an account is registered.
 
-3. Edit the example templates included with django-registration to
-   suit your own site, or create your own set of templates (see the
-   section on templates below for details).
+3. Create the necessary templates (see the section on templates below
+   for details).
 
 4. Add this line to your site's root URLConf::
    
 * ``registration/activate.html`` is displayed when a user attempts to
   activate his/her account.
 
-Examples of all of these templates are provided, but remember that
-**they are examples** and you will almost certainly have to edit them
-to suit your site's HTML and template block structure. For views
-defined in this application, see the included `views documentation`_
-for details on available context variables, and for details on the
-templates used by the activation email see the included `models
-documentation`_.
+Examples of all of these templates are not provided; you will need to
+create them yourself. For views defined in this application, see the
+included `views documentation`_ for details on available context
+variables, and for details on the templates used by the activation
+email see the included `models documentation`_.
 
 Additionally, the URLConf provided with django-registration includes
 URL patterns for useful views in Django's built-in authentication

registration/templates/registration/activate.html

-{% extends "base.html" %}
-
-{% block title %}Account activation{% endblock %}
-{% block content_header %}Account activation{% endblock %}
-{% block main_content %}
-{% load humanize %}
-{% if account %}
-<p>Thanks for signing up! Now you can <a href="/accounts/login/">log in</a> and start contributing!</p>
-{% else %}
-<p>Either your activation link was incorrect, or the activation key for your account has expired; activation keys are only
-valid for {{ expiration_days|apnumber }} days after registration.</p>
-{% endif %}
-{% endblock %}

registration/templates/registration/activation_email.txt

-{% load humanize %}
-Someone, hopefully you, signed up for a new account at {{ site }} using this email address. If it was you, and you'd like to activate and use your account, click the link below or copy and paste it into your web browser's address bar:
-
-http://{{ site.domain }}accounts/activate/{{ activation_key }}/
-
-If you didn't request this, you don't need to do anything; you won't receive any more email from us, and the account will expire automatically in {{ expiration_days|apnumber }} days.
-

registration/templates/registration/login.html

-{% extends "base.html" %}
-
-{% block title %}Log in{% endblock %}
-
-{% block content_header %}Log in{% endblock %}
-
-{% block main_content %}
-
-{% if errors %}
-<p class="error">Please correct the errors below:</p>
-{% endif %}
-
-<form method="post" action="{% if next %}?next={{ next }}{% endif %}">
-<dl>
-<dt><label for="id_username">Username:</label>{% if form.username.errors %} <span class="error">{{ form.username.errors|join:", " }}</span>{% endif %}</dt>
-<dd>{{ form.username }}</dd>
-<dt><label for="id_password">Password:</label>{% if form.password.errors %} <span class="error">{{ form.password.errors|join:", " }}</span>{% endif %}</dt>
-<dd>{{ form.password }}</dd>
-<dt><input type="submit" value="Log in" /></dt>
-</dl>
-</form>
-{% endblock %}
-
-{% block sidebar %}
-<p>If you don't have an account, you can <a href="{% url registration_register %}">sign up</a> for one; it's free, and you'll get access to a bunch of nifty features.</p>
-{% endblock %}

registration/templates/registration/logout.html

-{% extends "base.html" %}
-
-{% block title %}Logged out{% endblock %}
-
-{% block content_header %}Logged out{% endblock %}
-
-{% block main_content %}
-<p>You've been logged out.</p>
-{% endblock %}
-
-{% block sidebar %}
-<p>Thanks for stopping by; when you come back, don't forget to <a href="/accounts/login/">log in</a> again.</p>
-{% endblock %}

registration/templates/registration/registration_complete.html

-{% extends "base.html" %}
-
-{% block title %}Registration complete{% endblock %}
-
-{% block content_header %}Registration complete{% endblock %}
-
-{% block main_content %}
-{% load humanize %}
-<p>An activation link has been sent to the email address you supplied, along with instructions for activating your account.</p>
-{% endblock %}

registration/templates/registration/registration_form.html

-{% extends "base.html" %}
-
-{% block title %}Sign up{% endblock %}
-
-{% block content_header %}Sign up{% endblock %}
-
-{% block main_content %}
-
-{% if form.errors %}
-<p class="error">Please correct the errors below:</p>
-{% endif %}
-
-<form method="post" action="">
-<dl>
-<dt><label for="id_username">Username:</label>{% if form.username.errors %} <span class="error">{{ form.username.errors|join:", " }}</span>{% endif %}</dt>
-<dd>{{ form.username }}</dd>
-<dt><label for="id_email">Email address:</label>{% if form.email.errors %} <span class="error">{{ form.email.errors|join:", " }}</span>{% endif %}</dd>
-<dd>{{ form.email }}</dd>
-<dt><label for="id_password1">Password:</label>{% if form.password1.errors %} <span class="error">{{ form.password2.errors|join:", " }}</span>{% endif %}</dt>
-<dd>{{ form.password1 }}</dd>
-<dt><label for="id_password2">Password (type again to catch any typos):</label>{% if form.password2.errors %} <span class="error">{{ form.password2.errors|join:", " }}</span>{% endif %}</dt>
-<dd>{{ form.password2 }}</dd>
-<dt><label for="id_tos">I have read and agree to the <a href="/about/tos/">Terms of Service</a>:</label>{% if form.tos.errors %}&nbsp;<span class="error">{{ form.tos.errors|join:", " }}</span>{% endif %}&nbsp;&nbsp;{{ form.tos }}
-<dt><input type="submit" value="Register" /></dt>
-</dl>
-</form>
-{% endblock %}
-
-{% block sidebar %}
-<p>Fill out the form to the left (all fields are required), and your account will be created; you'll be sent an email with instructions on how to finish your registration.</p>
-{% endblock %}
 from distutils.core import setup
 
 setup(name='registration',
-      version='0.3p3',
+      version='0.3p4',
       description='User-registration application for Django',
       author='James Bennett',
       author_email='james@b-list.org',
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.