Skip to main content

Angular resource generator for DRF

Project description

Command for django that generates AngularJS services, compatible with ngResource.$resource, that provide client-side representation of the models and remote methods in angular-application. For more info:

Quick start

  • install using pip:
pip install django-rest-framework-angular-resource-generator
  • add “drf_ng_generator” to your INSTALLED_APPS setting like this:
  • run next command to create ngResource-file from drf views:
python ./ drf_ng ./path-to-my-static-dir/resources.js

or (to generate the coffee-script file):

python ./ drf_ng ./path-to-my-static-dir/

For more info:

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 django-rest-framework-angular-resource-generator, version 0.7.0
Filename, size File type Python version Upload date Hashes
Filename, size django_rest_framework_angular_resource_generator-0.7.0-py2-none-any.whl (13.8 kB) File type Wheel Python version 2.7 Upload date Hashes View hashes
Filename, size django-rest-framework-angular-resource-generator-0.7.0.tar.gz (8.2 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