old_contents: from django.db import models
  
  from core.models import BaseModel, DatePickerField
  from source.models import Source
  
  
  class NewsObject(BaseModel):
      title = models.CharField(max_length=150)
  	text = models.TextField()
  	image = models.ImageField(upload_to='photos')    
  
      source_1 = models.ForeignKey(Source, on_delete=models.DO_NOTHING, null=True, blank=True)
      source_2 = models.ForeignKey(Source, on_delete=models.DO_NOTHING, null=True, blank=True)
  
new_contents: from django.db import models
  from django.utils import timezone
  
  from core.models import BaseModel, DatePickerField
  from source.models import Source
  
  
  class NewsObject(BaseModel):
      title = models.CharField(max_length=150)
  	text = models.TextField()
  	image = models.ImageField(upload_to='photos')    
  
      source_1 = models.ForeignKey(Source, on_delete=models.DO_NOTHING, null=True, blank=True)
      source_2 = models.ForeignKey(Source, on_delete=models.DO_NOTHING, null=True, blank=True)
  
  
  class SearchLog(models.Model):
  	search_term = models.CharField(max_length=256)
  	log_time = models.DateTimeField(default=timezone.now, editable=False)
  	ip_address = models.GenericIPAddressField()
  
subject: add search log model