Can't alter type but can make with type. Djongo is fun!
This commit is contained in:
		@@ -12,7 +12,7 @@ class Page(models.Model):
 | 
			
		||||
	def __str__(self):
 | 
			
		||||
		return self.title
 | 
			
		||||
 | 
			
		||||
class Contact(models.Model):
 | 
			
		||||
"""class Contact(models.Model):
 | 
			
		||||
	name=models.CharField(max_length=100)
 | 
			
		||||
	url=models.CharField(max_length=500)
 | 
			
		||||
	proto=models.CharField(max_length=100)
 | 
			
		||||
@@ -24,7 +24,7 @@ class Contact(models.Model):
 | 
			
		||||
		a=Updates.objects.get(page='contact')
 | 
			
		||||
		a.date=date.today()
 | 
			
		||||
		a.save()
 | 
			
		||||
		super().save(*args,**kwargs)
 | 
			
		||||
		super().save(*args,**kwargs)"""
 | 
			
		||||
 | 
			
		||||
class Updates(models.Model):
 | 
			
		||||
	page=models.CharField(max_length=100)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user