Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 16 lines (11 sloc) 0.593 kb

System Message: ERROR/3 (<string>, line 1)

Unknown directive type "highlight".

.. highlight:: django

Check if an entered e-mail address is unique, by looking in the :ref:`model-identity` table for the email key:

System Message: ERROR/3 (<string>, line 4); backlink

Unknown interpreted text role "ref".
<input type="text" id="email" name="email" value="" />
{% validate id="email" type={email} type={email_unique} %}

Optionally, an rsc_id parameter can be given to the validator to skip that particular id when doing the uniqueness check. This is useful when you are displaying a form in which the user is editing his own email address.

System Message: ERROR/3 (<string>, line 15)

Unknown directive type "seealso".

.. seealso:: :ref:`model-identity`, :ref:`validator-username_unique`
Something went wrong with that request. Please try again.