An open API service indexing awesome lists of open source software.

https://github.com/civilmachines/drf-contact

Contacts App for Django with Django REST API based views
https://github.com/civilmachines/drf-contact

django django-application django-apps django-rest-framework django-rest-framework-addon

Last synced: 30 days ago
JSON representation

Contacts App for Django with Django REST API based views

Awesome Lists containing this project

README

          

# Django REST Framework Contact

**Contact App for Django REST Framework with API Views.**

`Django REST Framework - Contact` is a Django App for creating user contacts. It's view are based upon
`Django REST Framework's GenericAPIView` and hence it contains a RESTful API views also.

I'll like to mention following names for certain contributions:

- **[Civil Machines Technologies Private Limited](https://github.com/civilmahines)**: For providing me platform and
funds for research work. This project is hosted currently with `CMT` only.
- [Aditya Gupta](https://github.com/ag93999): Project Developer. Developed & maintained the code. Author of the project.
- [Himanshu Shankar](https://github.com/iamhssingh): Ideation & Project Manager. Currently maintaining the project

#### Installation

- Download and Install via `pip`
```
pip install drf_contact
```
or

Download and Install via `easy_install`
```
easy_install drf_contact
```
- Add `drf_contact` in `INSTALLED_APPS`

```
INSTALLED_APPS = [
...
'drf_contact',
...
]
```
- Include urls of `drf_contact` in `urls.py`
```
urlpatterns = [
...
path('api/contact/', include('drf_contact.urls')),
...
]

# or

urlpatterns = [
...
url(r'^api/contact/', include('drf_contact.urls')),
...
]
```

- Finally, run `migrate` command
```
python manage.py migrate drf_contact
```