diff options
author | Mike Crute <mcrute@gmail.com> | 2010-07-11 00:03:39 -0400 |
---|---|---|
committer | Mike Crute <mcrute@gmail.com> | 2010-07-11 00:03:39 -0400 |
commit | b7b8f93261420aaa321948b1508f2cd8a6e0b297 (patch) | |
tree | 84ca91a4d533a660b581c29436b815a3d69d61a5 | |
parent | d471329e7a5bf7819bb557241bf580a1c6e1fae5 (diff) | |
download | snakeplan-b7b8f93261420aaa321948b1508f2cd8a6e0b297.tar.bz2 snakeplan-b7b8f93261420aaa321948b1508f2cd8a6e0b297.tar.xz snakeplan-b7b8f93261420aaa321948b1508f2cd8a6e0b297.zip |
Removing references to snakeplan in imports.
-rw-r--r-- | snakeplan/accounts/admin.py | 2 | ||||
-rw-r--r-- | snakeplan/accounts/views.py | 1 | ||||
-rw-r--r-- | snakeplan/projects/admin.py | 2 | ||||
-rw-r--r-- | snakeplan/projects/urls.py | 14 | ||||
-rw-r--r-- | snakeplan/projects/views/iterations.py | 4 | ||||
-rw-r--r-- | snakeplan/projects/views/project.py (renamed from snakeplan/projects/views/projects.py) | 2 | ||||
-rw-r--r-- | snakeplan/projects/views/stories.py | 4 | ||||
-rw-r--r-- | snakeplan/projects/views/tasks.py | 4 |
8 files changed, 16 insertions, 17 deletions
diff --git a/snakeplan/accounts/admin.py b/snakeplan/accounts/admin.py index a7ce6ef..498b5e1 100644 --- a/snakeplan/accounts/admin.py +++ b/snakeplan/accounts/admin.py | |||
@@ -18,7 +18,7 @@ SnakePlan Admin Setup | |||
18 | # See the License for the specific language governing permissions and | 18 | # See the License for the specific language governing permissions and |
19 | # limitations under the License. | 19 | # limitations under the License. |
20 | 20 | ||
21 | from snakeplan.accounts import models | 21 | import models |
22 | from django.contrib import admin | 22 | from django.contrib import admin |
23 | 23 | ||
24 | admin.site.register(models.UserProfile) | 24 | admin.site.register(models.UserProfile) |
diff --git a/snakeplan/accounts/views.py b/snakeplan/accounts/views.py deleted file mode 100644 index 60f00ef..0000000 --- a/snakeplan/accounts/views.py +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | # Create your views here. | ||
diff --git a/snakeplan/projects/admin.py b/snakeplan/projects/admin.py index 981e4e5..ba56193 100644 --- a/snakeplan/projects/admin.py +++ b/snakeplan/projects/admin.py | |||
@@ -18,7 +18,7 @@ SnakePlan Admin Setup | |||
18 | # See the License for the specific language governing permissions and | 18 | # See the License for the specific language governing permissions and |
19 | # limitations under the License. | 19 | # limitations under the License. |
20 | 20 | ||
21 | from snakeplan.projects import models | 21 | import models |
22 | from django.contrib.admin import ModelAdmin, site | 22 | from django.contrib.admin import ModelAdmin, site |
23 | 23 | ||
24 | 24 | ||
diff --git a/snakeplan/projects/urls.py b/snakeplan/projects/urls.py index 7f47d04..c59024c 100644 --- a/snakeplan/projects/urls.py +++ b/snakeplan/projects/urls.py | |||
@@ -21,17 +21,17 @@ SnakePlan Project Urls | |||
21 | from django.conf.urls.defaults import patterns, url | 21 | from django.conf.urls.defaults import patterns, url |
22 | 22 | ||
23 | 23 | ||
24 | urlpatterns = patterns('snakeplan.projects.views', | 24 | urlpatterns = patterns('projects.views', |
25 | url(r'^$', 'projects.index', name='project-list'), | 25 | url(r'^$', 'project.index', name='project-list'), |
26 | 26 | ||
27 | # Projects | 27 | # Projects |
28 | url(r'^create/', 'projects.create_project', name='create-project'), | 28 | url(r'^create/', 'project.create_project', name='create-project'), |
29 | url(r'^(\d+)/edit/', 'projects.update_project', name='edit-project'), | 29 | url(r'^(\d+)/edit/', 'project.update_project', name='edit-project'), |
30 | url(r'^(\d+)/', 'projects.project_iterations', name='project-iterations'), | 30 | url(r'^(\d+)/', 'project.project_iterations', name='project-iterations'), |
31 | 31 | ||
32 | # Iterations | 32 | # Iterations |
33 | url(r'^(\d+)/iterations/(\d+)/', 'projects.index'), | 33 | url(r'^(\d+)/iterations/(\d+)/', 'project.index'), |
34 | 34 | ||
35 | # Stories | 35 | # Stories |
36 | url(r'^(\d+)/stories/(\d+)/', 'projects.index', name='iteration-stories'), | 36 | url(r'^(\d+)/stories/(\d+)/', 'project.index', name='iteration-stories'), |
37 | ) | 37 | ) |
diff --git a/snakeplan/projects/views/iterations.py b/snakeplan/projects/views/iterations.py index eae5c89..1f55532 100644 --- a/snakeplan/projects/views/iterations.py +++ b/snakeplan/projects/views/iterations.py | |||
@@ -1,6 +1,6 @@ | |||
1 | from django.views.generic import list_detail | 1 | from django.views.generic import list_detail |
2 | from snakeplan.projects.models import Iteration | 2 | from projects.models import Iteration |
3 | from snakeplan.projects.models import Story | 3 | from projects.models import Story |
4 | 4 | ||
5 | def index(request, iteration_id): | 5 | def index(request, iteration_id): |
6 | stories = Story.objects.filter(iteration=iteration_id) | 6 | stories = Story.objects.filter(iteration=iteration_id) |
diff --git a/snakeplan/projects/views/projects.py b/snakeplan/projects/views/project.py index ca61cf5..29f037f 100644 --- a/snakeplan/projects/views/projects.py +++ b/snakeplan/projects/views/project.py | |||
@@ -22,7 +22,7 @@ Project Views | |||
22 | from django.views.generic import list_detail, create_update | 22 | from django.views.generic import list_detail, create_update |
23 | from django.core.urlresolvers import reverse | 23 | from django.core.urlresolvers import reverse |
24 | 24 | ||
25 | from ..models import Project, Iteration | 25 | from projects.models import Project, Iteration |
26 | 26 | ||
27 | 27 | ||
28 | def index(request): | 28 | def index(request): |
diff --git a/snakeplan/projects/views/stories.py b/snakeplan/projects/views/stories.py index 504d930..93d926f 100644 --- a/snakeplan/projects/views/stories.py +++ b/snakeplan/projects/views/stories.py | |||
@@ -1,6 +1,6 @@ | |||
1 | from django.views.generic import list_detail | 1 | from django.views.generic import list_detail |
2 | from snakeplan.projects.models import Story | 2 | from projects.models import Story |
3 | from snakeplan.projects.models import Task | 3 | from projects.models import Task |
4 | 4 | ||
5 | 5 | ||
6 | def index(request, story_id): | 6 | def index(request, story_id): |
diff --git a/snakeplan/projects/views/tasks.py b/snakeplan/projects/views/tasks.py index 8e74cfa..4719da2 100644 --- a/snakeplan/projects/views/tasks.py +++ b/snakeplan/projects/views/tasks.py | |||
@@ -1,6 +1,6 @@ | |||
1 | from django.views.generic import list_detail | 1 | from django.views.generic import list_detail |
2 | import snakeplan.projects.models as sp_models | 2 | import projects.models as sp_models |
3 | from snakeplan.projects.models import Task | 3 | from projects.models import Task |
4 | 4 | ||
5 | 5 | ||
6 | def index(request, task_id): | 6 | def index(request, task_id): |