semvec/pypi-packages huggingface dataset:
django-rest-framework-angular-resource-generator 0.7.0
Angular resource generator for DRF
License: BSD License

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.
============================================================================================================================================================================================
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:

.. code:: bash

            pip install django-rest-framework-angular-resource-generator

-  add “drf\_ng\_generator” to your INSTALLED\_APPS setting like this:

.. code:: python

    INSTALLED_APPS = (
        ...
        'drf_ng_generator'
    )

-  run next command to create ngResource-file from drf views:

.. code:: bash

            python ./manage.py drf_ng ./path-to-my-static-dir/resources.js

or (to generate the coffee-script file):

.. code:: bash

            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