Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/suhailvs/djangofileupload
Django File Upload (https://stackoverflow.com/a/24066179/)
https://github.com/suhailvs/djangofileupload
django django-imageupload fileupload python
Last synced: 9 days ago
JSON representation
Django File Upload (https://stackoverflow.com/a/24066179/)
- Host: GitHub
- URL: https://github.com/suhailvs/djangofileupload
- Owner: suhailvs
- Created: 2014-06-05T16:09:12.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-12-29T12:58:30.000Z (11 months ago)
- Last Synced: 2023-12-29T13:29:13.114Z (11 months ago)
- Topics: django, django-imageupload, fileupload, python
- Language: Python
- Homepage: https://djangofileupload.herokuapp.com/
- Size: 23.4 KB
- Stars: 17
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# simple django imageupload(django 3.x)
## [demo](https://djangofileupload.herokuapp.com/)
## usage
### 1. Download the folder `uploader`:
Download the folder `uploader` and save it in your project directory.
### 2. Update `setting.py` of your project:
On `setting.py` add:
INSTALLED_APPS = [
'uploader',
......
]MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
MEDIA_URL = '/media/'### 3. Update `urls.py` of your project:
On `urls.py` add:
......
from django.urls import path,include
urlpatterns = [
......
path('uploader/', include('uploader.urls')),
]### 4. Syncronize database
$ python manage.py migrate
$ python manage.py runservervisit