I'm try to fix an app that worked with django 1.4 within a new installation where I'm using Django 1.5 when I try to syncdb I have:
TypeError: __init__() got an unexpected keyword argument 'verify_exists'
That'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 'verify_exists' to make it compatible with Django1.5?
If you really need to verify the URL exists, you should do so in your form or model validation methods.
Try Removing the argument
verify_exists = True
(if this argument is not in use..)
And use as below :
link = models.URLField(max_length=255, null=True, blank=True)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With