Skip to main content

A simple Django app to upload files via admin panel.

Project description

Coverage Status Build Status PyPI version licence

DJFiles

DJFiles is a simple Django app for manage static files of your project in admin panel. This app is useful for projects where there is a content manager, which don’t have access to server via ssh or don’t even know what it is =)

Using this app you will be able to save static files through admin panel. Files will be saved in /media/ directory of your project. It’s useful if you are not always have access to server or have a content manager who responsible for managing such files.

Requirements

  • Python >= 2.7

  • Django >= 1.8

  • unicode-slugify

Installation

$ pip install django-djfiles

Add djfiles to your INSTALLED_APPS setting like this:

INSTALLED_APPS = [
    ...

    'djfiles',
]

Apply djfiles migrations:

$ ./manage.py migrate djfiles

Add urls to your project urls so you can get image by slug:

urlpatterns += url(r'^djfiles/', include('djfiles.urls'))

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-djfiles-0.2.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

django_djfiles-0.2-py2-none-any.whl (9.1 kB view details)

Uploaded Python 2

File details

Details for the file django-djfiles-0.2.tar.gz.

File metadata

File hashes

Hashes for django-djfiles-0.2.tar.gz
Algorithm Hash digest
SHA256 a103fbb47ec5b76c1286a9bed22db6fbcecfd5ceb49d43f287c4450f6ab57e28
MD5 8549bbc2cd4a4887d8c62093b6b2c2cf
BLAKE2b-256 42c6c78c5d59d9120239f7c4538e7f1b6fbc1a859a1001e53424bda76913deff

See more details on using hashes here.

File details

Details for the file django_djfiles-0.2-py2-none-any.whl.

File metadata

File hashes

Hashes for django_djfiles-0.2-py2-none-any.whl
Algorithm Hash digest
SHA256 c2e2e6bf290008c059eed58e7c72f25ef292fc4f5ba26dfca926749fed0d604f
MD5 1cc85cf181fbea77137e6ee9c42c88eb
BLAKE2b-256 1bedd0c7ee21a784294b095ce3b0a30d355a5e53af9376c5e8e5c38fec9cab2e

See more details on using hashes here.

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