Python app to django web app -


i've written python code accomplish task. currently, there 4-5 classes i'm storing in separate files. i'd change whole thing database-backed web app. i've been reading tutorials on django, , far impression i'll need manually specify fields , types every "model" use. little surprising me, since expecting kind of orm capability take existing classes i've defined, , map them onto database somehow, in manner abstracted away me.

is not case? missing something? looks need specify fields , types in file 'models.py'.

okay, beyond specifics, have general tips on best way migrate object-oriented desktop application web application?

thanks!

that is django's orm: maps classes tables. else did expect? there needs way of specifying fields are, though, before can use them, , that's managed through models.model class , various models.field subclasses. can use classes mixins in order use existing business logic on top of field definitions.


Comments

Popular posts from this blog

SAP Web Service from .NET via WCF -

c# - Getting "Internal .Net Framework Data Provider error 30" error when column has NULL value -

c++ - How to modify context menu of internet explorer using IDocHostUIHandler::ShowContextMenu? -