Opened 19 years ago
Last modified 19 years ago
#3681 closed
Placing newforms in model breaks manage.py syncdb — at Version 3
| Reported by: | Owned by: | Adrian Holovaty | |
|---|---|---|---|
| Component: | Forms | Version: | dev |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Hi
I placed a newform calss "inline" in a model. It works fine but breaks manage.py syncdb
class MyModel(models.Model): name = models.CharField(maxlength=200) descr = models.CharField(maxlength=300) class EditForm(forms.Form): name = forms.CharField(label="Name", max_length=200) descr = forms.CharField(label="Description", max_length=200)
Change History (3)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
Error: Couldn't install apps, because there were errors in one or more models:
jellyspot.server.apps.info.guides: init() got an unexpected keyword argument 'label'
comment:3 by , 19 years ago
| Description: | modified (diff) |
|---|
Note:
See TracTickets
for help on using tickets.
What error do you see when trying to run
syncdbwith this model?