A Django app for finding solutions to exceptions
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
pip install fixmydjango
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! )
Profit! If any known Django exception bite you, something like this will appear:
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.
Feel free to fork this project and contribute with it! GitHub repository at: https://github.com/vintasoftware/fixmydjango-lib
Use tox to run tests.