We added support to our platfom for bulk downloading of all your code submissions. This feature required creating and serving up zipfiles through Django. In this article I show you how to do it creating a simple Django app collecting code snippets through the admin interface, and serving them up in a zipfile via a download endpoint. Let’s dive straight in …
Articles on Django
PyBites Twitter Digest – Issue 04, 2019
By PyBites Team on 7 April 2019
Every weekend we share a curated list of 15 cool things (mostly Python) that we found / tweeted throughout the week.
Building a Python Tips API with Django REST Framework and Deploying it to Digital Ocean
By Bob Belderbos on 5 March 2019
In this article I will show you how to build a simple API for our growing collection of Python tips. First we make a simple Django app, defining the model. Next we use Django REST Framework to make an API supporting common CRUD operations. Then we will test it out using curl, Postman and Django REST’s browser front-end. Lastly we deploy the API to Digital Ocean so we can start using it via our Slack with a Slash Command, which I will cover in the next article. Sounds exciting? You bet it is! Let’s jump straight in!
How to Test Your Django App with Selenium and pytest
By Bob Belderbos on 22 November 2018
In this article I will show you how to test a Django app with pytest and Selenium. We will test our CodeChalleng.es platform comparing the logged out homepage vs the logged in dashboard. We will navigate the DOM matching elements and more. Overall you should learn enough Selenium and pytest to start testing a web page including a login. Sounds exciting? Let’s dive straight in!
PyBites Twitter Digest – Issue 36, 2018
By PyBites Team on 18 November 2018
Every weekend we share a curated list of 15 cool things (mostly Python) that we found / tweeted throughout the week.
Code Challenge 52 – Create your own Pomodoro Timer – Review
By PyBites Team on 1 October 2018
In this article we review last week’s Create your own Pomodoro Timer code challenge.
PyBites Twitter Digest – Issue 19, 2018
By PyBites Team on 11 June 2018
Every weekend we share a curated list of 15 cool things (mostly Python) that we found / tweeted throughout the week.
Twitter Digest 2018 Week 07
By PyBites Team on 11 February 2018
Every weekend we share a curated list of 15 cool things (mostly Python) that we found / tweeted throughout the week.
Twitter Digest 2018 Week 06
By PyBites Team on 4 February 2018
Every weekend we share a curated list of 15 cool things (mostly Python) that we found / tweeted throughout the week.
Twitter Digest 2018 Week 05
By PyBites Team on 28 January 2018
Every weekend we share a curated list of 15 cool things (mostly Python) that we found / tweeted throughout the week.