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
- Host: GitHub
- URL: https://github.com/civilmachines/drf-contact
- Owner: civilmachines
- License: gpl-3.0
- Created: 2018-07-06T12:02:44.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-23T07:26:19.000Z (over 7 years ago)
- Last Synced: 2025-02-01T00:23:36.756Z (10 months ago)
- Topics: django, django-application, django-apps, django-rest-framework, django-rest-framework-addon
- Language: Python
- Size: 21.5 KB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```