diff --git a/example_project/settings.py b/example_project/settings.py index 672bf9b..34d035c 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 1998-2012 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2016 by the Free Software Foundation, Inc. # # This file is part of Postorius. # @@ -48,7 +48,7 @@ ALLOWED_HOSTS = [] # Mailman API credentials -MAILMAN_REST_API_URL = 'http://localhost:8001' +MAILMAN_REST_API_URL = 'http://localhost:9001' MAILMAN_REST_API_USER = 'restadmin' MAILMAN_REST_API_PASS = 'restpass' @@ -158,7 +158,7 @@ # Don't put anything in this directory yourself; store your static files # in apps' "static/" subdirectories and in STATICFILES_DIRS. # Example: "/var/www/example.com/static/" -STATIC_ROOT = os.path.join(BASE_DIR, 'static') +STATIC_ROOT = os.path.join(BASE_DIR, 'public', 'static') # URL prefix for static files. # Example: "http://example.com/static/", "http://static.example.com/" diff --git a/example_project/urls.py b/example_project/urls.py index 3dad76c..9b5f1cd 100644 --- a/example_project/urls.py +++ b/example_project/urls.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 1998-2012 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2016 by the Free Software Foundation, Inc. # # This file is part of Postorius. # @@ -23,11 +23,9 @@ from django.contrib import admin admin.autodiscover() -# Import mailman urls and set urlpatterns if you want to hook -# mailman_django into an existing django site. -# Otherwise set ROOT_URLCONF in settings.py to -# `mailman_django.urls`. -# from mailman_django import urls as mailman_urls +# Import postorius urls and set urlpatterns if you want to hook +# postorius into an existing django site. +# Otherwise set ROOT_URLCONF in settings.py to this file urlpatterns = [ url(r'^admin/', include(admin.site.urls)),