Main functionalities for the curator core project
Project description
This Django reusable app contains the main functionalities for the curator core project.
Pre-requisites
Install git
Install python
Install pip
Create a virtual env
Installation
Automated installation
Manual installation
$ git clone https://myrepo.com/core_main_app.git
$ cd core_main_app
$ python setup.py
$ pip install sdist/*.tar.gz
Configuration
1. Add “core_main_app” and “tz_detect” to your INSTALLED_APPS setting like this
INSTALLED_APPS = [
...
"tz_detect",
"core_main_app",
]
2. Add the middleware required by tz_detect
MIDDLEWARE = (
...
'tz_detect.middleware.TimezoneMiddleware',
)
3. Include the core_main_app URLconf in your project urls.py like this
url(r'^', include("core_main_app.urls")),
i18n
Before running the project, don’t forget to compile the translation file at project level. i18n uses the gettext package, so please make sure it is installed prior using this command.
$ python manage.py compilemessages
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
core_main_app-1.0.0rc1.tar.gz
(1.3 MB
view hashes)