hassanakbar4 / mailarchive-tickets

0 stars 0 forks source link

Resolve Django20Warnings #193

Closed hassanakbar4 closed 3 years ago

hassanakbar4 commented 7 years ago

component_MailArchive: User Interface resolution_fixed type_task | by rcross@amsl.com


/a/mailarch/1.10.0/mlarchive/archive/models.py:14: RemovedInDjango20Warning: Importing from django.core.urlresolvers is deprecated in favor of django.urls. from django.core.urlresolvers import reverse /a/mailarch/1.10.0/mlarchive/archive/models.py:117: RemovedInDjango20Warning: on_delete will be a required arg for ForeignKey in Django 2.0. Set it to models.CASCADE on models and in existing migrations if you want to maintain the current default behavior. See https://docs.djangoproject.com/en/1.11/ref/models/fields/#django.db.models.ForeignKey.on_delete email_list = models.ForeignKey(EmailList, db_index=True) /a/mailarch/1.10.0/mlarchive/archive/models.py:121: RemovedInDjango20Warning: on_delete will be a required arg for ForeignKey in Django 2.0. Set it to models.CASCADE on models and in existing migrations if you want to maintain the current default behavior. See https://docs.djangoproject.com/en/1.11/ref/models/fields/#django.db.models.ForeignKey.on_delete in_reply_to = models.ForeignKey('self',null=True,related_name='replies') /a/mailarch/1.10.0/mlarchive/archive/models.py:129: RemovedInDjango20Warning: on_delete will be a required arg for ForeignKey in Django 2.0. Set it to models.CASCADE on models and in existing migrations if you want to maintain the current default behavior. See https://docs.djangoproject.com/en/1.11/ref/models/fields/#django.db.models.ForeignKey.on_delete thread = models.ForeignKey(Thread) /a/mailarch/1.10.0/mlarchive/archive/models.py:355: RemovedInDjango20Warning: on_delete will be a required arg for ForeignKey in Django 2.0. Set it to models.CASCADE on models and in existing migrations if you want to maintain the current default behavior. See https://docs.djangoproject.com/en/1.11/ref/models/fields/#django.db.models.ForeignKey.on_delete message = models.ForeignKey(Message) /a/www/ietf-datatracker/web/ietf/utils/text.py:21: RemovedInDjango20Warning: django.utils.functional.allow_lazy() is deprecated in favor of django.utils.functional.keep_lazy() xslugify = allow_lazy(xslugify, six.text_type) /a/www/ietf-datatracker/web/ietf/person/models.py:157: RemovedInDjango20Warning: on_delete will be a required arg for OneToOneField in Django 2.0. Set it to models.CASCADE on models and in existing migrations if you want to maintain the current default behavior. See https://docs.djangoproject.com/en/1.11/ref/models/fields/#django.db.models.ForeignKey.on_delete user = models.OneToOneField(User, blank=True, null=True)


Issue migrated from trac:2289 at 2021-09-22 16:50:14 +0500

hassanakbar4 commented 7 years ago

@hassanakbar4 changed status from new to closed

hassanakbar4 commented 7 years ago

@hassanakbar4 changed resolution from ` tofixed`

hassanakbar4 commented 7 years ago

@hassanakbar4 commented


Resolved in revisions 604,605.