thanks to all of the great documentation I’m really making some progress. Now another question appeared. This might be pretty obvious for someone who is using object orientation regulary, but unluckily I’m still new to the practical application of some python concepts.
How do I modify a django application that I implemented into my project?
I’m using the post_office app in my project and would like to
What did I do?
- pip install django-post_office
- python manage.py migrate
Copy / paste the whole mail.py file into the app I’m just programming, due to the fact that it’s not object oriented, so I’m not able to built a class instance. Then make the changes inside my copied file.
Create an instance of the model and hope / make sure, that my model still works with the other models from the post_office app, e.g. the Logs model.
Is is really that easy or do I miss anything here?