pythonormcheetah

Which python tools for building a database-backed webapp


I am completing my first database project which aims to build a simple discussion site.

The answers which I got at Superuser suggests me that Python is difficult to use in building a database webapp without any other tools.

Which other tools would you use?


Solution

  • There are many other options other than Django. However:

    You can make your own SQL queries in Django. Here is the documentation for extra(). extra() lets you make extra SQL calls on top of the ORM.

    If you want to make raw SQL queries, bypassing the ORM entirely, you can do so with django.db. See this article for examples.

    That said, other options aside from Django if you still want to use a framework:

    See this list for a listing of more frameworks.

    Now, if you don't want to use a ORM and just want o make SQL calls directly, Python also has the ability to interact with a database. See this page on the Python wiki.