diff --git a/gridulate/__init__.py b/grids/__init__.py similarity index 100% rename from gridulate/__init__.py rename to grids/__init__.py diff --git a/gridulate/models.py b/grids/models.py similarity index 100% rename from gridulate/models.py rename to grids/models.py diff --git a/gridulate/tests.py b/grids/tests.py similarity index 100% rename from gridulate/tests.py rename to grids/tests.py diff --git a/gridulate/urls.py b/grids/urls.py similarity index 76% rename from gridulate/urls.py rename to grids/urls.py index fce7b78..aa3fdc9 100644 --- a/gridulate/urls.py +++ b/grids/urls.py @@ -1,6 +1,6 @@ from django.conf.urls.defaults import patterns, include, url -urlpatterns = patterns('gridpak.gridulate.views', +urlpatterns = patterns('gridpak.grids.views', url(r'^$', 'index', name='index'), url(r'^download/$', 'download', name='download'), diff --git a/gridulate/views.py b/grids/views.py similarity index 98% rename from gridulate/views.py rename to grids/views.py index fbb1154..d695812 100644 --- a/gridulate/views.py +++ b/grids/views.py @@ -12,7 +12,7 @@ from zipfile import ZipFile def index(request): - return render_to_response('gridulate/index.html', { + return render_to_response('grids/index.html', { }, context_instance=RequestContext(request)) def download(request): diff --git a/settings.py b/settings.py index 3038045..e4257b7 100644 --- a/settings.py +++ b/settings.py @@ -119,7 +119,7 @@ # 'django.contrib.admin', # Uncomment the next line to enable admin documentation: # 'django.contrib.admindocs', - 'gridpak.gridulate', + 'gridpak.grids', ) # A sample logging configuration. The only tangible logging diff --git a/templates/gridulate/index.html b/templates/grids/index.html similarity index 100% rename from templates/gridulate/index.html rename to templates/grids/index.html diff --git a/urls.py b/urls.py index 9fd4e34..8670357 100644 --- a/urls.py +++ b/urls.py @@ -13,7 +13,7 @@ #(r'^(?P.*)', 'views.static_page'), # Example: - (r'^', include('gridpak.gridulate.urls')), + (r'^', include('gridpak.grids.urls')), # Uncomment the admin/doc line below to enable admin documentation: # (r'^admin/doc/', include('django.contrib.admindocs.urls')),