Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>(disclaimer: I am the project leader for web2py)</p> <p>Django has been around 5 years longer than web2py therefore it has more users and more applications to show off. Django has what they call "admin" which is not the same as web2py's "admin" but more like web2py's "appadmin". Django's "admin" is better and more customizable than web2py's "appadmin". Django does not have the equivalent of web2py's "admin". (sorry for the name confusion).</p> <p>web2py is more compact and has more functionality out of the box (more supported databases, web based IDE, ticketing system, runs on GAE without patches, multiple login methods, role based access control, web based translation interface, support for multiple database connections, distributed transactions, and more).</p> <p>For me the most important functionality of web2py is automatic migrations. Django does not provide them out of the box.</p> <p>For web2py long term backward compatibility is a primary goal, together with security. Django is comparable to web2py in terms of security (except that web2py had CSRF prevention and default escaping in templates before they did) but Django broke backward compatibility when 1.0 was released. web2py never did since Oct 2007.</p> <p>To me the web2py syntax is more natural:</p> <pre><code> db(db.tablename.fieldname &lt;= value).select() # web2py Tablename.objects.filter(fieldname__lt=value) # Django </code></pre> <p>I am not aware of any functionality of web2py that is not present in Django. I have asked that question many times because, if there is, we want to add it to web2py, but I have not yet received a satisfactory answer.</p> <p>Of course there are things that we both do but differently. Django follows "explicit is better than implicit". web2py does not and instead follows "everything should have a default behavior". I believe this makes web2py code and configuration more compact.</p> <p>Anyway, whatever you choose, they are both good solid web frameworks and there are fewer similarities than differences. Django's developers are very smart people.</p> <p>The web2py community is very friendly. As an experiment, try asking a question on the web2py google group and on the Django group.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload