How to Structure Django Rest Framework API

552 views
Skip to first unread message

Ali Cheema

unread,
Oct 18, 2018, 7:10:02 AM10/18/18
to Django users
Hi,

I am new to django, I have to develop an API using django rest framework. I am confused about directory structure of my project.
Please can you suggest be best directory structure for my project which should be easy to maintain and salable as well.

Thanks in advance.

Andréas Kühne

unread,
Oct 18, 2018, 11:02:30 AM10/18/18
to django...@googlegroups.com
Hi,

I have followed this approach when I created my current app:

The only thing I have added to that is versioning. We also have a v1 on our url and in our directories as well.

Regards,

Andréas


--
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...@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/9784780b-6375-47fa-8648-4ebe2234d478%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages