Re: save_model doesn't run on Django version 4

2022-09-13 Thread Mike Kilmer
One thing I'm not sure of it, how to tell if a particular Admin page is triggering a particular Admin instance. On Tuesday, September 13, 2022 at 11:27:54 AM UTC-5 Mike Kilmer wrote: > After having upgraded from Django 3 to 4 the save_model() method isn't > running, though the form it i

save_model doesn't run on Django version 4

2022-09-13 Thread Mike Kilmer
After having upgraded from Django 3 to 4 the save_model() method isn't running, though the form it imports does. ``` class MyCoolMapAdmin(SuperUserChangeOnlyMixIn, FilterByOwnerAdmin): form = MyCoolModelForm print("this prints on app initialization") def save_model(self,

Re: Django tried these URL patterns

2022-06-17 Thread Mike Kilmer
Not sure why, but moving path("integrations/", include("integrations.urls")), above the "" slash seems to have solved the problem. On Friday, June 17, 2022 at 5:45:19 PM UTC-5 Mike Kilmer wrote: > This app is set up to create webhooks and receive requests,

Django tried these URL patterns

2022-06-17 Thread Mike Kilmer
This app is set up to create webhooks and receive requests, however the routing has broken and the requests are getting a 404. The path looks like this: http://127.0.0.1:8000/integrations/dc3509ac-1aa8-4c9a-a439-904342d885cd/order The Stack Track/Routing: Using the URLconf defined in

Re: CSRF issue in default login

2022-06-17 Thread Mike Kilmer
ountry, can any one suggest > me where I can get some project or industry level job in django , please. I > am badly need that > > On Friday, June 17, 2022 at 11:29:04 PM UTC+6 Mike Kilmer wrote: > >> That sounds hopeful. Where do you put that config? Settings.py? >> >

Re: CSRF issue in default login

2022-06-17 Thread Mike Kilmer
STED_ORIGINS = ["https://yourdomain.com;, > "https://www.yourdomain.com;] > > I'd be curious to hear from others, because I'm *not *an expert in how to > best set up django for production. > > > On Fri, 17 Jun 2022 at 11:48, Mike Kilmer wrote: > >> Hi

CSRF issue in default login

2022-06-17 Thread Mike Kilmer
Hi. I'm fairly new to Django. Here's what I need insight on: Local server, no issue. On production: CSRF 403 error on login. There's a cookie loaded on the login page containing csrftoken: pAFeeUI8YFXZ2PKRYxOTX1qz4Xgto42WVNi7FFvBlZDqcFLwQ2rdQvVeZBHFSpLW (Local and Session

Re: how to deploy python django project using heroku

2022-06-16 Thread Mike Kilmer
Do you have your codebase tracked in a version tracking system like Github? If you do, then, from within Heroku, you can use the Github integration. On Thursday, June 16, 2022 at 11:01:52 AM UTC-5 maheshb...@gmail.com wrote: > please support me how deploy django project using git and heroku >