Skip to main content

Lots of helper functions and useful widgets for the django REST Framework.

Project description

# Overview:
This package contains various useful helper functions for the django REST framework.


# Installation:
- Add a requirement to your requirements.txt:

`ai-drf-core`

- Add module to `INSTALLED_APPS`:

`ai-drf`

- Run migrations

# Contribute

- Clone the project locally
- Create a new branch for your feature
- Change the dependency in your requirements.txt to a local (editable) one that points to your local file system:
```
-e /Users/myuser/workspace/ai-drf-core
```
- Ensure the code passes the tests
- Run:

`python setup.py develop`

- Create a pull request

# Publish to PyPI

- Run:

`python setup.py sdist upload`

If you run into trouble, please create a file in your home directory: ~/.pypirc

```
[distutils]
index-servers =
pypi

[pypi]
repository: https://upload.pypi.org/legacy/
username:
password:
```


# Tests

- Check coverage

`pytest --cov=ai-drf-core`

- Run tests

`pytest`

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ai-drf-core, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size ai-drf-core-1.0.0.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page