Git Product home page Git Product logo

angular-django's Introduction

angular-django

pip-rating badge Latest Tests CI build status Latest PyPI version Python versions Code Climate Test coverage

Angular Django

Work in Angular as in Django

Angular Django is a framework to work in Angular as in Django. Use the Django classes in Angular to build forms and data grids in minutes. A demo is available on the website.

Angular-django consists of two packages: a package for Angular and an optional package for Django. To install the Angular package:

$ npm i angular-django

To install the Django package:

$ pip install -U angular-django

Full instructions are available on the website.

Features

Some features available:

  • Use the methods and filters available in the Django Rest Framework to work with the API.
  • Build forms in minutes. Includes validation on frontend and backend. Selector choices are built with the server.
  • Easy-to-implement filtering, paging, and searching listings.
  • Use your Django classes and types in Angular. The library will transform the API values to the correct types.

angular-django's People

Contributors

nekmo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

angular-django's Issues

NPM Package not built

Library didn't built before publish,

Work around is, download the angular library manualy build and link the npm library,

use

ng build
cd /dist
npm link
cd <your-project-path>
npm link angular-django

in tsconfig paste

    "paths": {
      "angular-django": [
        "./node_modules/angular-django/angular-django",
        "./node_modules/angular-django"
      ]
    }

Fix production errors

ERROR TypeError: Class constructor e cannot be invoked without 'new'
    at main-es2015.8cb8d6423a44264a28e4.js:formatted:22483
    at Array.forEach (<anonymous>)
    at e.transformData (main-es2015.8cb8d6423a44264a28e4.js:formatted:22481)
    at new C (main-es2015.8cb8d6423a44264a28e4.js:formatted:22475)
    at new e (common-es2015.c43fcca6eec33e7d8da1.js:1)
    at main-es2015.8cb8d6423a44264a28e4.js:formatted:22363
    at Array.map (<anonymous>)
    at e.convert (main-es2015.8cb8d6423a44264a28e4.js:formatted:22363)
    at o.project (main-es2015.8cb8d6423a44264a28e4.js:formatted:22358)
    at o._next (main-es2015.8cb8d6423a44264a28e4.js:formatted:20611)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.