Adding more Fields to Models

25 views
Skip to first unread message

Harshit

unread,
Apr 18, 2020, 4:10:24 AM4/18/20
to django-wiki
Hello,

I need to add a BooleanField which appears while you create an Article, and is editable too. 
When I tried to do this, I realized that I need to update a lot of files, some of which I don't completely understand. 
In the end, I was able to create this functionality somehow, but I am not sure whether this is the right way, as in the future, if I need to edit this again, then it would be a lot of work. 
Is there a simple, more elegant way to add more fields to models? (Particularly the Articles Model)

Thanks.
Reply all
Reply to author
Forward
0 new messages