Skip to main content

Django File Upload

Project description

django-file-upload

Django File Upload

Installation

pip install django-file-upload

Urls.py

from django.urls import include, re_path

urlpatterns = [
    re_path(r'^f/', include('django_file_upload.urls', namespace='django_file_upload')),
]

or

from django.urls import re_path
from django_file_upload import views as file_views

urlpatterns = [
    re_path(r'^upload$', file_views.file_upload, name='file_upload'),
]

Settings.py

INSTALLED_APPS = (
    ...
    'django_file_upload',
    ...
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-file-upload-1.1.6.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

django_file_upload-1.1.6-py2.py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page