Wednesday, February 24, 2021

Question about models. test

Hello everyone,

I have the following model

class Publication(models.Model):
    name = models.CharField(max_length=25, blank=True, null=False)
    publication_url = models.TextField(blank=True)

and observed there are some inactive URLs on the production server (due to data entry mistakes). Is there any way I can write a test for the inactive URLs from the database (local copy)?. 


Thanks
Kannan

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CADiZb_d9uiad-mJ0FoJH2ZH7017L31rO8tw9knSyLSsRRdrO2g%40mail.gmail.com.

No comments:

Post a Comment