teamplayer: updates

This commit is contained in:
Albert Hopkins 2018-10-04 21:29:30 -07:00
parent 90f0cc5f8c
commit 8ff7dc21b9
3 changed files with 5 additions and 4 deletions

View File

@ -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)"

View File

@ -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"

View File

@ -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')),
]