Re: create models from the admin page?

2006-05-05 Thread Glenn Tenney
On Fri, May 05, 2006 at 12:20:35PM -0500, James Bennett wrote: > Keep in mind that's a wiki that *anyone* can contribute to, not just > "official" developers ;) And... because it's a wiki... have their contributions deleted too. (mine were) -- Glenn --~--~-~--~~~---

Re: create models from the admin page?

2006-05-05 Thread James Bennett
On 5/5/06, falcon <[EMAIL PROTECTED]> wrote: > It looks like I'm not the only one thinking about these ideas, Django > devs themselves have proposed this as one of the ideas for SOC coders Keep in mind that's a wiki that *anyone* can contribute to, not just "official" developers ;) -- "May the

Re: create models from the admin page?

2006-05-05 Thread falcon
It looks like I'm not the only one thinking about these ideas, Django devs themselves have proposed this as one of the ideas for SOC coders: "create a project and super user with one command line statement, fire up the development web server, and import/create/refine your model using live data fr

Re: create models from the admin page?

2006-05-05 Thread julián
A web-based model editor is not an easy task. I think vi is the right modeller tool (after a paper/pencil session) or emacs if you're a pianist. For GUI-tools-aficionados I'd rather devote the effort to write code generators for apps like umbrello [http://uml.sourceforge.net/index.php]. A lot ea

Re: create models from the admin page?

2006-05-03 Thread James Bennett
On 5/3/06, falcon <[EMAIL PROTECTED]> wrote: > By users I meant users of the Django framework, not end-users. Since > my last post I came across a few models (the ones you suggested) that > do have a great deal more logic than I expected. I still believe that > many 'developers' could benefit fr

Re: create models from the admin page?

2006-05-03 Thread Rock
falcon wrote: > I still believe that > many 'developers' could benefit from defining simple to moderately > complex models on the web. If code needs to get more complex, > developers can just switch back to using models.py. > I have gone in a different direction. I have written a tool to parse

Re: create models from the admin page?

2006-05-03 Thread falcon
By users I meant users of the Django framework, not end-users. Since my last post I came across a few models (the ones you suggested) that do have a great deal more logic than I expected. I still believe that many 'developers' could benefit from defining simple to moderately complex models on th

Re: create models from the admin page?

2006-05-03 Thread Sean Perry
James Bennett wrote: > Going further, it seems to me that, rather than encouraging the design > of good, well-thought-out models, building models through a web > interface would encourage a slapdash "if we get it wrong we'll just go > into the web interface and change it" mentality, which would be

Re: create models from the admin page?

2006-05-03 Thread James Bennett
On 5/3/06, falcon <[EMAIL PROTECTED]> wrote: > I wonder if you could say a few more words about why you think such a > system will be abused? As far as I can tell, the models.py interface > is simple enough to be ported completely to the web (it doesn't look > like models.py is where you put comp

Re: create models from the admin page?

2006-05-03 Thread falcon
James, Thanks for pointing to sites/models.py and auth/models.py, I'll take a look. I wonder if you could say a few more words about why you think such a system will be abused? As far as I can tell, the models.py interface is simple enough to be ported completely to the web (it doesn't look like

Re: create models from the admin page?

2006-05-03 Thread James Bennett
On 5/3/06, falcon <[EMAIL PROTECTED]> wrote: > I just started looking at Django, looks very interesting. However, > couldn't models be defined in the admin page, rather than in python > code? In fact, is there a reason why we couldn't download django, run > the embedded web server, go to the adm

create models from the admin page?

2006-05-03 Thread falcon
I just started looking at Django, looks very interesting. However, couldn't models be defined in the admin page, rather than in python code? In fact, is there a reason why we couldn't download django, run the embedded web server, go to the admin page and do every thing there (except templates)?