Simple file management of generic files.
Further documentation available on ReadTheDocs
Add "gfiles" and django application dependencies to your INSTALLED_APPS in the settings file:
INSTALLED_APPS = [ ... 'gfiles', 'django_tables2', 'bootstrap3', 'django_tables2_column_shifter', 'django_sb_admin', 'django_filters', 'allauth', 'allauth.account', 'allauth.socialaccount', ]
Add custom auth and login in settings file:
AUTH_USER_MODEL = 'gfiles.User' LOGIN_REDIRECT_URL = 'index' LOGIN_URL = '/accounts/login/'
Include the polls URLconf in your project urls.py like this:
url('gfiles/', include('gfiles.urls')),
Run python manage.py migrate to create the polls models.
Start the development server and visit http://127.0.0.1:8000
Register http://127.0.0.1:8000/accounts/signup/ and login http://127.0.0.1:8000/accounts/login/
Add files (need to be logged in) http://127.0.0.1:8000/upload_gfile/
View and filter files http://127.0.0.1:8000/gfile_summary/