19 lines
612 B
Python
19 lines
612 B
Python
#!/usr/bin/env python
|
|
# vim:fileencoding=utf-8
|
|
|
|
__author__ = 'zeus'
|
|
from imagestore.utils import load_class, get_model_string
|
|
from django.conf import settings
|
|
|
|
Album = load_class(getattr(settings, 'IMAGESTORE_ALBUM_MODEL', 'imagestore.models.album.Album'))
|
|
Image = load_class(getattr(settings, 'IMAGESTORE_IMAGE_MODEL', 'imagestore.models.image.Image'))
|
|
|
|
# This labels and classnames used to generate permissons labels
|
|
image_applabel = Image._meta.app_label
|
|
image_classname = Image.__name__.lower()
|
|
|
|
album_applabel = Album._meta.app_label
|
|
album_classname = Album.__name__.lower()
|
|
|
|
|
|
from upload import AlbumUpload |