Giter VIP home page Giter VIP logo

simple-file-upload's Introduction

Simple File Upload Example

Example used in the blog post How to Upload Files With Django

Running Locally

git clone https://github.com/sibtc/simple-file-upload.git
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver

simple-file-upload's People

Contributors

vitorfs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

simple-file-upload's Issues

Linked to a model

Hello,

i want used this solution to store email attachments. Now i know how to create a normal email form with fields subject and message etc. pp. Also i know how to create a field where i can upload files. Now when i upload files i want to link it to new email but new email is create on submit. So i don't know how i can upload attachments and when i click on submit of email form then new email is linked with all uploaded files...

SystemCheckError while running python manage.py migrate

python manage.py migrate

SystemCheckError: System check identified some issues:
ERRORS:
?: (admin.E408) 'django.contrib.auth.middleware.AuthenticationMiddleware' must be in MIDDLEWARE in order to use the admin application.
?: (admin.E409) 'django.contrib.messages.middleware.MessageMiddleware' must be in MIDDLEWARE in order to use the admin application.
?: (admin.E410) 'django.contrib.sessions.middleware.SessionMiddleware' must be in MIDDLEWARE in order to use the admin application.

Getting Operational error no such table: core_document

Hi, I tried doing a clone and running this program, I get an error saying this:

Request Method: GET
http://127.0.0.1:8000/
1.11.3
OperationalError
no such table: core_document
/home/musigma/virtualenvpycharm35/lib/python3.5/site-packages/django/db/backends/sqlite3/base.py in execute, line 328
/home/musigma/virtualenvpycharm35/bin/python
3.5.0
['/home/musigma/django_project/FileUploadPOC/simple-file-upload', '/usr/local/lib/python35.zip', '/usr/local/lib/python3.5', '/usr/local/lib/python3.5/plat-linux', '/usr/local/lib/python3.5/lib-dynload', '/home/musigma/virtualenvpycharm35/lib/python3.5/site-packages', '/home/musigma/virtualenvpycharm35/lib/python3.5/site-packages/setuptools-28.8.0-py3.5.egg', '/home/musigma/virtualenvpycharm35/lib/python3.5/site-packages/pip-9.0.1-py3.5.egg']
Fri, 11 Aug 2017 18:24:56 +0000

There is a lot more to this page, please let me know if you can help me or if you need more clarifications to do so. Thank you.

Add a description

This repo doesn't have any description, please add one so users may find it easier when searching.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.