python/django general lines