mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	newforms-admin: Merged changes from trunk up to [6863].
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -107,6 +107,10 @@ class Car(models.Model): | ||||
|     colour = models.CharField(max_length=5) | ||||
|     model = models.ForeignKey(Model) | ||||
|  | ||||
| class MissingRelations(models.Model): | ||||
|     rel1 = models.ForeignKey("Rel1") | ||||
|     rel2 = models.ManyToManyField("Rel2") | ||||
|  | ||||
| model_errors = """invalid_models.fielderrors: "charfield": CharFields require a "max_length" attribute. | ||||
| invalid_models.fielderrors: "decimalfield": DecimalFields require a "decimal_places" attribute. | ||||
| invalid_models.fielderrors: "decimalfield": DecimalFields require a "max_digits" attribute. | ||||
| @@ -189,4 +193,6 @@ invalid_models.selfclashm2m: Accessor for m2m field 'm2m_4' clashes with related | ||||
| invalid_models.selfclashm2m: Accessor for m2m field 'm2m_4' clashes with related m2m field 'SelfClashM2M.selfclashm2m_set'. Add a related_name argument to the definition for 'm2m_4'. | ||||
| invalid_models.selfclashm2m: Reverse query name for m2m field 'm2m_3' clashes with field 'SelfClashM2M.selfclashm2m'. Add a related_name argument to the definition for 'm2m_3'. | ||||
| invalid_models.selfclashm2m: Reverse query name for m2m field 'm2m_4' clashes with field 'SelfClashM2M.selfclashm2m'. Add a related_name argument to the definition for 'm2m_4'. | ||||
| invalid_models.missingrelations: 'rel2' has m2m relation with model Rel2, which has not been installed | ||||
| invalid_models.missingrelations: 'rel1' has relation with model Rel1, which has not been installed | ||||
| """ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user