I will try to make this today. I like this wiki better than the last as it is easier to explain what the code is doing.
On Sep 11, 10:28 am, mdipierro <[email protected]> wrote: > I'd still prefer if you could do it but I could do it later today if > they stop the drilling outside my office. > > On Sep 11, 10:11 am, "mr.freeze" <[email protected]> wrote: > > > > > Much better. I like this code better than the previous wiki. Are you > > going to do a video? > > > On Sep 11, 8:23 am, mdipierro <[email protected]> wrote: > > > > oops. I reposted it. make sure you delete databases/* before you try > > > again. > > > > Massimo > > > > On Sep 11, 6:32 am, "mr.freeze" <[email protected]> wrote: > > > > > I get this when editing an entry. I am at revision 1215 of svn: > > > > > Traceback (most recent call last): > > > > File "C:\web2py\gluon\restricted.py", line 178, in restricted > > > > exec ccode in environment > > > > File "c:/web2py/applications/wiki/controllers/default.py", line 26, > > > > in <module> > > > > File "c:\web2py\gluon\globals.py", line 102, in <lambda> > > > > self._caller = lambda f: f() > > > > File "C:\web2py\gluon\tools.py", line 1410, in f > > > > return action(*a, **b) > > > > File "c:/web2py/applications/wiki/controllers/default.py", line 13, > > > > in edit > > > > form=crud.create(db.page,next=URL > > > > (r=request,f='index',args=request.args)) > > > > File "C:\web2py\gluon\tools.py", line 1887, in create > > > > deletable=False, > > > > File "C:\web2py\gluon\tools.py", line 1830, in update > > > > keepvalues=self.settings.keepvalues): > > > > File "c:\web2py\gluon\sqlhtml.py", line 854, in accepts > > > > self.vars.id = self.table.insert(**fields) > > > > File "c:\web2py\gluon\sql.py", line 1523, in insert > > > > self._db._execute(query) > > > > File "c:\web2py\gluon\sql.py", line 704, in <lambda> > > > > self._execute = lambda *a, **b: self._cursor.execute(*a, **b) > > > > IntegrityError: column name is not unique > > > > > On Sep 11, 1:46 am, mdipierro <[email protected]> wrote: > > > > > > http://web2py.com/examples/static/web2py.app.wiki2.w2p > > > > > > this one has 49 lines of models and controllers code (including 13 > > > > > lines of scaffolding code) and 20 lines of views html code. > > > > > > I am going to use this one to rewrite T3. I think it can be done with > > > > > very little work. > > > > > > Time for you to request some features.- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

