django angular

52 views
Skip to first unread message

mohamed shawky

unread,
Mar 2, 2017, 10:25:08 PM3/2/17
to Django users
how to save data which it come from angular in data base

Andreas Kuhne

unread,
Mar 3, 2017, 4:16:24 AM3/3/17
to django...@googlegroups.com
Hi Mohamed,

I would start by looking at some of the tutorials for django rest framework - because you will need to have a format like json to communicate from angular to the database. Checkout : http://www.django-rest-framework.org/

I would also recommend looking at the tutorials on angular : https://angular.io/docs/ts/latest/tutorial/ (assuming you are using angular 2 - which you should be :-))

To connect the two - Look at something like : https://github.com/pselle/django-rest-angular2-example

Your question is a bit broad to give a better solution than this.

Regards,

Andréas

2017-03-03 4:25 GMT+01:00 mohamed shawky <shawkymo...@gmail.com>:
how to save data which it come from angular in data base

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/eb01cf3a-7d13-458f-b369-4d7ebefae066%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

mohamed shawky

unread,
Mar 3, 2017, 5:11:43 PM3/3/17
to Django users

hello andrea
you are right about json format i reeeally done and make it json api 
the problem is 
when angular make post function how i receve the data on database 

im working on django+angular+mongodb

thank you in advance 
Reply all
Reply to author
Forward
0 new messages