Skip to main content

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: https://github.com/gerasev-kirill/django-rest-framework-angular-resource-generator

Quick start

  • install using pip:

pip install django-rest-framework-angular-resource-generator
  • add “drf_ng_generator” to your INSTALLED_APPS setting like this:

INSTALLED_APPS = (
    ...
    'drf_ng_generator'
)
  • run next command to create ngResource-file from drf views:

python ./manage.py drf_ng ./path-to-my-static-dir/resources.js

or (to generate the coffee-script file):

python ./manage.py drf_ng ./path-to-my-static-dir/resources.coffee

For more info: https://github.com/gerasev-kirill/django-rest-framework-angular-resource-generator

Release files for django-rest-framework-angular-resource-generator 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-rest-framework-angular-resource-generator 0.7.0
File Size Uploaded
django-rest-framework-angular-resource-generator-0.7.0.tar.gz 8.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-rest-framework-angular-resource-generator 0.7.0
File Interpreter ABI Platform
django_rest_framework_angular_resource_generator-0.7.0-py2-none-any.whl Python 2 none any Details

Total release size: 22.0 kB

Release files / django-rest-framework-angular-resource-generator-0.7.0.tar.gz

Download URL django-rest-framework-angular-resource-generator-0.7.0.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
31eb76a8c7381977f14c7a220453645679d9f28bbca8ff1c2c0e5db50845c536
BLAKE2b-256 checksum
How to use checksums
20db8030261c013ef626de6c1b8767bea0519c6c2ab8a934abddd1b6ae4564fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_rest_framework_angular_resource_generator-0.7.0-py2-none-any.whl

Download URL django_rest_framework_angular_resource_generator-0.7.0-py2-none-any.whl
Size 13.8 kB
Tags Python 2
SHA-256 checksum
How to use checksums
5d4c4b0ea234e955950d955a600ea53db930245ced7133e637661cdb8b0a7292
BLAKE2b-256 checksum
How to use checksums
a920a346f5178c77b7b09b8cbaabf74ad5b9677085ad16d0551d219e82dc1de1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page