首页 文章

django-registration:我应该把“注册”目录放在哪里?

提问于
浏览
0

我正在使用来自https://bitbucket.org/ubernostrum/django-registration/的django-registration应用程序,我对于应该放置它的位置感到有点困惑 .

我've added 1304742 under INSTALLED_APPS in settings.py (as instructed), but shouldn'提到的 registration app在我的项目目录中,还有我所有的其他应用程序?这似乎对我来说比在其他地方更有意义(即PYTHONPATH) .

所以,我'm thinking of cloning the repo, just grabbing django-registration' s registration app,放弃了django-registration(INSTALL,README,docs等)中包含的所有其他文件,并将 registration app粘贴在我的项目目录中 .

这样,我可以编辑模型以包含更多字段,在表单中反映出来等 .


这是错的吗?

(对不起,这是我的第一个大型Django项目)

2 回答

相关问题