First Steps Learning Django: PyPlanet Article Sharer App

Bob, Mon 17 July 2017, Django

100DaysOfDjango, Django, Planet Python, resources, tutorials, Twitter

In this post I share my first steps exploring Django. I created PyPlanet Article Sharer Django App to make it easier for us to share new Planet Python feed articles. It loads in new articles and generates tweet links. It lets us mark each entry as Shared or Skipped. I am sure this will facilitate our Twitter activity and News Digests. This is our first project of our 100 days of Django and our very first Django app overall!

The app

Homepage:

pyplanet-django1.png

Click on an article and click "Mark Skipped":

pyplanet-django2.png

Redirects back to index and shows (CSS) article marked as skipped:

pyplanet-django3.png

Another article:

pyplanet-django4.png

Tweet it and mark it complete (still 2 steps):

pyplanet-django5.png

Index now shows a skipped and a shared article:

pyplanet-django6.png

Try it yourself

I made a README with instructions to run this project yourself.

As stated in the README some things still need to be done:

Learning

Resources

We will probably write a dedicated resources post when we get further into our 100 Days of Django.

Feedback

Comments, questions, ideas are welcome. Use the comments below or reach out via Twitter or email.


Keep Calm and Code in Python!

-- Bob

PyBites Python Tips

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.

Get our Python Tips Book

"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

Get the book