Popular recipes tagged "django" but not "upload"http://code.activestate.com/recipes/tags/django-upload/2011-06-21T22:10:31-07:00ActiveState Code RecipesManagment command to deploy a Django project (Python) 2011-06-21T22:10:31-07:00Filippo Squillacehttp://code.activestate.com/recipes/users/4174931/http://code.activestate.com/recipes/577767-managment-command-to-deploy-a-django-project/ <p style="color: grey"> Python recipe 577767 by <a href="/recipes/users/4174931/">Filippo Squillace</a> (<a href="/recipes/tags/django/">django</a>). </p> <p>This recipe shows a management command for django project that enables automatic synchronization between the local and remote project. Of course, the deploy exclude to overwrite the settings.py located in the remote server.</p> <p>This is a clean way to deploy your own project without calling external commands, although this command needs rsync to work.</p> slugify: make a string usable in a URL or filename (Python) 2010-06-07T04:11:55-07:00Trent Mickhttp://code.activestate.com/recipes/users/4173505/http://code.activestate.com/recipes/577257-slugify-make-a-string-usable-in-a-url-or-filename/ <p style="color: grey"> Python recipe 577257 by <a href="/recipes/users/4173505/">Trent Mick</a> (<a href="/recipes/tags/ascii/">ascii</a>, <a href="/recipes/tags/django/">django</a>, <a href="/recipes/tags/filename/">filename</a>, <a href="/recipes/tags/slug/">slug</a>, <a href="/recipes/tags/slugify/">slugify</a>, <a href="/recipes/tags/url/">url</a>). Revision 2. </p> <p>"Slugify" a string so it is ascii, has only alphanumeric and hyphen characters. Useful for URLs and filenames. This is heavily based on the slugify in Django.</p> <p>Note: presumes that you've <code>import re</code>d higher up in your module.</p> Show all url patterns in django (Python) 2010-03-26T20:04:08-07:00Michael Grünewaldhttp://code.activestate.com/recipes/users/4172244/http://code.activestate.com/recipes/576974-show-all-url-patterns-in-django/ <p style="color: grey"> Python recipe 576974 by <a href="/recipes/users/4172244/">Michael Grünewald</a> (<a href="/recipes/tags/django/">django</a>, <a href="/recipes/tags/urls/">urls</a>). Revision 5. </p> <p>This small script shows a simple formatted tree of all defined django url patterns.</p> model teste (Python) 2009-09-09T08:52:31-07:00Marcello(Harry) Bontempo Salgueirohttp://code.activestate.com/recipes/users/4166255/http://code.activestate.com/recipes/576899-model-teste/ <p style="color: grey"> Python recipe 576899 by <a href="/recipes/users/4166255/">Marcello(Harry) Bontempo Salgueiro</a> (<a href="/recipes/tags/django/">django</a>). </p> <p>this is a exemple of OS </p> admin django (Python) 2009-09-09T08:51:18-07:00Marcello(Harry) Bontempo Salgueirohttp://code.activestate.com/recipes/users/4166255/http://code.activestate.com/recipes/576898-admin-django/ <p style="color: grey"> Python recipe 576898 by <a href="/recipes/users/4166255/">Marcello(Harry) Bontempo Salgueiro</a> (<a href="/recipes/tags/django/">django</a>). </p> <p>this is a teste of admin with tabular line</p>