Hi, The way we have structured our application is that we have our models and serializers in different apps, but have one app for the api itself. So all of the urls are in the "api/urls.py" file.
We have found that this works great for us. However we don't use routers - instead we just use DRF class based views for our endpoints. Regards, Andréas Den tis 11 juni 2019 kl 16:07 skrev Dave B <dave.bosh...@gmail.com>: > Hi, > > Being fairly new to DRF, I'm just wondering on the best ways of going > about stucturing an api which has man endpoints. > > Basically is there a good reason not to put different categories of > endpoints together in different apps, like the ones for user data, ones for > app data etc. > > And then how does that work with the routers? > > -- > 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/20f43bb4-f73f-428a-8628-338e81b2da86%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/20f43bb4-f73f-428a-8628-338e81b2da86%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/CAK4qSCdeD%3DkCwGXT3Vs8V2UFZdVE4Pro3nDmEcEdkaBjzR_%2BJA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.