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), -) +]