djangosnippets.org: Latest snippets posted by gustavo80brhttps://djangosnippets.org/users/gustavo80br/2008-04-24T22:13:10.021660-05:00gustavo80brUsername genrator
2008-04-24T22:13:10.021660-05:00gustavo80brhttps://djangosnippets.org/snippets/723/<p>This function generate an username based on the user's full name. First it tries to use the first name first letter plus the last name, second it tires the first name plus the last name first latter, and at last it tries to use the first name with a sequential …</p>
Freely redistributableForms splitted in fieldsets
2008-03-25T12:31:29.984102-05:00gustavo80brhttps://djangosnippets.org/snippets/663/<p>This template tag build a Form splitted in fieldsets. The fieldsets are configured with a second parameter, that is a tuple like the one used in the Admin class in models in the attribute "fields".</p>
<p>You pass to the template the form and the tuple and than use them as …</p>
Freely redistributable