On Aug 4, 9:19 am, Jagdeep Singh Malhi <singh.malh...@gmail.com> wrote: > i follow these documentation for create form > > http://docs.djangoproject.com/en/dev/topics/forms/ > > i use command for create application > #python manage.py startapp form > > after this a use this code in model.py file > > from django import forms > > class ContactForm(forms.Form): > subject = forms.CharField(max_length=100) > message = forms.CharField() > sender = forms.EmailField() > cc_myself = forms.BooleanField(required=False) > > but nothing can be show in when a run this command > #python manage.py sql form. > > where is problem ? > please help.
Why do you think you would get any SQL with that? You're creating a form, not a model. -- DR. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.