Спасибо за отклики ) Уже перебрал все варианты, ничего не могу сделать (((
Выкладываю urls.py и settings
urls:
from django.conf.urls import patterns, include, url
from django.conf.urls.defaults import *
from FreeDay.forms import ExtendedRegistrationFormUniqueEmail
from django.contrib import admin
from django.views.generic.base import TemplateView
from django.views.generic import RedirectView
import settings
admin.autodiscover()
urlpatterns = patterns('',
url(r'^$', 'home.views.home_page', name='home_page'),
url(r'^home/$', 'home.views.home_page', name='home_page'),
url(r'^date/$', 'home.views.current_datetime', name='current_datetime'),
url(r'^date/(\d+)/$', 'home.views.current_datetime', name='current_datetime'),
url(r'^advert/$', 'home.views.advert', name='sponsor'),
url(r'^advert/(\d+)/$', 'home.views.advert', name='sponsor'),
url(r'^sponsors/', 'home.views.sponsors', name='sponsors'),
url(r'^game/', 'home.views.game', name='game'),
url(r'^winners/', 'home.views.winners', name='winners'),
(r'accounts/', include('registration.urls')),
url(r'accounts/profile/$', 'home.views.profile', name='profile'),
url('accounts/register/$', 'registration.views.register', {'form_class': ExtendedRegistrationFormUniqueEmail, 'backend': 'home.email-registration.ExtendedRegistrationBackEnd'}, name='registration_register'),
url('accounts/password/reset/$', 'django.contrib.auth.views.password_reset', {'template_name': 'registration/password_recovery_1.html'}, name='auth_password_reset'),
url('accounts/password/reset/done/$', 'django.contrib.auth.views.password_reset_done', {'template_name': 'registration/password_recovery_2.html'}, name='auth_password_reset_done'),
url('accounts/password/reset/confirm/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$', 'django.contrib.auth.views.password_reset_confirm', {'template_name': 'registration/password_recovery_confirm.html'}, name='auth_password_recovery_confirm'),
url('accounts/password/reset/complete/$', 'django.contrib.auth.views.password_reset_complete', {'template_name': 'registration/password_recovery_complete.html'}, name='auth_password_recovery_complete'),
# Uncomment the admin/doc line below to enable admin documentation:
url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
# Uncomment the next line to enable the admin:
url(r'^admin/', include(admin.site.urls)),
# url(r'^social/', include('social_auth.urls')),
)
if settings.DEBUG:
urlpatterns += patterns('',
(r'^%s(?P<path>.*)$' % settings.STATIC_URL.lstrip('/'), 'django.views.static.serve', {'document_root': settings.STATIC_ROOT}),
(r'^%s(?P<path>.*)$' % settings.MEDIA_URL.lstrip('/'), 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),
)