aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Crute <mcrute@gmail.com>2010-07-09 20:29:01 -0400
committerMike Crute <mcrute@gmail.com>2010-07-09 20:29:01 -0400
commit3dffaf8cf611d0783203a76c641bde85f95a46be (patch)
tree8589862c3c69da12c0d5af2395f0ee9e3721b539
parente41afb1e9e0d26650f0ea30f3308c0bb471cc2c6 (diff)
downloadsnakeplan-3dffaf8cf611d0783203a76c641bde85f95a46be.tar.bz2
snakeplan-3dffaf8cf611d0783203a76c641bde85f95a46be.tar.xz
snakeplan-3dffaf8cf611d0783203a76c641bde85f95a46be.zip
Adding appropriate license headers.
-rwxr-xr-xsetup.py13
-rw-r--r--snakeplan/projects/admin.py20
-rw-r--r--snakeplan/projects/forms.py20
-rwxr-xr-xsnakeplan/projects/models.py20
-rwxr-xr-xsnakeplan/projects/tests.py23
-rw-r--r--snakeplan/projects/urls.py20
-rw-r--r--snakeplan/settings.py21
-rw-r--r--snakeplan/urls.py20
8 files changed, 127 insertions, 30 deletions
diff --git a/setup.py b/setup.py
index 0598e9d..3f0bb9e 100755
--- a/setup.py
+++ b/setup.py
@@ -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"""
4SnakePlan 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"""
17SnakePlan Setup Script
18
19@author: Mike Crute (mcrute@gmail.com)
20@organization: SoftGroup Interactive, Inc.
21@date: July 09, 2010
22"""
23 22
24import snakeplan 23import snakeplan
25from setuptools import setup, find_packages 24from 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"""
3SnakePlan 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
1from snakeplan.projects import models 21from snakeplan.projects import models
2from django.contrib import admin 22from 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"""
3SnakePlan 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
1from django.forms import ModelForm 21from django.forms import ModelForm
2 22
3import models as project_models 23import 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"""
3SnakePlan 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
1from django.db import models as m 21from django.db import models as m
2from django.db.models import Model 22from django.db.models import Model
3from django.contrib.auth.models import User 23from 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"""
2This file demonstrates two different styles of tests (one doctest and one
3unittest). These will both pass when you run "manage.py test".
4
5Replace these with more appropriate tests for your application.
6"""
7
8from django.test import TestCase
9
10class 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": """
18Another way to test that 1 + 1 is equal to 2.
19
20>>> 1 + 1 == 2
21True
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"""
3SnakePlan 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
1from django.conf.urls.defaults import patterns, url 21from django.conf.urls.defaults import patterns, url
2 22
3urlpatterns = patterns('snakeplan.projects.views', 23urlpatterns = 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"""
3SnakePlan 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
1import os.path 22import os.path
2 23
3PROJECT_DIR = os.path.abspath(os.path.dirname(__file__)) 24PROJECT_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"""
3SnakePlan 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
1from django.views import static 21from django.views import static
2from django.conf.urls.defaults import patterns, include 22from django.conf.urls.defaults import patterns, include
3 23