If your like me, you spend time moving your code between your test and production servers. This can easily complicate issues when you have hard coded full paths in your applications. There is an easy way to solve this issue...
Let's active the awesome admin area in Python's Django today! 3 easy steps to a great backend! 1. Add the following line to your settings.py file, right under INSTALLED_APPS (this is usually just commented...
Day two of working with Django, I think I am loving it. It seems so simple and clean. Plus, I have always favored Python a little, just never had it in me to start playing with it. Want to try it out yourself? Follow me to...
Fixtures are great ways to include test data with your application so it can be easily ported and tested. If you have an app with Fixtures included and can’t seem to get it working, perhaps it’s because you have not activated them!
Activating fixtures in Django is an easy one line process:
>>python manage.py loaddata #fixturename
You need to be in the current directory of your project, but you do not need to be in the /fixtures directory. It is also worth noting that if you have your python running in a virtual environment, might want to make sure that is running!