This repository has been archived by the owner on May 19, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ce536ed
commit 0c41862
Showing
20 changed files
with
45 additions
and
32 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
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
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,3 +1,10 @@ | ||
__title__ = 'slim' | ||
__version__ = '0.7.3' | ||
__build__ = 0x000012 | ||
__author__ = 'Artur Barseghyan' | ||
__copyright__ = 'Copyright (c) 2013-2014 Artur Barseghyan' | ||
__license__ = 'GPL 2.0/LGPL 2.1' | ||
|
||
from slim.helpers import * | ||
from slim.models import * | ||
from slim.models.fields import * |
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,7 +1,7 @@ | ||
__title__ = 'slim.admin' | ||
__version__ = '0.7' | ||
__build__ = 0x000007 | ||
__author__ = 'Artur Barseghyan <[email protected]>' | ||
__copyright__ = 'Copyright (c) 2013-2014 Artur Barseghyan' | ||
__license__ = 'GPL 2.0/LGPL 2.1' | ||
__all__ = ('SlimAdmin',) | ||
|
||
from django.utils.translation import ugettext_lazy as _ | ||
|
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,7 +1,7 @@ | ||
__title__ = 'slim.conf' | ||
__version__ = '0.7' | ||
__build__ = 0x000007 | ||
__author__ = 'Artur Barseghyan <[email protected]>' | ||
__copyright__ = 'Copyright (c) 2013-2014 Artur Barseghyan' | ||
__license__ = 'GPL 2.0/LGPL 2.1' | ||
__all__ = ('get_setting',) | ||
|
||
from django.conf import settings | ||
|
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,7 +1,7 @@ | ||
__title__ = 'slim.defaults' | ||
__version__ = '0.7' | ||
__build__ = 0x000007 | ||
__author__ = 'Artur Barseghyan <[email protected]>' | ||
__copyright__ = 'Copyright (c) 2013-2014 Artur Barseghyan' | ||
__license__ = 'GPL 2.0/LGPL 2.1' | ||
__all__ = ('USE_LOCALEURL', 'USE_LOCAL_LANGUAGE_NAMES', 'ENABLE_MONKEY_PATCHING') | ||
|
||
# If set to False, `django-localeurl` usage in `slim` is force-disabled. | ||
|
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,7 +1,7 @@ | ||
__title__ = 'slim.exceptions' | ||
__version__ = '0.7' | ||
__build__ = 0x000007 | ||
__author__ = 'Artur Barseghyan <[email protected]>' | ||
__copyright__ = 'Copyright (c) 2013-2014 Artur Barseghyan' | ||
__license__ = 'GPL 2.0/LGPL 2.1' | ||
__all__ = ('LocaleurlImportError',) | ||
|
||
class LocaleurlImportError(ImportError): | ||
|
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,7 +1,7 @@ | ||
__title__ = 'slim.helpers' | ||
__version__ = '0.7' | ||
__build__ = 0x000007 | ||
__author__ = 'Artur Barseghyan <[email protected]>' | ||
__copyright__ = 'Copyright (c) 2013-2014 Artur Barseghyan' | ||
__license__ = 'GPL 2.0/LGPL 2.1' | ||
__all__ = ('get_default_language', 'default_language', 'get_languages', 'get_languages_keys', \ | ||
'get_language_from_request', 'get_languages_dict', 'admin_change_url', 'admin_add_url', 'smart_resolve') | ||
|
||
|
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,7 +1,7 @@ | ||
__title__ = 'slim.models.__init__' | ||
__version__ = '0.7' | ||
__build__ = 0x000007 | ||
__author__ = 'Artur Barseghyan <[email protected]>' | ||
__copyright__ = 'Copyright (c) 2013-2014 Artur Barseghyan' | ||
__license__ = 'GPL 2.0/LGPL 2.1' | ||
__all__ = ('Slim', 'SlimBaseModel') | ||
|
||
from six import PY2 | ||
|
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,7 +1,7 @@ | ||
__title__ = 'slim.models.decorators' | ||
__version__ = '0.7' | ||
__build__ = 0x000007 | ||
__author__ = 'Artur Barseghyan <[email protected]>' | ||
__copyright__ = 'Copyright (c) 2013-2014 Artur Barseghyan' | ||
__license__ = 'GPL 2.0/LGPL 2.1' | ||
__all__ = ('prepend_language', 'localeurl_prepend_language', 'auto_prepend_language') | ||
|
||
from slim.utils import locale_url_is_installed | ||
|
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,7 +1,7 @@ | ||
__title__ = 'slim.models.fields' | ||
__version__ = '0.7' | ||
__build__ = 0x000007 | ||
__author__ = 'Artur Barseghyan <[email protected]>' | ||
__copyright__ = 'Copyright (c) 2013-2014 Artur Barseghyan' | ||
__license__ = 'GPL 2.0/LGPL 2.1' | ||
__all__ = ('LanguageField', 'SimpleLanguageField') | ||
|
||
from six import PY2 | ||
|
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,7 +1,7 @@ | ||
__title__ = 'slim.settings' | ||
__version__ = '0.7' | ||
__build__ = 0x000007 | ||
__author__ = 'Artur Barseghyan <[email protected]>' | ||
__copyright__ = 'Copyright (c) 2013-2014 Artur Barseghyan' | ||
__license__ = 'GPL 2.0/LGPL 2.1' | ||
__all__ = ('USE_LOCALEURL', 'USE_LOCAL_LANGUAGE_NAMES', 'ENABLE_MONKEY_PATCHING') | ||
|
||
from slim.conf import get_setting | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
__title__ = 'slim.tests' | ||
__author__ = 'Artur Barseghyan <[email protected]>' | ||
__copyright__ = 'Copyright (c) 2013 Artur Barseghyan' | ||
__copyright__ = 'Copyright (c) 2013-2014 Artur Barseghyan' | ||
__license__ = 'GPL 2.0/LGPL 2.1' | ||
|
||
import unittest | ||
|
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,7 +1,7 @@ | ||
__title__ = 'slim.translations' | ||
__version__ = '0.7' | ||
__build__ = 0x000007 | ||
__author__ = 'Artur Barseghyan <[email protected]>' | ||
__copyright__ = 'Copyright (c) 2013-2014 Artur Barseghyan' | ||
__license__ = 'GPL 2.0/LGPL 2.1' | ||
__all__ = ('short_language_code', 'is_primary_language') | ||
|
||
from django.utils import translation | ||
|
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,7 +1,7 @@ | ||
__title__ = 'slim.utils' | ||
__version__ = '0.7' | ||
__build__ = 0x000007 | ||
__author__ = 'Artur Barseghyan <[email protected]>' | ||
__copyright__ = 'Copyright (c) 2013-2014 Artur Barseghyan' | ||
__license__ = 'GPL 2.0/LGPL 2.1' | ||
__all__ = ('locale_url_is_installed',) | ||
|
||
from django.conf import settings | ||
|