Where to include libraries I write in a django app

2023-03-11 Thread Scott McKissock
Django/Python noob question. What is the convention for including utility packages/modules within a django app? I have a bit of code that will only be used in a single django app, and I'd like to write tests for it and use it within the app. Should I just put it in a directory/package in the

Re: Django Admin

2023-03-11 Thread Letlaka Tsotetsi
Please share your code so we can be able to assist you On Sat, 11 Mar 2023 at 8:04 PM, James Hunt wrote: > Hi there. I am fairly new to Django but have had previous success with > creating an app and being able to access the Admin page. > Recently, if I attempt to access the admin page of a new

Re: Django Admin

2023-03-11 Thread Victor Matthew
Show your cold pleased On Sat, 11 Mar 2023, 7:04 pm James Hunt, wrote: > Hi there. I am fairly new to Django but have had previous success with > creating an app and being able to access the Admin page. > Recently, if I attempt to access the admin page of a new Django app it > throws the CSRF

Re: Django Admin

2023-03-11 Thread Obam Olohu
Hello there, you can send a meeting link, I’ll fix the issue for you Sent from my iPhone > On 11 Mar 2023, at 12:31 PM, James Hunt wrote: > > Hi there. I am fairly new to Django but have had previous success with > creating an app and being able to access the Admin page. > Recently, if I

Re: Django Admin

2023-03-11 Thread Balogun Awwal
Check out this link but are you using csrf token before accepting any input. https://stackoverflow.com/questions/3197321/csrf-error-in-django Sent from awwal > On 11 Mar 2023, at 7:04 PM, James Hunt wrote: > > Hi there. I am fairly new to Django but have had previous success with >

Django Admin

2023-03-11 Thread James Hunt
Hi there. I am fairly new to Django but have had previous success with creating an app and being able to access the Admin page. Recently, if I attempt to access the admin page of a new Django app it throws the CSRF error upon trying to log in!!! I have attempted several ways to bypass this