Skip to content

Instantly share code, notes, and snippets.

@alesegdia
Created December 1, 2014 16:01
Show Gist options
  • Save alesegdia/c6516b735cfc261fa490 to your computer and use it in GitHub Desktop.
Save alesegdia/c6516b735cfc261fa490 to your computer and use it in GitHub Desktop.
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
PROJECT_ROOT = os.path.join(os.path.join(BASE_DIR, '..'), '..')
LOCALE_PATHS = (
os.path.join(PROJECT_ROOT, 'conf', 'locale'),
'/path/to/project/conf/locale'
)
LANGUAGES = (
('es', 'Spanish'),
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment