Import cleanup
authorJérôme Benoit <jerome.benoit@grenouille.com>
Sun, 24 Nov 2013 11:47:13 +0000 (12:47 +0100)
committerJérôme Benoit <jerome.benoit@grenouille.com>
Sun, 24 Nov 2013 11:47:13 +0000 (12:47 +0100)
.project [new file with mode: 0644]
.pydevproject [new file with mode: 0644]
comicsporn/admin.py
comicsporn/models.py

diff --git a/.project b/.project
new file mode 100644 (file)
index 0000000..7c88282
--- /dev/null
+++ b/.project
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>djangowork</name>
+       <comment></comment>
+       <projects>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.python.pydev.PyDevBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.python.pydev.django.djangoNature</nature>
+               <nature>org.python.pydev.pythonNature</nature>
+       </natures>
+</projectDescription>
diff --git a/.pydevproject b/.pydevproject
new file mode 100644 (file)
index 0000000..222e682
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?eclipse-pydev version="1.0"?><pydev_project>
+<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property>
+<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.7</pydev_property>
+<pydev_pathproperty name="org.python.pydev.PROJECT_SOURCE_PATH">
+<path>/${PROJECT_DIR_NAME}</path>
+</pydev_pathproperty>
+<pydev_variables_property name="org.python.pydev.PROJECT_VARIABLE_SUBSTITUTION">
+<key>DJANGO_MANAGE_LOCATION</key>
+<value>manage.py</value>
+</pydev_variables_property>
+</pydev_project>
index 6e1f222af9cf4688bd82cc9d7f225b1e8e6f8083..45d0e808ea314d471460685dca1cf48bfb087965 100644 (file)
@@ -1,9 +1,11 @@
 from django.contrib import admin
 from django.contrib.auth.admin import UserAdmin
 from django.contrib.auth.models import User
-from comicsporn.models import Style, UserProfile, Comic_block, Comic
 from django.utils.translation import ugettext as _
 
+from comicsporn.models import Style, UserProfile, Comic_block, Comic
+
+
 admin.site.register(Style)
 
 class UserProfileInline(admin.StackedInline):
index e0ed5dbd84d7d7561a0ac35a2f9fac44d1f4e871..e162d0447e8a5383b4c9fc7c3ab930856c56a82c 100644 (file)
@@ -1,7 +1,8 @@
-from django.db import models
 from django.contrib.auth.models import User
+from django.db import models
 from django.utils.translation import ugettext_lazy as _
 
+
 # A very basic data model to begin with
 # TODO: 
 # - Create sensible default options with translation; 
@@ -9,7 +10,6 @@ from django.utils.translation import ugettext_lazy as _
 # - Ensure pertinence of the comics building way : block by block;
 # - Test upload to images file outside the DB ...;
 # - ...
-
 class Style(models.Model):                                                    
        """
        TODO: The choice list should be in DB