>
> How am I supposed to clean the database (and why the heck do I need to do 
> it in the first place??)? I have tried db.table.truncate() in table's 
> administration panel -> nothing happens. Where am I supposed to do that?
>

Well, you can simply call .truncate right in your app code if you'd like 
(in a model or controller). Of course, you'd want to make it conditional 
somehow or disable/remove the code once you're done truncating.

Otherwise, you can always start a web2py shell and do it from there.
 

> This is the stuff I see in my db and I'm pretty sure I didn't add this:
>

Ah, yes, I have that when I grepped the code. I must have copied it from 
>> somewhere when I wrote the code (probably some example that I used).
>
>
Oops. ;-)

Anthony

>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>

-- 
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.

Reply via email to