Tags » Django

Django: Integration with Highchart

Highcharts is, in my opinion, one of the best JavaScript libraries to work with data visualization and charts out there. See my example,

Highchart Bar Chart… 9 more words

Django

Django with Gunicorn on Ubuntu

This tutorial is aimed at the Django user who wants to set up a production web server. It takes you through the steps required to set up Django so that it works nicely with uWSGI and Gunicorn. 646 more words

Django

Starting a website using Python

There are a couple of well-known framework for Python

  • Django – https://www.djangoproject.com/
  • TurboGears – http://www.turbogears.org/
  • web2py – http://www.web2py.com/

Seems like the most popular framework as of writing this blog is Django. 56 more words

Development

django

Create a dependency

email = self.cleaned_data['email']
password = self.cleaned_data['password']
user = User.objects.create_user(email, password)
user.save()
profile, created = Profile.objects.update_or_create(user=user)

Convert QuerySet to array

Python

Django redirect previous url

 return HttpResponseRedirect(request.META.get('HTTP_REFERER', '/'))
Sin Categoría

Lucky or not so lucky Ros!

Wait, you’re that guy from that movie, aren’t you?

Many may not know his name but almost every Italian genre fan will know his face. Having appeared in over 70 movies, although not always credited, the career of Luciano Rossi appears almost a paradox.  1,803 more words

Articles And Interviews

Snippet: OR filters with Django-filter

The requirement is to build a simple OR condition query string filter using django-filter. Since there is no standardization of the format, I have used a query string which looks like… 96 more words

Python