No project description provided
Project description
huscy.projects
Requirements
- Python 3.6+
- A supported version of Django
Tox tests on Django versions 2.2 and 3.0.
Installation
To install husy.projects
simply run:
pip install huscy.projects
Configuration
We need to hook huscy.projects
into our project.
- Add
huscy.projects
into yourINSTALLED_APPS
at settings module:
INSTALLED_APPS = (
...
'django_filters',
'rest_framework',
'huscy.projects',
)
- Create
huscy.projects
database tables by running:
python manage.py migrate
Development
After checking out the repository you should activate any virtual environment. Install all development and test dependencies:
make install
Create migration files and database tables:
make makemigrations
make migrate
We assume you're having a running postgres database with a user huscy
and a database also called huscy
.
You can easily create them by running
sudo -u postgres createuser -d huscy
sudo -u postgres psql -c "GRANT ALL PRIVILEGES ON DATABASE huscy TO huscy;"
sudo -u postgres psql -c "ALTER USER huscy WITH PASSWORD '123';"
sudo -u postgres createdb huscy
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
huscy.projects-0.1.0a5.tar.gz
(19.5 kB
view hashes)
Built Distribution
Close
Hashes for huscy.projects-0.1.0a5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 970833cf9f844c3b226a5a0126b40fe33e2c3b897152d911f88b36c9b6bb0432 |
|
MD5 | 7edfe0a0de6678c92f047d95ed831fee |
|
BLAKE2b-256 | 6caeac1b1ae6527a84d45873a4febce0f4b1b814c369372d9bf5389120be66da |