Skip to main content

Olifante *'s Library tagged django   View Popular

21 Jan 09

Usefull tips to start a new project with Django

  • Only use null=True for non-string fields such as integers, booleans and dates: Avoid using null on string-based fields such as CharField and TextField unless you have an excellent reason.
  • Use fixtures to reimport data and test your apps manage.py dumpdata --indent=4 > initial.json and manage.py loaddata initial, don't spend time to reinsert data everyday with the admin
  • 2 more annotations...
10 Dec 08

My first week of django — Reinout van Rees' website

A Plone veteran shares his impression after one week with Django.

reinout.vanrees.org/...first-week-django - Preview

django plone comparison python webdev

  • Light-weight. That's really something completely different from the towering stack that is Plone. Change a .py file and django will just restart itself.
  • Simple customization mechanism, especially for templates. Basically what Plone had with the portal skins. With two differences that make it a bit more maintainable. (a) by convention, every add-on stores its templates in a subdirectory named after itself. So that does away with many name clashes and the one-global-namespace problem Plone had. Just a simple convention. (b) There's a list of template directories in the global config file. That's the order of directories in which Django searches for templates. I'd say that feels much more practical than anything that plone has right now.
  • 3 more annotations...
27 Nov 08

Quick Django Benching

"Before beginning these tests I assumed that since Lighttpd and Nginx were so fast otherwise they'd perform best. As you can see, deploying Django under mod_python is fast. It's no wonder it's the recommended method for deployment."

superjared.com/...quick-django-benching - Preview

django webserver comparison apache nginx lighttpd benchmark

  • Before beginning these tests I assumed that since Lighttpd and Nginx were so fast otherwise they'd perform best. As you can see, deploying Django under mod_python is fast. It's no wonder it's the recommended method for deployment.
26 Jul 08

Desi Founder @ Work » Django Subdomains

  • Adding support for sub-domains in Django is simple but has a few catches. It took me quite some time to get everything working.


    The following links provide a quick way to make sub-domains:


    rossp.org - Using Subdomains with Django

    Django Ticket #5022 - Proposed middleware: SubdomainURLsMiddleware


    The summary of above links is that you have to put a wildcard entry in your domain DNS so that all your subdomains resolve to the IP on which your site is hosted. Then make sure apache handles all the requests to sub-domains; again using a wildcard in apache’s configuration. Then write a middleware which checks the subdomain in request and processes it accordingly by either loading a customized URLs pattern or by handling the request with a view with appropriate logic.

11 Apr 08

Using Django with Appengine

"This is a port of the Django tutorial to use appengine instead of Pure Django. Like in the Django tutorial, we build a poll engine, where you can create polls and others can vote for them."

www.42topics.com/...docs.html - Preview

django appengine google tutorial python webdev

Special Ops for Django

"The gist of it is that I've added a few new views and a single function decorator that you can use to unleash the additional functionality within the admin."

hackermojo.com/...django-special-ops.html - Preview

django admin specialops python webdev customization

Django vs. ASP.NET MVC

"When I started looking at Django, there was a simple 4 step tutorial that I followed to get up to speed. I read through it and over the next couple days I got my simple app up and running. There is nothing like that for the ASP.NET MVC stuff"

totaleclipseservices.com/blog - Preview

asp.net django MVC .NET python programming webdev comparison advocacy

25 Mar 08

JeffCroft.com: Django for non-programmers

Short intro for non-programmers focusing on the high-level building blocks of Django

jeffcroft.com/...django-non-programmers - Preview

django tutorial cms python programming advocacy

04 Mar 08

Rails is the best thing that ever happened to Python

"As much as I may like Ruby more as far as language design goes, not only does Python boast a very solid implementation, it has several advantages over Ruby that go beyond the interpreter."

antoniocangiano.com/...g-that-ever-happened-to-python - Preview

python ruby rails django programming comparison advocacy

02 Oct 07

Comparação entre Rails e Django

"Rails [...] está anos luz à frente [do Django]. A definição de tabelas utilizando sintaxe Ruby, a definição de modelos de forma DRY, o controle da evolução do banco de dados de forma trivial, os testes com RSpec facilmente integrados à aplicaç

blogs.floriparug.org/...omparacao-entre-rails-e-django - Preview

django rails rubyonrails web2.0 webdev comparison overview python ruby

29 Aug 07

"Declarative" Forms with the Django newforms

"I want reuse my model definition in a more flexible manner than the form_for_model way, and I want also to have a more nice html rendering than the as_p or as_table methods can do."

smelaatifi.blogspot.com/...ive-forms-django-newforms.html - Preview

django coding dry declarative webdev web2.0 web_framework

23 Aug 07

The Shrinking Python Web Framework World

There are now only three relevant python web frameworks left: Django, Zope and soon TurboGears 2 (with Pylons under the hood). Looks like Ruby on Rails is putting some healthy competitive pressure into the python webdev world.

blog.ianbicking.org/...ing-python-web-framework-world - Preview

python django zope turbogears pylons ror rails webdev

03 Jul 07

Now with Django powered goodness!

"The thing about Typo was that it was hard to make any changes to it [...]. With the Django there is no magic— just clean, explicit, and simple design."

theonda.org/...w-with-django-powered-goodness - Preview

django rails RoR typo comparison webapps programming

24 Apr 06

Python Web Framework Statistics

Dynamic ranking of Python Web Frameworks based on number of Yahoo results. It's interesting to see that the main contender, Zope, currently only scores 54% of the results accumulated by competing newcomer Ruby on Rails.

noga.muti.co.za/frameworks - Preview

python web_framework ruby rails zope twisted django turbogears plone quixote

1 - 15 of 15
Showing 20 items per page

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo