Getting stuck at Django error: No module named registration

后端 未结 15 2270
一向
一向 2020-12-30 01:35

I installed the registration module, added it to settings.py. When I tried to run syncdb (% python sitename/manage.py syncdb --settings sitename.devsettings)

It gav

15条回答
  •  鱼传尺愫
    2020-12-30 01:57

    Just try this

    1) Put down the registration app inside your project as an app

    and do the syncdb


    do the below for finding out the exact cause of error

    1.go to you project directory
    2.python manage.py dbshell
    3.in shell
    4.import registration   
    5.if you get error here which means your registration module is  not
    there on the python path (or) some problem in finding that one.
    if it works then some other problem like improper compilation .............
    

提交回复
热议问题