I am trying to download registration application from github but i have
some problems:
- git clone https://github.com/macropin/django-registration.git
- python install setup.py
- i copied the registration folder to my project folder Than :
*Url.py*
from django.conf.urls import *
from django.contrib import admin
from registration.views import*
urlpatterns = ['',
url (r'^accounts/', include('registration.backends.default.urls')),]
Than:
*Setting.py:*
INSTALLED_APPS =
(
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
# additional external apps
'registration',
'social.apps.django_app.default',
)
SITE_ID=1
ACCOUNT_ACTIVATION_DAYS = 7
REGISTRATION_AUTO_LOGIN = True
When I type python manage.py sqlall **the result is this error :
manage.py sqlall: error: Enter at least one application label.
I guess that my project can't read the application registration and
when i write : python manage.py runserver
the error is The current URL, accounts/, didn't match any of these.
Please any help ?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/65d5c582-74b0-48af-8d0c-a1f447b0a1a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.