Skip to content

Alirezazamirian/CRUD_with_excelfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRUD system with excel file

a website which first of all takes the excel file and generates its data and rows in order to put them in postgresql database. after this all you are able to see the data by pagination 50 row per page and you are able to create, update the rows and delete the rows. this website/system was created for a company in Iran called Nickandishan 20.

Steps

too see the website do these steps :

  1. create your venv and activate it.
  2. install all the requirements.
  3. create super user for admin panel to insert data.
  4. run the ptoject.

Code

create venv

python -m venv venv

NOTE : the second venv can be named anything as you want

activate venv

choose your directory which your venv is located then open terminal and write the code below :

venv/Scripts/activate

install the requirements

change the directory where the project and req.txt file has been located then write the code below :

pip install -r req.txt

create super user

create the user to have an access to admin panel :

python manage.py createsuperuser

then you will be wanted to choose the username and email and password(you can set email empty).

run the project via the code below in terminal then on url bar set : localhost:8000/admin/

python manage.py runserver

enjoy the project and customize it as you want
Do not forget to leave star

About

A CRUD app for a company called Nickandishan20

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published