List Info

Thread: How to auto create a from Model just the Admin do?




How to auto create a <FORM> from Model just the Admin do?
user name
2006-10-30 08:56:27

On Oct 27, 2006, at 9:57 PM, 张沈鹏 wrote:

> as title,
> if I has a class like this
>
> class Media(models.Model):
>    fileByte =
models.IntegerField('文件大小(单位:字节)')
>    fileName =
models.CharField('文件名',maxlength='255')
>    class Admin: pass

zsp007:

Because English is the default language of this m-list,
please try  
not to have Chinese characters within your post, that might
confuse  
other non-Chinese speaking participants.

Thanks.



-Cheng Zhang
http://www.ifaxian.com
1st Django powered site in Chinese 
http://www.aiyo.cn
Our 2nd Django powered site in Chinese


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )