Skip to content

Commit

Permalink
Merge pull request #113 from Shivam1904/master
Browse files Browse the repository at this point in the history
fixed flake8 issues
  • Loading branch information
deshraj committed May 18, 2016
2 parents e0887d9 + 3df6be2 commit a90deea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions HTTP_200/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,15 @@
# https://docs.djangoproject.com/en/1.8/ref/settings/#databases

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
}

# DATABASES = {
# 'default': {
# 'ENGINE': 'django.db.backends.mysql',
# 'ENGINE': 'django.db.backends.mysql',
# 'NAME': config_keys.DATABASE_NAME,
# 'USER': config_keys.MYSQL_USERNAME,
# 'PASSWORD': config_keys.MYSQL_PASSWORD,
Expand Down
4 changes: 2 additions & 2 deletions notices/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

class NoticeAdmin(admin.ModelAdmin):
list_display = ('faculty', 'title', 'course_branch_year', 'created', 'modified', 'visible_for_student',
'visible_for_faculty', 'visible_for_hod', 'visible_for_others', 'visible_for_management'
)
'visible_for_faculty', 'visible_for_hod', 'visible_for_others', 'visible_for_management'
)
list_display_links = ('title', 'faculty')
list_filter = ('faculty', 'category')
list_per_page = 15
Expand Down

0 comments on commit a90deea

Please sign in to comment.