Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

pep8

  • Loading branch information...
commit 3aba0874c7426b8b03f3afc707aabfbcaf766e28 1 parent c0147ef
@d1ffuz0r authored
View
2  __init__.py
@@ -1 +1 @@
-__version__ = '0.0.2'
+__version__ = '0.0.2'
View
2  lulz/__init__.py
@@ -1 +1 @@
-__version__ = '0.0.2'
+__version__ = '0.0.2'
View
1  lulz/admin.py
@@ -30,6 +30,7 @@ def unpublish(self, request, queryset):
self.message_user(request, "%s из опубликованых" % message_bit)
unpublish.short_description = u"Убрать из опубликованых"
+
class AdminCategory(admin.ModelAdmin):
list_display = ("name",)
View
1  lulz/tests.py
@@ -159,6 +159,7 @@ def test_like_ajax_false(self):
})
self.assertContains(request, text='{"success": false}')
+
class ModelsTest(TestCase):
def setUp(self):
self.image = Image.objects.create(name="phpp",
View
2  manage.py
@@ -2,7 +2,7 @@
from django.core.management import execute_manager
import imp
try:
- imp.find_module('settings') # Assumed to be in the same directory.
+ imp.find_module('settings') # Assumed to be in the same directory.
except ImportError:
import sys
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__)
View
2  settings.py
@@ -11,7 +11,7 @@
DATABASES = {
'default': {
- 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
+ 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
'NAME': 'lulz.db', # Or path to database file if using sqlite3.
'USER': '', # Not used with sqlite3.
'PASSWORD': '', # Not used with sqlite3.
Please sign in to comment.
Something went wrong with that request. Please try again.