teamplayer: updates
This commit is contained in:
parent
90f0cc5f8c
commit
8ff7dc21b9
|
@ -20,6 +20,7 @@ preinstall:
|
|||
|
||||
postinstall: $(post_files) $(SCROBBLER_AUTH) urls.py
|
||||
$(inroot) passwd -d postgres
|
||||
rm -rf $(CHROOT)/var/lib/postgresql/$(PGVER)/data
|
||||
$(inroot) eselect postgresql unset
|
||||
$(inroot) eselect postgresql set $(PGVER)
|
||||
$(inroot) bash -c "echo y |$(EMERGE) --config postgresql:$(PGVER)"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
# Settings for TeamPlayer
|
||||
NGINX_MODULES_HTTP="auth_basic gzip proxy referer rewrite headers_more uwsgi"
|
||||
USE_PYTHON="3.4"
|
||||
PYTHON_TARGETS="python3_4"
|
||||
USE_PYTHON="3.6"
|
||||
PYTHON_TARGETS="python3_6"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
from django.conf.urls import include, url
|
||||
|
||||
from django.contrib.auth.views import login as django_login
|
||||
from django.contrib.auth.views import LoginView
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^accounts/login/$', django_login),
|
||||
url(r'^accounts/login/$', LoginView.as_view()),
|
||||
url(r'', include('teamplayer.urls')),
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue