Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

pep8

  • Loading branch information...
commit 3aba0874c7426b8b03f3afc707aabfbcaf766e28 1 parent c0147ef
Roman Gladkov authored December 12, 2011
2  __init__.py
... ...
@@ -1 +1 @@
1  
-__version__ = '0.0.2'
  1
+__version__ = '0.0.2'
2  lulz/__init__.py
... ...
@@ -1 +1 @@
1  
-__version__ = '0.0.2'
  1
+__version__ = '0.0.2'
1  lulz/admin.py
@@ -30,6 +30,7 @@ def unpublish(self, request, queryset):
30 30
         self.message_user(request, "%s из опубликованых" % message_bit)
31 31
     unpublish.short_description = u"Убрать из опубликованых"
32 32
 
  33
+
33 34
 class AdminCategory(admin.ModelAdmin):
34 35
     list_display = ("name",)
35 36
 
1  lulz/tests.py
@@ -159,6 +159,7 @@ def test_like_ajax_false(self):
159 159
         })
160 160
         self.assertContains(request, text='{"success": false}')
161 161
 
  162
+
162 163
 class ModelsTest(TestCase):
163 164
     def setUp(self):
164 165
         self.image = Image.objects.create(name="phpp",
2  manage.py
@@ -2,7 +2,7 @@
2 2
 from django.core.management import execute_manager
3 3
 import imp
4 4
 try:
5  
-    imp.find_module('settings') # Assumed to be in the same directory.
  5
+    imp.find_module('settings')  # Assumed to be in the same directory.
6 6
 except ImportError:
7 7
     import sys
8 8
     sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n" % __file__)
2  settings.py
@@ -11,7 +11,7 @@
11 11
 
12 12
 DATABASES = {
13 13
     'default': {
14  
-        'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
  14
+        'ENGINE': 'django.db.backends.sqlite3',  # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
15 15
         'NAME': 'lulz.db',                      # Or path to database file if using sqlite3.
16 16
         'USER': '',                      # Not used with sqlite3.
17 17
         'PASSWORD': '',                  # Not used with sqlite3.

0 notes on commit 3aba087

Please sign in to comment.
Something went wrong with that request. Please try again.