$ hg clone https://web2py.googlecode.com/hg/ my-clean-web2py $ cd my-clean-web2py/ $ python web2py.py gui interface for server starts, opens opera (my default browser) http://127.0.0.1:8000/welcome/default/index http://127.0.0.1:8000/admin/default/index loggining in, creating test application http://127.0.0.1:8000/admin/default/design/test editing db.py uncommenting db.define_table('mytable',Field ('myfield','string')) saving it, going back http://127.0.0.1:8000/admin/default/design/test clicking on database administration (http://127.0.0.1:8000/test/ appadmin/index) getting redirected to http://127.0.0.1:8000/admin/default/site
ok here are the system information i guess you need Ubuntu 9.04 \n \l Python 2.6.2 (release26-maint, Apr 19 2009, 01:58:18) Opera Version 10.10 anything else you need to know? you could even test this with an ubuntu live cd I guess On Dec 15, 7:53 pm, Yarko Tymciurak <resultsinsoftw...@gmail.com> wrote: > On Dec 15, 9:04 am, selecta <gr...@delarue-berlin.de> wrote: > > > I just tried again, here are the steps that i did > > > downloaded web2py Version 1.74.1 > > logged into the admin > > created a new application "test" > > edited the db.py of test to contain > > db.define_table('mytable',Field('myfield','string')) > > then i click in the edit interface "database administration" (http:// > > 127.0.0.1:8000/test/appadmin/index) > > I get redirected tohttp://127.0.0.1:8000/admin/default/site > > When I do a clean checkout of web2py from hg, I do not get this. > > Try doing an absolutely clean checkout, and see if this still happens > for you: > > hg clonehttps://web2py.googlecode.com/hg/my-clean-web2py > > > > > > > On Dec 15, 2:45 am, Yarko Tymciurak <resultsinsoftw...@gmail.com> > > wrote: > > > > On Dec 14, 5:49 pm, selecta <gr...@delarue-berlin.de> wrote: > > > > > Ok sorry for the little info > > > > I log into the general admin (http://127.0.0.1:8000/admin/default/ > > > > index) > > > > I create an application > > > > I try to edit the database with appadmin.py but it just redirectsme > > > > if I do not comment: if not gluon.fileutils.check_credentials > > > > (request): redirect(URL(a='admin', c='default', f='index')) > > > > I am not able to reproduce; here's what I did: > > > > clean pull, current version from google code; > > > Version: web2py Version 1.74.1 (2009-12-14 10:05:21) > > > > I create a new app - "test" > > > I edit db.py in test (using admin), add a table: > > > > db.define_table('test', Field('name')); > > > > I save, and go to database administration, and add an entry in table > > > test --- success (record inpected, seems ok) > > > > What do you mean when you say "I try to edit the database with > > > appadmin.py"? > > > > Regards, > > > - Yarko > > > > > web2py Version 1.72.3 (2009-11-10 09:17:13) > > > > > On Dec 14, 3:27 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > > > I am not sure the behavior you experience is wrong. Is this about > > > > > appadmin? Did you try after login in admin? can you show us the > > > > > workflow you experience and what you expect? Which web2py version? > > > > > > Massimo > > > > > > On Dec 14, 4:06 am, selecta <gr...@delarue-berlin.de> wrote: > > > > > > > if not gluon.fileutils.check_credentials(request): > > > > > > redirect(URL(a='admin', c='default', f='index')) > > > > > > > Whenever this line is in my code I always get redirected, I have no > > > > > > idea what to do to avoid that (other than commenting out this line). > > > > > > > I access the server from localhost with an normal http request. > > > > > > > Please helpme. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.