[web2py] Using stock Bootstrap

2014-04-26 Thread MJo
What I loose from web2py if I create site where all .html files are first 
cleaned up and written from scratch according Bootstrap manuals?

BR,
-- MJo

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] plugin_mptt seems broken under 2.2.1

2013-04-07 Thread MJo
On Monday, November 19, 2012 10:45:36 PM UTC+2, Richard wrote:
>
> ...
>
> Some tests doesn't pass in plugin_mptt, mainly :
>
> ...
>
>  AttributeError: 'Row' object has no attribute 'name'
>
>
I tried to put 'name'-field to plugin_mptt_node-table (it got inserted to 
sqlite_sequence table) but still failing. I also changed  
controllers/plugin_mptt.py file to use filesystem instead of RAM: 

db = DAL ('sqlite://storage.db')

but no joy :(

Is web2py/sqlite changed somehow to ruin this nice plugin? If some one got lost 
http://dev.s-cubism.com/plugin_mptt is the plugin here.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[web2py] Re: Adding a scheduled task using the scheduler results in db error.

2013-02-17 Thread MJo
On Saturday, February 2, 2013 3:56:42 PM UTC+2, Niphlod wrote:
>
> if your db is istantiated with check_reserved=['all'] then you need to 
> fetch the gluon/scheduler.py from trunk and use that, because in 2.3.2 
> stable the column names of the scheduler's table are not compatible. 
>

What is the most elegant way to upgrade web2py? Upgrading core is easy but 
how to deal stuff inside one particular application? Now I utilized 
BeyondCompare3 to sync all those Twitter Bootstrap and so on stuff. 

Considering this Scheduler table problem, can I some how drop all affected 
tables and get new ones automatically created? Trying to stay up to date 
with latest released version, not wanting anything from the trunk.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[web2py] Re: web2py admin2 is DEAD?

2013-02-16 Thread MJo
How to get going with web2admin? What is the e-mail address it's asking 
for.. I have to fill db with some details (using old admin, or current 
default if you like) and after that I'm able to login via web2admin? What 
are the required minimums here?

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[web2py] Re: DB filled with data, now what? How to operate with view?

2012-10-31 Thread MJo


On Tuesday, October 23, 2012 7:44:42 AM UTC+3, howesc wrote:
>
> yes, i would do the query in the controller, and output my custom HTML in 
> the view that uses CSS to indent the  or whichever HTML element that 
> you use to get your layout.
>
>
Thank you, makes sense going on within that plan! 

-- 





[web2py] DB filled with data, now what? How to operate with view?

2012-10-22 Thread MJo
I've got scheduler working and DB is getting data. Now the funny part 
starts for newbie like me (scheduler were somewhat easy stuff but basics 
like html&css not and add there also this framework to that soup).. How to 
show that data?

Am I supposed to utilize controllers/default.py:
def index():
to return some dictionary?

DB is something like:

   forename  surname  parent-id
1. John Smith
2. Lisa  Jefferson
3. RickySmith  1

So John has boy Ricky.

I would like to layout web-page as:

John Smith
Ricky Smith
Lisa Jefferson

So shall I do DB call on controller to return everything using dictionary 
and do parsing (put Ricky as indented/under related to John) on view? Or 
should I somehow forget controller and just do everything on view? What is 
the "right way"?

I guess I have to use  and/or  like spell among css3 to 
format it using good practices and current de facto standards.

-- 





Re: [web2py] Re: Scheduler and trying to insert task with args

2012-07-27 Thread MJo
Thank you that did the trick! (Tried enormous amount of combinations, but 
not all when started playing with dumps() )

On Friday, July 27, 2012 5:06:30 PM UTC+3, Marin Pranjić wrote:
>
> ...
> shouldn't you remove the 'quotes'?
>
> Marin
>
>

-- 





[web2py] Re: Scheduler and trying to insert task with args

2012-07-27 Thread MJo
Oh I'm using trunk something like one week old to that matter.

On Friday, July 27, 2012 3:52:03 PM UTC+3, MJo wrote:
>
> If I provide args like following:
>
> ...
> my_id = db.my_inventory.insert(...)
>
> db.scheduler_task.insert(
> ...
> args=dumps(['my_id']),
> ...) 
> ...
>
> I see exactly this 'my_id' as textual string on my newly created task, 
> looking it via appadmin. 
>
> How to make my task to get numerical data to be able to do operations for 
> that particular row on db?
>

On Friday, July 27, 2012 3:52:03 PM UTC+3, MJo wrote:
>
> If I provide args like following:
>
> ...
> my_id = db.my_inventory.insert(...)
>
> db.scheduler_task.insert(
> ...
> args=dumps(['my_id']),
> ...) 
> ...
>
> I see exactly this 'my_id' as textual string on my newly created task, 
> looking it via appadmin. 
>
> How to make my task to get numerical data to be able to do operations for 
> that particular row on db?
>

-- 





[web2py] Scheduler and trying to insert task with args

2012-07-27 Thread MJo
If I provide args like following:

...
my_id = db.my_inventory.insert(...)

db.scheduler_task.insert(
...
args=dumps(['my_id']),
...) 
...

I see exactly this 'my_id' as textual string on my newly created task, 
looking it via appadmin. 

How to make my task to get numerical data to be able to do operations for 
that particular row on db?

-- 





[web2py] Re: debugging procedure

2012-07-06 Thread MJo
On Saturday, June 30, 2012 5:38:46 PM UTC+3, Cliff Kachinske wrote:
>
> Yes, the debugger is there on the application page.
>
> Works very well.
>
>
Latest "Version 2.00.0 (2012-07-04 23:30:47) dev" version is broken. While 
accessing http://127.0.0.1:8000/admin/debug/interact it gives "invalid view 
(debug/interact.html)". Is it me or just bug? (Never used this online 
debugger) 

-- MJo


[web2py] Online debugger broken?

2012-07-05 Thread MJo
Using latest version 
https://github.com/web2py/web2py/commit/074b3de687ee65c2fc5bf87816d72cfd9fd96a10and
 while accessing 
http://127.0.0.1:8000/admin/debug/interact it gives "invalid view 
(debug/interact.html)". Is it me or just bug? (Never used this online 
debugger)

BR,
-- MJo