Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved the max allowed remote image size to settings; added deletion o…
…f image files' directory to test case.
- Loading branch information
Kai
committed
Feb 23, 2011
1 parent
79a9f3f
commit fb6541b
Showing
3 changed files
with
27 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
DATABASES = { | ||
'default': { | ||
'ENGINE': 'sqlite3', | ||
'NAME': '/tmp/metaimage.db', | ||
} | ||
'NAME': '/tmp/metaimage.db'} | ||
} | ||
|
||
INSTALLED_APPS = [ | ||
'django.contrib.auth', | ||
'django.contrib.contenttypes', | ||
'django.contrib.sessions', | ||
'metaimage', | ||
'photologue', | ||
'tagging', | ||
] | ||
'tagging'] | ||
|
||
METAIMAGE_MAX_REMOTE_IMAGE_SIZE = 1048576 # 1 MB | ||
|
||
ROOT_URLCONF = ['metaimage.urls'] |