Re: Hyphens in Django app/project names?
On Tue, Jan 18, 2011 at 8:42 AM, Victor Hooi <victorhooi@gmail.com> wrote:
> Russ,
> Aha, excellent, thanks for clearing that up =).
> I can see you point - django-registration has a module called
> "registration", django-extensions has a module called "django_extensions",
> and django-staticfiles has one called "staticfiles". So it seems like I
> either go for a single-word module name, or replace hyphens with
> underscores.
> Is there any recommendation from the Django team? Is sing underscores as
> faux-hyphens considered bad practice?
The only recommendation I would make is that the name you choose is
essentially the interface to your api, so make it easy to use.
django_foobar is accurate, but a PITA if you have to type it every
time you import/use the app, especially if foobar isn't likely to be
inaccurate in the circumstances.
Yours,
Russ Magee %-)
--
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