Question

I am: Django 1.5, django-registration 1.0; DEV environ is windows and PROD environ is an EC2 instance with Ubuntu12.4.

I am getting the error: No module named backends.default.urls in both PROD and DEV environs. However, in DEV, the one time it works fine is when I:

put django-registration as an app (from the source) and include it in INSTALLED_APPS, with the registration folder right alongside my other apps.

Any idea why it works fine in DEV and not in PROD?

Also, if I instead use:

pip install django-registration

and follow the suggestion here https://stackoverflow.com/a/7349220/3254791 I get the error No module named urls instead of No module named backends.default.urls

No correct solution

OTHER TIPS

you likely have an old *.pyc file lying around from django 1.4 which is making it work in DEV

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top