diff options
-rwxr-xr-x | setup.py | 13 | ||||
-rw-r--r-- | snakeplan/projects/admin.py | 20 | ||||
-rw-r--r-- | snakeplan/projects/forms.py | 20 | ||||
-rwxr-xr-x | snakeplan/projects/models.py | 20 | ||||
-rwxr-xr-x | snakeplan/projects/tests.py | 23 | ||||
-rw-r--r-- | snakeplan/projects/urls.py | 20 | ||||
-rw-r--r-- | snakeplan/settings.py | 21 | ||||
-rw-r--r-- | snakeplan/urls.py | 20 |
8 files changed, 127 insertions, 30 deletions
@@ -1,5 +1,11 @@ | |||
1 | #!/usr/bin/env python | 1 | #!/usr/bin/env python |
2 | # vim: set filencoding=utf8 | 2 | # vim: set filencoding=utf8 |
3 | """ | ||
4 | SnakePlan Setup Script | ||
5 | |||
6 | @author: Mike Crute (mcrute@gmail.com) | ||
7 | @date: July 09, 2010 | ||
8 | """ | ||
3 | 9 | ||
4 | # Licensed under the Apache License, Version 2.0 (the "License"); | 10 | # Licensed under the Apache License, Version 2.0 (the "License"); |
5 | # you may not use this file except in compliance with the License. | 11 | # you may not use this file except in compliance with the License. |
@@ -13,13 +19,6 @@ | |||
13 | # See the License for the specific language governing permissions and | 19 | # See the License for the specific language governing permissions and |
14 | # limitations under the License. | 20 | # limitations under the License. |
15 | 21 | ||
16 | """ | ||
17 | SnakePlan Setup Script | ||
18 | |||
19 | @author: Mike Crute (mcrute@gmail.com) | ||
20 | @organization: SoftGroup Interactive, Inc. | ||
21 | @date: July 09, 2010 | ||
22 | """ | ||
23 | 22 | ||
24 | import snakeplan | 23 | import snakeplan |
25 | from setuptools import setup, find_packages | 24 | from setuptools import setup, find_packages |
diff --git a/snakeplan/projects/admin.py b/snakeplan/projects/admin.py index 7471356..3970fb0 100644 --- a/snakeplan/projects/admin.py +++ b/snakeplan/projects/admin.py | |||
@@ -1,3 +1,23 @@ | |||
1 | # vim: set filencoding=utf8 | ||
2 | """ | ||
3 | SnakePlan Admin Setup | ||
4 | |||
5 | @author: Mike Crute (mcrute@gmail.com) | ||
6 | @date: July 09, 2010 | ||
7 | """ | ||
8 | |||
9 | # Licensed under the Apache License, Version 2.0 (the "License"); | ||
10 | # you may not use this file except in compliance with the License. | ||
11 | # You may obtain a copy of the License at | ||
12 | # | ||
13 | # http://www.apache.org/licenses/LICENSE-2.0 | ||
14 | # | ||
15 | # Unless required by applicable law or agreed to in writing, software | ||
16 | # distributed under the License is distributed on an "AS IS" BASIS, | ||
17 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
18 | # See the License for the specific language governing permissions and | ||
19 | # limitations under the License. | ||
20 | |||
1 | from snakeplan.projects import models | 21 | from snakeplan.projects import models |
2 | from django.contrib import admin | 22 | from django.contrib import admin |
3 | 23 | ||
diff --git a/snakeplan/projects/forms.py b/snakeplan/projects/forms.py index a218394..d74d9b1 100644 --- a/snakeplan/projects/forms.py +++ b/snakeplan/projects/forms.py | |||
@@ -1,3 +1,23 @@ | |||
1 | # vim: set filencoding=utf8 | ||
2 | """ | ||
3 | SnakePlan Forms | ||
4 | |||
5 | @author: Mike Crute (mcrute@gmail.com) | ||
6 | @date: July 09, 2010 | ||
7 | """ | ||
8 | |||
9 | # Licensed under the Apache License, Version 2.0 (the "License"); | ||
10 | # you may not use this file except in compliance with the License. | ||
11 | # You may obtain a copy of the License at | ||
12 | # | ||
13 | # http://www.apache.org/licenses/LICENSE-2.0 | ||
14 | # | ||
15 | # Unless required by applicable law or agreed to in writing, software | ||
16 | # distributed under the License is distributed on an "AS IS" BASIS, | ||
17 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
18 | # See the License for the specific language governing permissions and | ||
19 | # limitations under the License. | ||
20 | |||
1 | from django.forms import ModelForm | 21 | from django.forms import ModelForm |
2 | 22 | ||
3 | import models as project_models | 23 | import models as project_models |
diff --git a/snakeplan/projects/models.py b/snakeplan/projects/models.py index d1fa44c..f6a54f1 100755 --- a/snakeplan/projects/models.py +++ b/snakeplan/projects/models.py | |||
@@ -1,3 +1,23 @@ | |||
1 | # vim: set filencoding=utf8 | ||
2 | """ | ||
3 | SnakePlan Project Models | ||
4 | |||
5 | @author: Mike Crute (mcrute@gmail.com) | ||
6 | @date: July 09, 2010 | ||
7 | """ | ||
8 | |||
9 | # Licensed under the Apache License, Version 2.0 (the "License"); | ||
10 | # you may not use this file except in compliance with the License. | ||
11 | # You may obtain a copy of the License at | ||
12 | # | ||
13 | # http://www.apache.org/licenses/LICENSE-2.0 | ||
14 | # | ||
15 | # Unless required by applicable law or agreed to in writing, software | ||
16 | # distributed under the License is distributed on an "AS IS" BASIS, | ||
17 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
18 | # See the License for the specific language governing permissions and | ||
19 | # limitations under the License. | ||
20 | |||
1 | from django.db import models as m | 21 | from django.db import models as m |
2 | from django.db.models import Model | 22 | from django.db.models import Model |
3 | from django.contrib.auth.models import User | 23 | from django.contrib.auth.models import User |
diff --git a/snakeplan/projects/tests.py b/snakeplan/projects/tests.py deleted file mode 100755 index 2247054..0000000 --- a/snakeplan/projects/tests.py +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | """ | ||
2 | This file demonstrates two different styles of tests (one doctest and one | ||
3 | unittest). These will both pass when you run "manage.py test". | ||
4 | |||
5 | Replace these with more appropriate tests for your application. | ||
6 | """ | ||
7 | |||
8 | from django.test import TestCase | ||
9 | |||
10 | class SimpleTest(TestCase): | ||
11 | def test_basic_addition(self): | ||
12 | """ | ||
13 | Tests that 1 + 1 always equals 2. | ||
14 | """ | ||
15 | self.failUnlessEqual(1 + 1, 2) | ||
16 | |||
17 | __test__ = {"doctest": """ | ||
18 | Another way to test that 1 + 1 is equal to 2. | ||
19 | |||
20 | >>> 1 + 1 == 2 | ||
21 | True | ||
22 | """} | ||
23 | |||
diff --git a/snakeplan/projects/urls.py b/snakeplan/projects/urls.py index ca1077a..cc273a2 100644 --- a/snakeplan/projects/urls.py +++ b/snakeplan/projects/urls.py | |||
@@ -1,3 +1,23 @@ | |||
1 | # vim: set filencoding=utf8 | ||
2 | """ | ||
3 | SnakePlan Project Urls | ||
4 | |||
5 | @author: Mike Crute (mcrute@gmail.com) | ||
6 | @date: July 09, 2010 | ||
7 | """ | ||
8 | |||
9 | # Licensed under the Apache License, Version 2.0 (the "License"); | ||
10 | # you may not use this file except in compliance with the License. | ||
11 | # You may obtain a copy of the License at | ||
12 | # | ||
13 | # http://www.apache.org/licenses/LICENSE-2.0 | ||
14 | # | ||
15 | # Unless required by applicable law or agreed to in writing, software | ||
16 | # distributed under the License is distributed on an "AS IS" BASIS, | ||
17 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
18 | # See the License for the specific language governing permissions and | ||
19 | # limitations under the License. | ||
20 | |||
1 | from django.conf.urls.defaults import patterns, url | 21 | from django.conf.urls.defaults import patterns, url |
2 | 22 | ||
3 | urlpatterns = patterns('snakeplan.projects.views', | 23 | urlpatterns = patterns('snakeplan.projects.views', |
diff --git a/snakeplan/settings.py b/snakeplan/settings.py index 0a9d681..69b177c 100644 --- a/snakeplan/settings.py +++ b/snakeplan/settings.py | |||
@@ -1,3 +1,24 @@ | |||
1 | # vim: set filencoding=utf8 | ||
2 | """ | ||
3 | SnakePlan Settings | ||
4 | |||
5 | @author: Mike Crute (mcrute@gmail.com) | ||
6 | @date: July 09, 2010 | ||
7 | """ | ||
8 | |||
9 | # Licensed under the Apache License, Version 2.0 (the "License"); | ||
10 | # you may not use this file except in compliance with the License. | ||
11 | # You may obtain a copy of the License at | ||
12 | # | ||
13 | # http://www.apache.org/licenses/LICENSE-2.0 | ||
14 | # | ||
15 | # Unless required by applicable law or agreed to in writing, software | ||
16 | # distributed under the License is distributed on an "AS IS" BASIS, | ||
17 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
18 | # See the License for the specific language governing permissions and | ||
19 | # limitations under the License. | ||
20 | |||
21 | |||
1 | import os.path | 22 | import os.path |
2 | 23 | ||
3 | PROJECT_DIR = os.path.abspath(os.path.dirname(__file__)) | 24 | PROJECT_DIR = os.path.abspath(os.path.dirname(__file__)) |
diff --git a/snakeplan/urls.py b/snakeplan/urls.py index e2620d6..59b85db 100644 --- a/snakeplan/urls.py +++ b/snakeplan/urls.py | |||
@@ -1,3 +1,23 @@ | |||
1 | # vim: set filencoding=utf8 | ||
2 | """ | ||
3 | SnakePlan URL Configuration | ||
4 | |||
5 | @author: Mike Crute (mcrute@gmail.com) | ||
6 | @date: July 09, 2010 | ||
7 | """ | ||
8 | |||
9 | # Licensed under the Apache License, Version 2.0 (the "License"); | ||
10 | # you may not use this file except in compliance with the License. | ||
11 | # You may obtain a copy of the License at | ||
12 | # | ||
13 | # http://www.apache.org/licenses/LICENSE-2.0 | ||
14 | # | ||
15 | # Unless required by applicable law or agreed to in writing, software | ||
16 | # distributed under the License is distributed on an "AS IS" BASIS, | ||
17 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
18 | # See the License for the specific language governing permissions and | ||
19 | # limitations under the License. | ||
20 | |||
1 | from django.views import static | 21 | from django.views import static |
2 | from django.conf.urls.defaults import patterns, include | 22 | from django.conf.urls.defaults import patterns, include |
3 | 23 | ||