{"id":3495,"date":"2014-03-27T04:50:30","date_gmt":"2014-03-27T04:50:30","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/27\/from-django-1-4-to-django-1-5-argument-verify_exists-what-s-replacement-collection-of-common-programming-errors\/"},"modified":"2014-03-27T04:50:30","modified_gmt":"2014-03-27T04:50:30","slug":"from-django-1-4-to-django-1-5-argument-verify_exists-what-s-replacement-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/27\/from-django-1-4-to-django-1-5-argument-verify_exists-what-s-replacement-collection-of-common-programming-errors\/","title":{"rendered":"from django 1.4 to django 1.5- argument &#39;verify_exists&#39; what s replacement?-Collection of common programming errors"},"content":{"rendered":"<p>I&#8217;m try to fix an app that worked with django 1.4 within a new installation where I&#8217;m using Django 1.5 when I try to syncdb I have:<\/p>\n<pre><code>   TypeError: __init__() got an unexpected keyword argument 'verify_exists'\n<\/code><\/pre>\n<p>That&#8217;s because my app model.py have inside:<\/p>\n<pre><code>   link = models.URLField(verify_exists=True, max_length=255, null=True, blank=True)\n<\/code><\/pre>\n<p>with what I d replace &#8216;verify_exists&#8217; to make it compatible with Django1.5?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m try to fix an app that worked with django 1.4 within a new installation where I&#8217;m using Django 1.5 when I try to syncdb I have: TypeError: __init__() got an unexpected keyword argument &#8216;verify_exists&#8217; That&#8217;s because my app model.py have inside: link = models.URLField(verify_exists=True, max_length=255, null=True, blank=True) with what I d replace &#8216;verify_exists&#8217; to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3495","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3495","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3495"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3495\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3495"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}