Replies: 1 comment
-
|
And you are seeing this issue when you create a new |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a specific model with an init method that generates a slug:
And i have AdminView:
But when creating an object from the admin panel, I get the following error:
decoding to str: need a bytes-like object, NoneType foundAnd if I remove the init method from the model, then everything works, how can I make the initialization of the model take place first?
Beta Was this translation helpful? Give feedback.
All reactions