Skip to content

Mattia-Sacchi/CasaFruit-DjangoProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Demo Project (for University)

1. Installation

Run the following command to clone the repository:

git clone git@github.com:Mattia-Sacchi/CasaFruit-DjangoProject.git

2. Set up the virtual environment

Create and activate a virtual environment to manage project dependencies:

source ./.venv/bin/activate

Project Overview

Object Management

The system allows users to interact with objects in the following ways:

Viewing: Users can view objects in the system.

Selection: Users can select individual or multiple objects.

Grading: Users can grade selected objects.

Any changes made during selection or grading must be reflected in the database.

Functionality

The core features of the project include:

Object Selection: Users can select individual objects or groups of objects. Grading/Selection Operations: Users can grade or select objects, and these actions will be saved in the database. Viewing Results: Users can view the results of their interactions (selection or grading).

File Import and Processing

The project supports importing objects described in a CSV format. The workflow is as follows:

CSV Import: Objects are imported from CSV files. Template: The system loads templates from the file system. Data Processing: A view is provided to analyze the data and insert it into the database.

The application follows a structured layout with three main HTML blocks:

Header Content Footer

Authentication

The application supports user authentication, including:

  • User Registration: New users can register by providing their information.
  • User Login: Registered users can log in to the website using their credentials.

Adding files

In the settings page it is possible to upload a zip file containing data. The file must be names data.json and contain the data of name, price, description and image name. The zip file must also contain the images

Custom Functionalities

The project includes custom features designed to enhance user interaction:

Item Selection & Ordering: Users can select items they wish to purchase and place an order.

📧 Contact

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors