Re: Admin Site appending letter "s" to end of each model\table name
On Sat, Sep 10, 2011 at 11:06 PM, Shawn Milochik <shawn@milochik.com> wrote:
> The way you were doing it makes perfect sense if you have experience
> creating database tables by hand, the way most people do for their PHP and
> ASP apps. Django's ORM is doing all the same stuff underneath, but it
> provides a level of abstraction that makes it (much) easier to do common
> things, and it's a bit different than the "old way."
AFAICT, most SQL database design texts advice on using singular nouns
for table names. ORMs inherited that practice.
of course, as a newbie, I also made the mistake of using plural names
very often, until I found that advice; and I can say that it really
sounds better after a while.
--
Javier
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home