R6D100 #100DaysOfCode#301DaysOfCode
For the first time last day of a round coincided with the first day of my travel back home.
Complete 2nd template out of 4. This round was challenging for me due to lots of events and luck of time for desired amount of coding
R7D46-50 #100DaysOfCode#301DaysOfCode
Completed one form in my #Django project, which was the easiest one. Started the second which is a little bit harder and one more to go.
Currently struggling with making form model choice field dependant on user, namely passing user to form
R7D41-45 #100DaysOfCode#301DaysOfCode
Could not achieve much over those 5 days due to my sickness. But there are some results in #django project:
- added couple of views
- added 4 templates
- created a form (need to extend it)
R7D38,39, 40 #100DaysOfCode#301DaysOfCode
Extended existing form in my #Django project. Continued reading documentation on django forms, need learn it a little bit deeper.
Also improved my script for parsing and posting info to a web site.
R7D36, 37#100DaysOfCode
#301DaysOfCode
Refreshing in my mind #Django forms and getting up to speed of what I forgot over last month while I was playing mainly with views and models.
Planning to start tomorrow amending an existing form and creating a new one
R7D33, 34, 35 #100DaysOfCode#301DaysOfCode
Created and integrated a new model in #Django app. Started preparing mockup of pages to interact with the new model.
Also spent one day on creating a quick python script for automation posting messages on a forum.
R7D31-32 #100DaysOfCode#301DaysOfCode
Completed removing all traces of excessive models which will not be used anymore.
Also simplified a little bit naming of other models. For tomorrow planned to create a new model and integrate it in #Django views file.
R7D30 #100DaysOfCode#301DaysOfCode
Managed to spent 3 hours on changing code. Now for me it looks like I done half of the work. But the second half is more complicated. Hope can do it quickly.
R7D29 #100DaysOfCode#301DaysOfCode
Today was one of the most productive days over last month. In total spent almost 6 hours on changing my #django app structure to match new design.
Also fixed some old minor errors while making changes
R7D26, 27, 28 #100DaysOfCode#301DaysOfCode
Basically I was planning steps I need to do in order to change my #django app structure.
So far I almost completed making a general picture how it should look like. Next is to plan how it should be implemented
R7D24-25 #100DaysOfCode#301DaysOfCode
While working on navigation inside the content of the #Django app I noticed that my app requires redesigning to simplify and unify internal structure.
Started preparing a new plan how to do it more efficiently
R7D20, 21, 22, 23 #100DaysOfCode#301DaysOfCode
Those days unfortunately again were not the best days in terms of results. Almost done with navigation inside the content of the #Django app. About 20% left to do. Also made notes on errors which need to be fixed
R7D17, 18, 19#100DaysOfCode
#301DaysOfCode
Again three days gone. What I was doing is:
1) going on improving navigation on content of the #Django app.
2) run into rendering wrong information. Fixed.
3) during the step 1 encountered error and enhanced handling of it
R7D14, 15, 16#100DaysOfCode
#301DaysOfCode
Over last three days I spent in total about three hours for hunting the bug in my vue app. The solution was found accidentally, it turned out that a wrong element of DOM was processed when pointer was in between two elements. Now fixed
R7D11, 12, 13#100DaysOfCode
#301DaysOfCode
Extended errors handling in my #django project, namely processing empty pages instead of showing 404 page. And also started working on navigation done first steps but definitely need more time on it
R7D8, 9, 10#100DaysOfCode
#301DaysOfCode
All available time over those days I spent on learning and practicing error handling in python for my #django project.
As a result I implemented email sending with info when something goes wrong
R7D6-7 #100DaysOfCode#301DaysOfCode
Completed custom manager for the last model and template for it. This task took more time than I expected. But on other hand that allowed me to find better solution which I planning to implement on other templates.
R7D4-5 #100DaysOfCode#301DaysOfCode
1,5 simple vue apps/templates completed and added to the #Django project. Minor and easy part remained and all content templates will be finished.
After that will start working on another chunk of logic
What is Django Rest Framework and why you should learn it:
If you think Django does βmagicβ because you can do so much with just a few lines, wait until you discover what Django Rest Framework is.
#Django#Python#API#REST
https://t.co/Rk5KAE2R7s
R7D3 #100DaysOfCode#301DaysOfCode
Today completed 2nd model in the #Django project. 2 more to go.
Even though this activity on adding templates for rendering models information becomes routine it still takes some time to do.