我嘗試安裝的Django登記: http://django-registration.readthedocs.org/en/latest/ 但我得到一個錯誤:沒有模塊名爲註冊我無法安裝Django註冊
每當我加載我的網站。
我該怎麼辦?
我嘗試安裝的Django登記: http://django-registration.readthedocs.org/en/latest/ 但我得到一個錯誤:沒有模塊名爲註冊我無法安裝Django註冊
每當我加載我的網站。
我該怎麼辦?
你應該把它添加到列表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
我做到了。它仍然不起作用 – Jasmine 2014-08-31 16:57:18
因此,這些都是爲我工作的步驟。
安裝使用PIP
$ PIP安裝Django登記
確保安裝Django的註冊。
$ PIP列表
Django的註冊應該出現。
希望這有助於。
你做了下面的答案吧? – 2014-08-31 08:16:27