Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A form widget to style file inputs in a foundation fashion.

Project Description

This module provides a form widget to style file inputs in a foundation fashion.


Install with pip:

pip install django-foundation-filefield-widget

Add foundation_filefield_widget app to your INSTALLED_APPS


Use the widget in your forms :

from django import forms
from foundation_filefield_widget.widgets import FoundationFileInput, FoundationImageInput

class MyForm(forms.Form):
    my_file = forms.FileField(widget=FoundationFileInput)
    my_image = forms.FileField(widget=FoundationImageInput)

Don’t forget to include the media part of your form in your templates.

If you want to easily define forms you should look into crispy-forms And if you want to define forms styled with Foundation you should also check crispy-forms-foundation

Release History

This version
History Node


History Node


History Node


History Node


Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(10.5 kB) Copy SHA256 Hash SHA256
Source Aug 10, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting