Sylvain,

It is your choice. You can have views which return HTML and views which
form a REST interface concurrently within the same project. You can
choose to implement your non-mobile website using a javascript UI. Or
you can use frameworks like React.js and do everything with one set of
JS. To get a REST interface for an existing (non-REST) project is easy;
check out http://www.django-rest-framework.org/.

John

On 26/08/16 17:07, Sylvain Dégué wrote:
> Hi,
>
> I am building a mobile application and I need a Rest API and a web
> version of my app. So I was wondering if I could make a website with
> Django Rest Framework or if I have create a Django project for my
> website and a Django Rest Framwork for my API
> -- 
> 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+unsubscr...@googlegroups.com
> <mailto:django-users+unsubscr...@googlegroups.com>.
> To post to this group, send email to django-users@googlegroups.com
> <mailto:django-users@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/8cea6e27-d16f-4225-84c7-944b0963eabe%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/8cea6e27-d16f-4225-84c7-944b0963eabe%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.


-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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/533dadd1-57b1-83b0-0eb6-04f5e7c2c4aa%40martinhome.org.uk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to