From 8644005c3215dde11f2cfad549986bc8db568dd2 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Fri, 15 Feb 2019 11:05:38 +0100 Subject: [PATCH 1/1] fnpdjango-0.3 compatibility --- migdal/readme.md | 1 - migdal/tests.py | 17 ----------------- migdal/urls.py | 1 - setup.py | 4 +--- 4 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 migdal/readme.md delete mode 100644 migdal/tests.py diff --git a/migdal/readme.md b/migdal/readme.md deleted file mode 100644 index c125966..0000000 --- a/migdal/readme.md +++ /dev/null @@ -1 +0,0 @@ -Why not LocaleMiddleware? (consistent lang, url to lang) diff --git a/migdal/tests.py b/migdal/tests.py deleted file mode 100644 index b967c44..0000000 --- a/migdal/tests.py +++ /dev/null @@ -1,17 +0,0 @@ -# -*- coding: utf-8 -*- -""" -This file demonstrates writing tests using the unittest module. These will pass -when you run "manage.py test". - -Replace this with more appropriate tests for your application. -""" - -from django.test import TestCase - - -class SimpleTest(TestCase): - def test_basic_addition(self): - """ - Tests that 1 + 1 always equals 2. - """ - self.assertEqual(1 + 1, 2) diff --git a/migdal/urls.py b/migdal/urls.py index 8428c9d..e651a97 100644 --- a/migdal/urls.py +++ b/migdal/urls.py @@ -28,7 +28,6 @@ for t in app_settings.TYPES: urlpatterns = i18n_patterns( - '', # main page url(r'^$', 'migdal.views.main', name='migdal_main'), url(r'^rss.xml$', feeds.EntriesFeed(), name='migdal_main_feed'), diff --git a/setup.py b/setup.py index ad97fce..5f52c53 100755 --- a/setup.py +++ b/setup.py @@ -23,11 +23,9 @@ def whole_trees(package_dir, paths): setup( name='django-migdal', - version='0.8.3', + version='0.8.4', author='Radek Czajka', author_email='radoslaw.czajka@nowoczesnapolska.org.pl', - maintainer='Jan Szejko', - maintainer_email='jan.szejko@nowoczesnapolska.org.pl', url='', packages=find_packages(), package_data={'migdal': whole_trees('migdal', ['templates', 'locale'])}, -- 2.20.1