In your models.py put:
from django.db import models
@classmethod
def model_field_exists(cls, field):
    try:
        cls._meta.get_field(field)
 return True| # | |
| # Sources: | |
| # http://stackoverflow.com/questions/7704624/how-can-i-use-gzip-compression-for-css-and-js-files-on-my-websites | |
| # http://codex.wordpress.org/Output_Compression | |
| # http://www.perun.net/2009/06/06/wordpress-websites-beschleuinigen-4-ein-zwischenergebnis/#comment-61086 | |
| # http://www.smashingmagazine.com/smashing-book-1/performance-optimization-for-websites-part-2-of-2/ | |
| # http://gtmetrix.com/configure-entity-tags-etags.html | |
| # http://de.slideshare.net/walterebert/die-htaccessrichtignutzenwchh2014 | |
| # http://de.slideshare.net/walterebert/mehr-performance-fr-wordpress | |
| # https://andreashecht-blog.de/4183/ | 
In your models.py put:
from django.db import models
@classmethod
def model_field_exists(cls, field):
    try:
        cls._meta.get_field(field)
 return True| # change IP via tor with python | |
| import requests | |
| from stem import Signal | |
| from stem.control import Controller | |
| import socks, socket | |
| import time | |
| # tuts | |
| # https://www.torproject.org/docs/faq.html.en#torrc | |
| # https://stem.torproject.org/tutorials/the_little_relay_that_could.html |