Angular JS and Django
NickName:BluePython Ask DateTime:2013-09-14T09:42:20

Angular JS and Django

This might be a silly question that might relate to my ignorance about angular js, but is it possible to use a Django framework mostly for backend and database interactions, in conjunction with an Angular JS app/website?

I know angular js still requires Node Js for serving the data so, it seems like that would be a conflict. There was a similar but slightly more technical and specific from what I was looking for here: Django, REST and Angular Routes

What alternatives do I have if I want to experiment with Angular JS but need some database functionality?

Also how do you go about the fact that your code will be open to everyone?

Copyright Notice:Content Author:「BluePython」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/18797473/angular-js-and-django

Answers
Zack Argyle 2013-09-14T03:08:43

Not a dumb question. But yes, it is totally doable. I put together a git seed for an angular web app with a django rest framework api. Check it out, I think it is exactly what you are looking for. Clone it down and try it out! Easy instructions to follow.\n\nAngular-Django Seed",


More about “Angular JS and Django” related questions

Angular JS and Django

This might be a silly question that might relate to my ignorance about angular js, but is it possible to use a Django framework mostly for backend and database interactions, in conjunction with an

Show Detail

django and angular.js with authentication

I have a web app that's already written in Django, and it is working quite well. I want to add a few views for angular as the plan is to move into that direction. One issue i'm facing is that some ...

Show Detail

Using Django templates with Angular JS

I'm in the process of porting my website front-end to Angular JS. The backend is based on Django. I initially planned to develop a restful API for Angular to fetch data from backend. However, I've

Show Detail

Django formset equivalent in angular.js

Django has formsets, where multiple forms can be used in one big form. So let's say one can add in a e.g. library formset mulitple books (providing the author and title) using repetitions of the same

Show Detail

Django Angular JS integration

I have a django working app in which I use a terminal command to display a database, this command is written in a function inside models.py In addition, I have an html template that uses angular.j...

Show Detail

django not serving angular js files

i am trying to use django with angular js but it throws error while trying to include the angular js files {% load staticfiles %} <html ng-app> <head> <script type="text/

Show Detail

Angular and django integration

I'm writing application with django and angular and I have following problem. After authentication in django I turn mvc view with angular app definition. <div class="main"> <div cla...

Show Detail

How to connect a Django view with angular js Front end?

I'm fairly new to Django rest and angularjs. I'm trying to create a Django view which will have a function and this function has to be called via a button in angular js. Can anyone please help me o...

Show Detail

Weird angular js behaviour with django

I am trying out a a simple web app with django and angular js. Was trying out the integration. So I have this in my django from django.conf.urls import patterns, include, url from django.contrib ...

Show Detail

Django angular database integration

I have a django project that uses postgresql. I am trying to use angular as a front end in my html pages. Which is the best approach to use the angular js controllers in the django project to conne...

Show Detail