Software development


Django web applications

Django Python Programming

12 Nov, 2020


Description

Websites developed with a Python framework, Django. They implement features such as information management in databases (sqlite3), authenticated registration, interaction with the browser using JavaScript, use of Python backend with models, forms, views, among others.



Application list


Classified ads website


Description

Web site to store and view classified ads with characteristics like photos and search (for no logged in users). On the other hand, if the user is logged in, some functions are added like comment, create, update, delete ads and add to favourites.

Features
  1. OwnerView: Extends the generic views with an OwnerView class to add extra functions to the owner of the ad.

  2. Models: Use of sqlite3 database through models to store ad information. This includes a field for the respective ad image via a 'BinaryField'

  3. Table relations: Usage of many-to-many relation (applied in both comment functions and favorites one) and many-to-one relation (applied in owner, user, ad and other fields) between database tables.

  4. JavaScript: Includes both JavaScript and JQuery code to interact with HTML documents, manipulate the DOM tree and handle events such as zooming in on the ad image and adding an ad to the favorites list.

  5. Login view: Usage of Django authentication system to extend some views where authentication is needed.

  6. Search: Implement a search function by adding some query functions (for the ad database) to the user request.


Go to repository


Autos CRUD application


Description

CRUD (Create, Read, Update, and Delete) application to manage automobiles and their makes

Features
  1. Models: Save both autos and makes info in a sqlite3 database through the app models.

  2. Table relations: Implements a many-to-one relation between the makes table and the autos one (this is because one make might has many autos but one auto must have only one make).

  3. Login view: Includes Django authentication system to extend this app views due authentication is needed.


Go to repository


Poll application


Description

Public web site that lets people view polls, see results and vote in them.

Features
  1. Models: Use of sqlite3 database through models to store both choises and questions information.

  2. Table relations: Includes a many-to-one relation to relate the question table to the choices one (assuming that one choice must be related with only one questions).


Go to repository


Visit counter application


Description

Public web site that counts the number of times that the same user have visited the web site making use of its request session.


Go to repository