PyBites, Mon 31 July 2017, Challenges
In this article we review last week's Create a Simple Django App code challenge. The Django fever continues ...
Submissions are merged to this dir on our community branch.
bbelderbos created Django Registration App - from the PR:
I created a Django registration / login system using django-registration and gmail. I used purecss and django-crispy-forms for styling. I deployed it to Heroku. What's cool about it is that I can re-use this code for other new projects where this functionality is often required. I will do an article this week detailing some of the challenges I had to get this working ...
So you can now be notified by email of each new challenge here. Note this is just the subscription management part, the notifier we built for Praw code challenge 27.
asutosh97 practiced Django by building the intro tutorial's polls app. Indeed a good way to get started (the Django docs are great!)
As there is no deadline to these challenges, we will update here when you submit any other cool Django apps for this challenge ... Just follow our instructions and start coding!
A couple of weeks ago Julian wrote a nice article on refactoring.
Refactoring is an essential skill in the developer's toolbox. Stay tuned for our new challenge tomorrow where we have you go find ugly/dark/wtf parts of your code to turn it into beautiful Python. See you tomorrow!
Keep Calm and Code in Python!
-- Bob and Julian
Do you want to get 250+ concise and applicable Python tips in an ebook that will cost you less than 10 bucks (future updates included), check it out here.
"The discussions are succinct yet thorough enough to give you a solid grasp of the particular problem. I just wish I would have had this book when I started learning Python." - Daniel H
"Bob and Julian are the masters at aggregating these small snippets of code that can really make certain aspects of coding easier." - Jesse B
"This is now my favourite first Python go-to reference." - Anthony L
"Do you ever go on one of those cooking websites for a recipe and have to scroll for what feels like an eternity to get to the ingredients and the 4 steps the recipe actually takes? This is the opposite of that." - Sergio S