https://github.com/zacharyvoase/django-boss
http://blog.zacharyvoase.com/2009/12/09/django-boss/
What is the outlook of something like this replacing the current way
management commands are handled by django? I'm no the author of
django-boss, but I think this syntax is much better and more pytho
99.9% of slugs in the wild use dashes instead of anything else, so an
argument to the slugify function would be pointless. At any rate, you can
always make a wrapper:
def better_slugify(value, seperator='-'):
return slugify(value).replace('-', seperator)
--
You received this message becaus
Does anybody like the idea of passing in a classname to a form field that
will get rendered to the widget without having to manually override the
entire widget?
class PersonForm(forms.Form):
phone_number = forms.CharField(class='person')
zipcode = forms.CharField(class='person')
class C
On Jul 4, 8:40 pm, Luke Plant wrote:
> Unlike PHP, we have namespaces, which means that providing a list of
> every function/class is a different matter.
So? Matplotlib has similar documentation to PHP's reference, and it's
fairly well regarded. The one thing that matplotlib doesn't do well is
th
On Jul 4, 7:38 pm, Flávio Amieiro wrote:
> On Sun, Jul 4, 2010 at 8:29 PM, dffdgsdfgsdfhjhtre wrote:
>
> > I may be in the minority here, but I believe grepping source should
> > never, ever, ever be an acceptable substitution for proper
> > documentation.
>
> I agr
On Jul 4, 2:22 pm, Flávio Amieiro wrote:
> For this kind of problem, i just grep django's code for the string I want. I
> know that not everyone likes to do this
I may be in the minority here, but I believe grepping source should
never, ever, ever be an acceptable substitution for proper
documen
There are two types of documentation, "reference" documentation
(articles explaining all about one specific object such as slugify or
the Feed class), and "topical" documentation (articles explaining how
to do stuff like write templates).
It seems right now, django's documentation is trying to do
I think this is how it should go when settings are loaded:
1. goes through all installed apps, and tried to load settings.py.
2. then it loads the django defaults. This way, if an app settings
file tries to override DATABASES or something, it will get reverted to
the django defaults
3. then it loa
As all of you know, djangosnippets.com is very popular and a pretty
integral part of the Django ecosystem. It is a great resource but
there are some problems:
1. The site has been online for a few years, and the majority of the
snippets were added back in the 1.0 and pre-1.0 era. Many of those
sni