2014-08-31 51 views

回答

2

你應該把它添加到列表INSTALLED_APPS

Begin by adding registration to the INSTALLED_APPS setting of your project, and specifying one additional setting:

ACCOUNT_ACTIVATION_DAYS This is the number of days users will have to activate their accounts after registering. If a user does not activate within that period, the account will remain permanently inactive and may be deleted by maintenance scripts provided in django-registration.

這是必需的設置部分: http://django-registration.readthedocs.org/en/latest/quickstart.html#required-settings

+0

我做到了。它仍然不起作用 – Jasmine 2014-08-31 16:57:18

0

因此,這些都是爲我工作的步驟。

  1. 安裝使用PIP

    $ PIP安裝Django登記

  2. 確保安裝Django的註冊。

    $ PIP列表

Django的註冊應該出現。

  1. 添加 'Django的登記' 到INSTALLED_APPS元組

希望這有助於。