Django

Ingestion Made Easy!

by Priya Srinivasan, 11 August 2023

ZooDB already possessed an ingestion script, capable of efficiently processing hundreds of rows of zooarchaeological bone data. This script was traditionally executed from the command line by the developer. However, to enhance the user experience and streamline the ingestion process, we created a user-facing feature to allow the researchers to upload and process their data via the web application. In this article, I describe the crucial parts of this feature and how it was developed.

Displaying Dynamic Data with a Django View Function

by Priya Srinivasan, 31 May 2023

Django is a powerful Python web framework and it provides a straightforward way to display dynamic data in web applications. It has a template system for displaying content on the web. Templates can be combined with view functions to display data dynamically. This article will describe how to use a Django view function to retrieve and display dynamic data.

Writing unit tests for a Django web application

by Priya Srinivasan, 30 April 2023

As websites expand, manual testing becomes more challenging. Interactions between components can lead to errors in other areas, and more changes are needed to ensure everything continues to function correctly. To address these issues, automated tests can be used to run every time changes are made, ensuring reliable and consistent testing. This blogpost demonstrates how to automate unit testing of your website using Django’s test framework.

Strapper real-time deployment log

by Archie To, 18 April 2023

When an application is deployed in Strapper, it’s reassuring to be able to see progress, and if something goes wrong, it’s essential to be able to examine what was reported during the process. Enter the real-time deployment log.

Django development tips

by Archie To, 31 March 2023

This article contains tips that I wish I knew when starting out with Django. Following these tips will help your development process with Django a lot faster and make your code way cleaner. This article assumes you already have basic Django knowledge. (Django’s full documentation can be found here.)

Researcher Contact Database

by Archie To, 28 February 2023

RCS team members work with researchers and faculty members on multiple projects everyday. Each of these projects involve different people (inside and outside of the university), are at different stages and require different actions. It has become extremely difficult for RCS team members to keep track of these information as the number of projects that they work on rises. Therefore, there needs to be a solution.

Django App Starter Template

by Archie To, 20 January 2023

Django is a very popular web framework known by many Python developers. RCS ARC Software Team decided to use this framework as the main technology to develop multiple web applications, which will eventually serve the need of researchers, faculty members and employees in the University of Victoria. All of these applications have some identical functionalities such as authenticating users by HTTP request headers, displaying separated pages for normal users and admin users, and providing an about page for web developers. These similar functionalities force developers to rewrite the same code everytime they start a new project. This is obviously a time-consuming and boring process.

Converting Flask App Starter Into Django

by Archie To, 28 October 2022

My goal in this project is to convert a Flask skeleton code into Django.