You are welcome On Mon, Sep 18, 2023 at 6:00 PM 'Simon Connah' via Django users < [email protected]> wrote:
> Thank you! That got it working! > > ------- Original Message ------- > On Monday, September 18th, 2023 at 13:34, Asim Sulehria < > [email protected]> wrote: > > You can just directly declare an array of URL Patterns in a separate file > and then import that file in the url files you want to make the main urls > file > > On Mon, Sep 18, 2023 at 5:28 PM 'Simon Connah' via Django users < > [email protected]> wrote: > >> Hi, >> >> I have an app which has a lot of views and URLs and keeping them in just >> one file makes it really hard to manage because it is so long. I'd like to >> make a views and URLs folder which will allow me to break up views and URLs >> into different categories but I'm not sure what the best way to go about >> doing that is. >> >> Can someone point me in the right direction please? >> >> Thank you! >> >> Simon. >> >> -- >> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/4svI0xN0uu53BvHzhG9Aa1qvI61v1qPlQOhkOLpaJPRXX1Jysfu-BOmrFlBsDOfHfKRHwTaXJNmKFApZ1W13jQLdpVvXQDEPdWq87T-ILR8%3D%40protonmail.com >> . >> > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAPz57eGK6EXPGObGH5-ej3OPGvEmox%2BkR34xW3Eg1weWQug%3Dcw%40mail.gmail.com > . > > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/d3_jwrhlaNWhn-_QfIOhopznbSi5o3e5tF5p-pF34iqaGFRRBVFScOg6PL95XWeJIBV6JpmQpXg0L0FcGNH9fjM5CItLGCZ8mIoJqNxEohU%3D%40protonmail.com > <https://groups.google.com/d/msgid/django-users/d3_jwrhlaNWhn-_QfIOhopznbSi5o3e5tF5p-pF34iqaGFRRBVFScOg6PL95XWeJIBV6JpmQpXg0L0FcGNH9fjM5CItLGCZ8mIoJqNxEohU%3D%40protonmail.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPz57eEjaHPPkZPNfVONt%3D%2B4pH8OwUuCit%3DoL9N0swRPRO2Qhg%40mail.gmail.com.

