https://github.com/studygyaan/how-to-create-csv-file-with-django
How to Create CSV File With Django
https://github.com/studygyaan/how-to-create-csv-file-with-django
django django-application django-csv django-file
Last synced: 2 months ago
JSON representation
How to Create CSV File With Django
- Host: GitHub
- URL: https://github.com/studygyaan/how-to-create-csv-file-with-django
- Owner: studygyaan
- Created: 2019-06-28T16:38:33.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-21T20:32:58.000Z (about 2 years ago)
- Last Synced: 2025-03-22T22:01:44.932Z (3 months ago)
- Topics: django, django-application, django-csv, django-file
- Language: Python
- Homepage: http://studygyaan.com/django/how-to-create-csv-file-with-django
- Size: 8.79 KB
- Stars: 2
- Watchers: 0
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# How to Create CSV File With Django
## Tutorial Link - http://studygyaan.com/django/how-to-create-csv-file-with-django
In this tutorial, I will explain to you how to Create CSV (Comma Separated Value) file with Django. We are going to use Python in-built CSV library which comes by default with Python. With this tutorial, you will be able to read write a CSV file and download it with Django. Source Code is also available on GitHub.
### Setup
1. Create a folder and put all the files inside it.
2. Create a virtual environtment - `virtualenv env`
3. Activate VirtualENV - `source env/bin/activate`
4. Run requirements.txt - `pip3 install -r requirements.txt`
5. Run the Application - `python3 manage.py runserver`
6. Go to - http://localhost:8000/### We have created a Super User with username - admin and password - admin