On 5 juil, 04:33, Leaf <[EMAIL PROTECTED]> wrote:
> Okay. I'll run a quick find-and-replace to set all my identifiers to
> use underscores instead of hyphens. I'm not that familiar with Python,
> so I assumed that it would recognize hyphens as a seperator and not a
> minus sign.

There are very few programming languages that allow hyphens or other
special chars in identifiers.

(snip)
> > > class Style(models.Model):
> > >     Style-Name = models.CharField("Style Name", Max_length = 32,
> > > Default = "Styles Upon Styles", Help_text = "A user-friendly name for
> > > the style.")

And while we're at it, the naming conventions in Python are
"all_lower_with_underscore" for anything else than class names.
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to