From 6d001333b1adffda6036aff4439e5881047c20db Mon Sep 17 00:00:00 2001 From: Luciano Almeida Date: Thu, 9 Feb 2017 18:25:48 -0200 Subject: [PATCH] Delete migrations files from old Atendimento app Signed-off-by: Luciano Almeida --- .../migrations/0005_auto_20160912_1503.py | 21 ------------------ .../migrations/0004_auto_20160912_1503.py | 22 ------------------- sigi/apps/whois/urls.py | 7 +++--- 3 files changed, 3 insertions(+), 47 deletions(-) delete mode 100644 sigi/apps/servicos/migrations/0005_auto_20160912_1503.py delete mode 100644 sigi/apps/servidores/migrations/0004_auto_20160912_1503.py diff --git a/sigi/apps/servicos/migrations/0005_auto_20160912_1503.py b/sigi/apps/servicos/migrations/0005_auto_20160912_1503.py deleted file mode 100644 index e25f681..0000000 --- a/sigi/apps/servicos/migrations/0005_auto_20160912_1503.py +++ /dev/null @@ -1,21 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9.6 on 2016-09-12 15:03 -from __future__ import unicode_literals - -from django.db import migrations, models -import django.db.models.deletion - - -class Migration(migrations.Migration): - - dependencies = [ - ('servicos', '0004_auto_20160623_0829'), - ] - - operations = [ - migrations.AlterField( - model_name='casamanifesta', - name='casa_legislativa', - field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='casas.CasaLegislativa'), - ), - ] diff --git a/sigi/apps/servidores/migrations/0004_auto_20160912_1503.py b/sigi/apps/servidores/migrations/0004_auto_20160912_1503.py deleted file mode 100644 index c01ad6a..0000000 --- a/sigi/apps/servidores/migrations/0004_auto_20160912_1503.py +++ /dev/null @@ -1,22 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by Django 1.9.6 on 2016-09-12 15:03 -from __future__ import unicode_literals - -from django.conf import settings -from django.db import migrations, models -import django.db.models.deletion - - -class Migration(migrations.Migration): - - dependencies = [ - ('servidores', '0003_auto_20160811_1553'), - ] - - operations = [ - migrations.AlterField( - model_name='servidor', - name='user', - field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL), - ), - ] diff --git a/sigi/apps/whois/urls.py b/sigi/apps/whois/urls.py index 8e6223a..8e499a4 100644 --- a/sigi/apps/whois/urls.py +++ b/sigi/apps/whois/urls.py @@ -1,10 +1,9 @@ # coding: utf-8 -from django.conf.urls import patterns, url +from django.conf.urls import url from django.views.generic.base import TemplateView from . import views -urlpatterns = patterns( - '', +urlpatterns = [ url(r'^(?P.+)$', views.whois_query), -) +]