Loading…

Can I create a web application without JavaScript, using only Python and Django?

Yes, absolutely! I can understand where that question comes from. Everyone is raving about React, Angular or whatever JavaScript library is just in fashion. This can lead to the impression that it is impossible to build a web application with just Python and Django. Especially a beginner might wonder “do I have to learn JavaScript […]

OMG I’ve found a bug in Django

Sometimes when working with Django, you encounter an exception that looks like a bug in Django. While creating an instance of MyModel with the Django admin, I encountered this beauty: Environment: Request Method: GET Request URL: http://127.0.0.1:8000/admin/my_app/my_model/1/ … Traceback: File “/Users/danielhepper/.virtualenvs/my_project/lib/python2.7/site-packages/django/core/handlers/base.py” in get_response 112. response = wrapped_callback(request, *callback_args, **callback_kwargs) File “/Users/danielhepper/.virtualenvs/my_project/lib/python2.7/site-packages/django/contrib/admin/options.py” in wrapper 452. return […]