diff --git a/example_project/README.rst b/example_project/README.rst index 8c1576d..c7d88e4 100644 --- a/example_project/README.rst +++ b/example_project/README.rst @@ -31,3 +31,13 @@ You should then be able to open your browser on http://127.0.0.1:8000 and see postorius running. + + +If you are using the example_application for development, you have to install +postorius and mailmanclient another way. Be sure to have the virtualenv +activated and from the base directory of the respective repositories +you should run: + +:: + + $ python setup.py develop diff --git a/example_project/requirements.txt b/example_project/requirements.txt index 4629be6..c5ce90b 100644 --- a/example_project/requirements.txt +++ b/example_project/requirements.txt @@ -1,3 +1,3 @@ Django>1.8,<1.10 -# before a release replace it with the version about to be released -../ +git+https://gitlab.com/mailman/mailmanclient.git +git+https://gitlab.com/mailman/postorius.git diff --git a/example_project/urls.py b/example_project/urls.py index 50b85df..57e1492 100644 --- a/example_project/urls.py +++ b/example_project/urls.py @@ -22,11 +22,11 @@ from django.contrib import admin admin.autodiscover() -from postorius import views +from postorius.views import list as list_views urlpatterns = [ url(r'^admin/', include(admin.site.urls)), url('', include('django_browserid.urls')), - url(r'^$', views.list.list_index), + url(r'^$', list_views.list_index), url(r'^postorius/', include('postorius.urls')), ]