Fix My Django is a library for helping Django developers to find solutions for common Django exceptions
Python
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
fixmydjango updates version to 0.3.2 Dec 20, 2017
.editorconfig
.gitignore
.travis.yml
LICENSE
README.rst
manage.py
pytest.ini
setup.py
testsettings.py
tox.ini

README.rst

fixmydjango-lib

Travis CI Coverage Status

Fix My Django is a library for helping Django developers to find solutions for common Django exceptions. While developing a Django project, if you get any exception in development server and fixmydjango.com has a solution for it, this library will display a link to the solution in the error 500 debug template. Don’t waste your time searching for exceptions on Google or Stack Overflow, just install this lib and be happy!

How to use

  1. Install

    pip install fixmydjango
  2. Configure settings.py of your project by adding 'fixmydjango' app

    INSTALLED_APPS = (
        'django.contrib.auth',
        'django.contrib.contenttypes',
        'django.contrib.sessions',
        'django.contrib.sites',
        'django.contrib.messages',
        'django.contrib.staticfiles',
        'django.contrib.admin',
    
        'yourapp',
        'fixmydjango',  # <-- add me!
    )
  3. Profit! If any known Django exception bite you, something like this will appear:

    Fix My Django example

Privacy

We only look for solutions to exceptions thrown from inside Django source-code and we don’t use exception message to search for similar ones. Take a look at client.py to see how it’s implemented. The API and website code is open-sourced at https://github.com/vintasoftware/fixmydjango.

Contribute

Feel free to fork this project and contribute with it! GitHub repository at: https://github.com/vintasoftware/fixmydjango-lib

Use tox to run tests.

Authors

Made by pythonistas at Vinta Software Studio: vinta.com.br.