From 3dffaf8cf611d0783203a76c641bde85f95a46be Mon Sep 17 00:00:00 2001 From: Mike Crute Date: Fri, 9 Jul 2010 20:29:01 -0400 Subject: Adding appropriate license headers. --- setup.py | 13 ++++++------- snakeplan/projects/admin.py | 20 ++++++++++++++++++++ snakeplan/projects/forms.py | 20 ++++++++++++++++++++ snakeplan/projects/models.py | 20 ++++++++++++++++++++ snakeplan/projects/tests.py | 23 ----------------------- snakeplan/projects/urls.py | 20 ++++++++++++++++++++ snakeplan/settings.py | 21 +++++++++++++++++++++ snakeplan/urls.py | 20 ++++++++++++++++++++ 8 files changed, 127 insertions(+), 30 deletions(-) delete mode 100755 snakeplan/projects/tests.py diff --git a/setup.py b/setup.py index 0598e9d..3f0bb9e 100755 --- a/setup.py +++ b/setup.py @@ -1,5 +1,11 @@ #!/usr/bin/env python # vim: set filencoding=utf8 +""" +SnakePlan Setup Script + +@author: Mike Crute (mcrute@gmail.com) +@date: July 09, 2010 +""" # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,13 +19,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -""" -SnakePlan Setup Script - -@author: Mike Crute (mcrute@gmail.com) -@organization: SoftGroup Interactive, Inc. -@date: July 09, 2010 -""" import snakeplan 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 @@ +# vim: set filencoding=utf8 +""" +SnakePlan Admin Setup + +@author: Mike Crute (mcrute@gmail.com) +@date: July 09, 2010 +""" + +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from snakeplan.projects import models from django.contrib import admin 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 @@ +# vim: set filencoding=utf8 +""" +SnakePlan Forms + +@author: Mike Crute (mcrute@gmail.com) +@date: July 09, 2010 +""" + +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from django.forms import ModelForm 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 @@ +# vim: set filencoding=utf8 +""" +SnakePlan Project Models + +@author: Mike Crute (mcrute@gmail.com) +@date: July 09, 2010 +""" + +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from django.db import models as m from django.db.models import Model 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 @@ -""" -This file demonstrates two different styles of tests (one doctest and one -unittest). These will both pass when you run "manage.py test". - -Replace these with more appropriate tests for your application. -""" - -from django.test import TestCase - -class SimpleTest(TestCase): - def test_basic_addition(self): - """ - Tests that 1 + 1 always equals 2. - """ - self.failUnlessEqual(1 + 1, 2) - -__test__ = {"doctest": """ -Another way to test that 1 + 1 is equal to 2. - ->>> 1 + 1 == 2 -True -"""} - 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 @@ +# vim: set filencoding=utf8 +""" +SnakePlan Project Urls + +@author: Mike Crute (mcrute@gmail.com) +@date: July 09, 2010 +""" + +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from django.conf.urls.defaults import patterns, url 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 @@ +# vim: set filencoding=utf8 +""" +SnakePlan Settings + +@author: Mike Crute (mcrute@gmail.com) +@date: July 09, 2010 +""" + +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + import os.path 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 @@ +# vim: set filencoding=utf8 +""" +SnakePlan URL Configuration + +@author: Mike Crute (mcrute@gmail.com) +@date: July 09, 2010 +""" + +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from django.views import static from django.conf.urls.defaults import patterns, include -- cgit v1.2.3