Hi Bruno,
> The easy way to render the 'http://' urls in web2py, is using markmin.
>
> lets say you have a text
>
> text = "ths is a text with a linkhttp://www.rochacbruno.com.br";
>
> To render the link as an Hyperlink you can use markmin.
>
> {{=MARKMIN(text)}}
On October 15 I posted the follo
Hello,
is there a way to make CRUD.select() build a table that allows to sort
(alternately ascending, descending) when clicking the column header?
In 1.87.3 the column headers are non-clickable.
Best regards, Andreas
balo...@gmail.com
On Nov 3, 3:52 pm, andrej burja wrote:
> hi
>
> why is order of validators important?
> i have
>
> db.tecaj.voditelj.requires=IS_NOT_EMPTY()
> db.tecaj.voditelj.requires=IS_IN_DB(db,'person.id','%(name)s')
>
> why does putting the IS_NOT_EMPTY() at the end doesn't produce
> dropdown list?
Your c
In an application I defined the following connection string and
tables:
db = DAL('postgres://...)
auth.settings.table_user = db.define_table('auth_user',
Field(...),
Field('company_id',db.company,default='',notnull=True,ondelete='CASCADE',writable=False,readable=False),
Field(...))
db.
My cron tab looking like this
#crontab
*/2 * * * * root *sys/test_cron
@hourly root *applications/mm/cron/expire_sessions.py
but this doesn' work. My test cron function is
from time import ctime
def test_cron():
db.dbg.insert(dbgmsg=ctime())
db.commit()
return "ready"
In order to solve inconsistent typing by either people who capture
data or people using search functions I intend to use something like
this in SQL (Postgresql):
select titel from joernaal
where
regexp_replace(lower(titel), '[ -,.:]', '', 'g') =
regexp_replace(lower('SAMj -South african Medica
Thanks branko look very good.
Some little things
-less rounded in title headers?
-the orange in "button edit" still killing my eyes?
-"submit" button has no margins
-Why not by default in edit => all collapsed ?
-The font color in top menu orange with green background is not
getting well, you tri
On Thu, Nov 4, 2010 at 11:33 AM, Martin.Mulone wrote:
> Thanks branko look very good.
>
> Some little things
>
> -less rounded in title headers?
Maybe?
> -the orange in "button edit" still killing my eyes?
Maybe?
> -"submit" button has no margins
Submit button is an inline element, and it can
This may work
query="regexp_replace(lower(titel), '[ -,.:]', '', 'g') =
regexp_replace(lower('SAMj -South african Medical Journal'),
'[,.:]', '', 'g')"
db(query).select(db.joernaal.titel)
On Nov 4, 5:14 am, Johann Spies wrote:
> In order to solve inconsistent typing by either people who capt
http://www.web2py.com/book/default/chapter/07#CRUD
I noticed this example in the book which does not seem correct:
def manage():
table=db[request.args(0)]
form = crud.update(table,request.args(1))
table.id.represent = lambda id: \
A('edit:',id,_href=URL(args=(request.args(0),id
Hi,
Really great work on the wizard! It makes life a lot easier.
I don't know how useful most people will find it, but I would really
appreciate being to specify/list tables in the wizard in any order
(regardless of their dependencies) and have the wizard place them in
the correct order in the m
good idea. Should be easy to do. I will do it asap.
On Nov 4, 7:45 am, Seeker wrote:
> Hi,
>
> Really great work on the wizard! It makes life a lot easier.
>
> I don't know how useful most people will find it, but I would really
> appreciate being to specify/list tables in the wizard in any orde
Great, thanks!
On Nov 4, 3:01 pm, mdipierro wrote:
> good idea. Should be easy to do. I will do it asap.
>
> On Nov 4, 7:45 am, Seeker wrote:
>
>
>
> > Hi,
>
> > Really great work on the wizard! It makes life a lot easier.
>
> > I don't know how useful most people will find it, but I would rea
This was my mistake since I had to appply Branko's patch manuallay.
Now fixed:
http://www.web2py.com/demo_admin/default/site
On Nov 4, 12:07 am, Jonathan Lundell wrote:
> On Nov 3, 2010, at 8:21 PM, mdipierro wrote:
>
>
>
> > Here is the latest work by Branko (with minor edits by me):
>
> This s
http://www.web2py.com/markmin
I built a FORM() object to handle data collection for multiple records
in one swoop, but it doesn't seem to activate the widgets. Do I need
something more than the below?
INPUT(_type='text',_name='date', requires=IS_DATE())
The validator is applied, but the widget is not.
I also was trying to
Thanks. I will try it.
Regards
Johann
--
May grace and peace be yours in abundance through the full knowledge
of God and of Jesus our Lord! His divine power has given us
everything we need for life and godliness through the full knowledge
of the one who called us by his own glory and excellence
Just a tought...
How about we make ALL sounded corners 3px and we use the button colors
of stack overflow (edit in white/orange, site buttons in black/white,
other buttons in white/gray)? We can also make the top bar gray as
they do which is un-intrusive. We do not need a logo. People know
where t
If you use INPUT than you want an No widgets.
I suggest you use SQLFORM.factory(Field(.)) instead.
On Nov 4, 8:20 am, Andrew Thompson wrote:
> I built a FORM() object to handle data collection for multiple records
> in one swoop, but it doesn't seem to activate the widgets. Do I need
>
On Nov 4, 2010, at 6:07 AM, mdipierro wrote:
>
> This was my mistake since I had to appply Branko's patch manuallay.
> Now fixed:
>
> http://www.web2py.com/demo_admin/default/site
The scale of the buttons is good now. That's a lot better than it was.
But expand the page in Mac Safari (cmd+) and
Hi,
In trunk:
Not sure if i have done something wrong, but admin seems to be without
a layout ...
Anyone else experiencing this?
Thanks.
+1 I just remove the header background with firebug, look very good without
the green.
For the submit button you can also use how is in the new welcome
input[type=submit], input[type=button], button {
margin: 0px;
/*width: 85px;*/
height: 22px;
background: #eaeaea;
color: #555;
border: 1px solid
hi
i have
db.define.table('basic'
Field('name1')
...)
db.define.table('advanced'
Field('name2',db.basic)
...)
db.advanced.name.requires=IS_IN_DB(db,'basic.id','%(name1)s')
db.define.table('data'
Field('something',d
On Nov 3, 2010, at 10:34 PM, Jonathan Lundell wrote:
>
> On Nov 3, 2010, at 8:45 PM, Leo wrote:
>>
>> I am running web2py 1.88.2.
>>
>> I have some modules I import that are not under the application's
>> directory. These are moduled developed for other projects.
>>
>> Accessing the modules wor
+1
Enviado via iPhone
Em 04/11/2010, às 11:33, Seeker escreveu:
> Hi,
>
> In trunk:
> Not sure if i have done something wrong, but admin seems to be without
> a layout ...
> Anyone else experiencing this?
>
> Thanks.
Looks good. A few comments:
- At least on my screen, the orange text on white background is a bit
too light for comfortable reading (the same text actually looks a bit
too dark in the header, though sounds like we might change that
anyway).
- Need to work on the behavior and labeling of the "collap
do this:
db.define.table('basic'
Field('name1')
...,format='%(name1)s')
db.define.table('advanced'
Field('name2',db.basic)
...,format='%(name2)s')
# db.advanced.name.requires=IS_IN_DB(db,'basic.id','%(name1)s')
db.define.table('dat
Check if fixed.
On Nov 4, 9:17 am, rochacbruno wrote:
> +1
>
> Enviado via iPhone
>
> Em 04/11/2010, às 11:33, Seeker escreveu:
>
> > Hi,
>
> > In trunk:
> > Not sure if i have done something wrong, but admin seems to be without
> > a layout ...
> > Anyone else experiencing this?
>
> > Thanks.
>
Sverre, I think you must use your own application crontab, located at
applications/your_app/cron
I suggest you create a python script without any functions inside it,
to isolate your cron job, and put it in
applications/your_app/private/.
I do this here and it works nice.
Following my advice, you
Is there a way that we can route a website so that http://www.domain.com
redirect to http://domain.com
If you can't do this with routes how you can do it?
Not with routes. Apache mod_rewrite
On Nov 4, 10:49 am, Francisco Costa wrote:
> Is there a way that we can route a website so thathttp://www.domain.com
> redirect tohttp://domain.com
> If you can't do this with routes how you can do it?
You can have a function but the script must call it:
from time import ctime
def test_cron():
db.dbg.insert(dbgmsg=ctime())
db.commit()
return "ready"
test_cron() #<<
On Nov 4, 10:24 am, Vinicius Assef wrote:
> Sverre, I think you must use your own application crontab, located at
Hello,
I get this error... I have no clue why I get it. I think it not coming from
my app :
Traceback (most recent call last):
File "/home/www-data/web2py/gluon/restricted.py", line 188, in restricted
exec ccode in environment
File "/home/www-data/web2py/applications/init/views/appadmin.h
There are always new cool ideas, and I'm sure all of us have more than
just a few of those. And I would LOVE to try all of them and see what
works. But then again, we could do it until we all die and never
finish. Why? Because there is no such thing as finished in graphic
design. Someone says "Woul
Since we are in this process.
I would propose something, just a basic rule in design. I am not defending a
point here.
Having side by side edit and delete buttons is a bad design.
2 solutions :
1) Put a validation question on delete clic (ex.: would you really delete
the file XX).
2) No validat
That looks like a great combination with the editor!
Is Markitup going to be included as standard?
-D
ok
I've added the following to my virtual-host
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
On 4 Nov, 16:22, mdipierro wrote:
> Not with routes. Apache mod_rewrite
>
> On Nov 4, 10:49 am, Francisco Costa wrote:
>
> > Is there a way that w
Ok I know what the problem has cause :
It seems that the new version is splitting id into single number :
35 = |3|5|
94 = |9|4|
Instead of :
94 = |94|
Richard
On Thu, Nov 4, 2010 at 12:33 PM, Richard Vézina wrote:
> Hello,
>
> I get this error... I have no clue why I get it. I think it not
Hi everyone!
I'm doing an app with fullcalendar (http://arshaw.com/fullcalendar/)
and now i'm with all the events and calendar cruds.
Its time to add some logic to the crud.create() of the events, an only
let the user to add events in his/her calendars, not in ALL the
calendars.
I have this:
db
There is a validation check but on a separate page. We can turn it
into a popup.
On Nov 4, 12:28 pm, Richard Vézina
wrote:
> Since we are in this process.
>
> I would propose something, just a basic rule in design. I am not defending a
> point here.
>
> Having side by side edit and delete buttons
it has been included for some time. You can use it via the MARKMIN
helper.
On Nov 4, 12:34 pm, villas wrote:
> That looks like a great combination with the editor!
> Is Markitup going to be included as standard?
>
> -D
On Thu, Nov 4, 2010 at 7:22 PM, mdipierro wrote:
> Point taken. If you feel you have the time to work a better html, I
> fully support that.
Great. :)
--
Branko Vukelić
bg.bra...@gmail.com
stu...@brankovukelic.com
Check out my blog: http://www.brankovukelic.com/
Check out my portfolio: http:/
I have a crud.update form that is deletable, I use the ondelete
callback function to mark the records as nonvalid, is there a way to
keep the record from being deleted after this?
Very nice. How can one embed videos from youtube, vimeo, using
markmin?
On Nov 5, 2:25 am, mdipierro wrote:
> it has been included for some time. You can use it via the MARKMIN
> helper.
>
> On Nov 4, 12:34 pm, villas wrote:
>
>
>
>
>
>
>
> > That looks like a great combination with the editor!
Point taken. If you feel you have the time to work a better html, I
fully support that.
On Nov 4, 11:36 am, Branko Vukelic wrote:
> There are always new cool ideas, and I'm sure all of us have more than
> just a few of those. And I would LOVE to try all of them and see what
> works. But then agai
hey ty very much :-)
On Wed, Nov 3, 2010 at 6:23 PM, mdipierro wrote:
> errata
>
> views/default/user.html
>
> On Nov 3, 6:51 pm, Andrew Evans wrote:
> > How can I implement my own html template for the authentication/login to
> use
> > throughout my site. I thought about redirecting it but tha
hm. that breaks the workflow.
You should expose the nonvalid field (field.writable=True) and do a
crud.update(,deletable=False)
On Nov 4, 1:31 pm, ggivler wrote:
> I have a crud.update form that is deletable, I use the ondelete
> callback function to mark the records as nonvalid, is there a
Branko,
Again, thanks for all your efforts improving the Admin interface. Your
points are well taken, and I don't think anyone expects that all of
this feedback will be incorporated immediately (or even ever). We've
already made some very nice improvements over the old Admin, so
anything further i
you can use plugin_wiki instead.
Of you can use markmin and define your own syntax. For example you can
do
extra = {'youtube': lambda code: "http://www.youtube.com/v/%s?
fs=1&hl=en_US">http://www.youtube.com/v/%s?fs=1&hl=en_US";
type="application/x-shockwave-flash" allowscriptaccess="always"
allow
Hello!
I am very interresting in your dev.
I would like to help if possible.
Richard
On Thu, Nov 4, 2010 at 2:16 PM, demetrio wrote:
> Hi everyone!
>
> I'm doing an app with fullcalendar (http://arshaw.com/fullcalendar/)
> and now i'm with all the events and calendar cruds.
>
> Its time to ad
I cant download the app using the provided link:
http://www.web2py.com/markmin/static/web2py.app.markmin.w2p
David
On 4 lis, 20:02, mdipierro wrote:
> you can use plugin_wiki instead.
> Of you can use markmin and define your own syntax. For example you can
> do
>
> extra = {'youtube': lambda co
This is an an excellent tip! I did not read this in the online book.
If it is not already in the book, please include it!
On Nov 5, 3:02 am, mdipierro wrote:
> you can use plugin_wiki instead.
> Of you can use markmin and define your own syntax. For example you can
> do
>
> extra = {'youtube': la
Nice.
One problem with one of the menu icons though,
pressing on the numeric list produces a '+'
and it should be '+ '
otherwise you have to add the space manually
for the list to work.
The bulleted list does it right: '- '
On Nov 4, 8:09 am, mdipierro wrote:
> http://www.web2py.com/markmin
Has anyone had experience implementing markin as part of text area
input? Do end users find markmin difficult? Personally, I find it very
user friendly, especially with http://www.web2py.com/markmin But then
again, I am a biased developer.
Any feedback on this?
On Thu, Nov 4, 2010 at 8:00 PM, Anthony wrote:
> Branko,
>
> Again, thanks for all your efforts improving the Admin interface. Your
> points are well taken, and I don't think anyone expects that all of
> this feedback will be incorporated immediately (or even ever). We've
> already made some very
Very Nice!
I am a markmin fan
Would be good to render it live with ajax.
Enviado via iPhone
Em 04/11/2010, às 17:35, mdipierro escreveu:
> oops. please try againa.
>
> On Nov 4, 2:10 pm, David Marko wrote:
>> I cant download the app using the provided
>> link:http://www.web2py.com/markmi
The conference talk is not on web2py but I will run examples using
web2py. Because of that I would like to release 1.89.1 next week. That
does not prevent us from making any more changes later. Yet, I would
not like to release something that is very different from the previous
version and too far f
oops. please try againa.
On Nov 4, 2:10 pm, David Marko wrote:
> I cant download the app using the provided
> link:http://www.web2py.com/markmin/static/web2py.app.markmin.w2p
>
> David
>
> On 4 lis, 20:02, mdipierro wrote:
>
> > you can use plugin_wiki instead.
> > Of you can use markmin and d
Done.
Has been a good exercise.
How can I publish it?
--
Massimiliano
On Thu, Nov 4, 2010 at 2:22 AM, mdipierro wrote:
> It should be easy to turn it into a plugin. Any takers?
>
> On Nov 3, 6:20 pm, yamandu wrote:
> > Is there a way to integrate into my app?
> >
> > On Nov 3, 8:39 pm, mdip
Hello,
crud.delete(table, id) in 1.87.3 deletes the record right away. I'd
like to implement a view of the record (as produced by
crud.read(table, id) with a delete button in the bottom.
How would I implement this?
Regards, Andreas
balo...@gmail.com
Can you please post the model, the controller and the steps to
reproduce the problem?
Massimo
On Nov 4, 3:29 pm, Richard Vézina wrote:
> More input on the problem.
>
> It happen when the date validator is activated. The refresh form not expose
> the normal list field. I reproduce the problem wit
email email email. :-)
On Nov 4, 3:20 pm, Massimiliano wrote:
> Done.
> Has been a good exercise.
>
> How can I publish it?
>
> --
> Massimiliano
>
> On Thu, Nov 4, 2010 at 2:22 AM, mdipierro wrote:
> > It should be easy to turn it into a plugin. Any takers?
>
> > On Nov 3, 6:20 pm, yamandu wro
for field in table: field.writable=False
form = crud.update(table, id)
On Nov 4, 3:28 pm, baloan wrote:
> Hello,
>
> crud.delete(table, id) in 1.87.3 deletes the record right away. I'd
> like to implement a view of the record (as produced by
> crud.read(table, id) with a delete button in the bott
Annet,
I suspect that this problem has more to do with HTML email, or how
your email client guesses what are links in text based email. i
believe that by default the request_reset_password sends a text-only
email with no HTML markup. though most clients will recognize http://
as a URL and hi
This is my feeble attempt at the problem - but it does the job:
def index():
add_submenu()
headers = {'email.id': A('Id',
_href=URL(vars=dict(orderby='id'))),
'email.email': A('Email address',
_href=URL(vars=dict(orderby='email'))),
'email.active':A('Active',
your problem is where you put the query in the IS_IN_DB. try
modifying to put the query in the first spot. something like:
requires=IS_IN_DB(db((db.file_asset.type ==
db.file_asset_type.id) &
(db.file_asset_type.name=='Album Art')),
I am using crud.update() as well. The next time I use crud.update() I
have to restore the original settings for all field.writeable in
table. Correct?
Regards, Andreas
On Nov 4, 9:34 pm, mdipierro wrote:
> for field in table: field.writable=False
> form = crud.update(table, id)
>
> On Nov 4, 3:2
When I say ugly I mean:
1. too much duplication,
2. too much boilerplate code.
Just imagine what happens if I apply my solution to more than a few
tables.
Regards, Andreas
On Nov 4, 10:00 pm, baloan wrote:
> This is my feeble attempt at the problem - but it does the job:
>
> def index():
>
I'm trying to do a sitemap for my site.
The thing is that when I set
sitemap=TAG.urlset(_xmlns='http://www.sitemaps.org/schemas/sitemap/
0.9', _xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";)
the xmlns:xsi gives error because of the colon (:)
Is there any way that i can change this?
An updated attempt:
def index():
# create header column links
headers = dict()
for col in db.email_archive.fields:
headers['email_archive.' + col] = A(col,
_href=URL(vars=dict(orderby=col)))
# manage sort order
if 'email_archive_orderby' not in session:
session.
Final attempt. Much better now. web2py is cool!
def history():
headers, key = auto_orderby(db.email_archive,
default_order=('desc', 'id'))
emails = crud.select(db.email_archive, headers=headers,
orderby=key, limitby=(0, 50))
return dict(emails=emails)
def auto_orderby(dal_table, defau
Nice work, looks great!
I really like the flow that is starting to happen when resizing the
browser window. Makes me want to try it from my iphone...
Chris
On Nov 1, 10:12 pm, mdipierro wrote:
> I can make this stable tomorrow if no objections.
>
> Massimo
>
> On Nov 1, 9:10 pm, "mr.freeze" w
++
DZoned it!
On Nov 4, 6:09 am, mdipierro wrote:
> http://www.web2py.com/markmin
We love Markmin. It is tiny, easy to use and logical. It is similar to
Markdown which is pretty nice, but Markmin covers what people actually
use in a way that makes markup look good in itself.
As an added bonus it is totally readable as a text file so everyone,
including one of our board members
Sweet! Thanks Martin. I am going to check it out!
Chris.
On Nov 3, 6:49 pm, Martín Mulone wrote:
> Yes, the new welcome is based in htmlboilerplate and has some things for
> mobile but you have to test and make proper changes to
> static/css/handheld.css and not all mobiles support media="handhe
I am a markmin fan, I wrote An. Entire book in markmin.
Very rapid
Enviado via iPhone
Em 04/11/2010, às 20:15, Christopher Steel escreveu:
> We love Markmin. It is tiny, easy to use and logical. It is similar to
> Markdown which is pretty nice, but Markmin covers what people actually
> use i
Hi all,
I am trying to use a form which does not redirect after its
acceptance.
However after the submit the new form does not pass through:
if form.accepts(request.vars, session):
...
elsif form.errors:
...
unless the page is reloaded.
Is this the expected behavior?
is this a bug or a python issue?
On 4 Nov, 21:12, Francisco Costa wrote:
> I'm trying to do a sitemap for my site.
> The thing is that when I set
>
> sitemap=TAG.urlset(_xmlns='http://www.sitemaps.org/schemas/sitemap/
> 0.9', _xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";)
>
> the xmlns:
my only concern would be timeouts for large tables
On Nov 4, 11:39 am, howesc wrote:
> Massimo and others,
>
> Google claims that count() does not have an enforced limit, though
> they have mis-documented the feature.
> seehttp://code.google.com/p/googleappengine/issues/detail?id=4001if you
>
It was my error, which have nothing to do with Web2py.
There is no such issue.
On Nov 5, 12:36 am, Vidul Petrov wrote:
> Hi all,
>
> I am trying to use a form which does not redirect after its
> acceptance.
> However after the submit the new form does not pass through:
>
> if form.accepts(reques
Love the new welcome app design.
Instead of developing flash further how about just using jgrowl
instead.
> It requires downloading 3 more files and the advantages are minimal.
I think the advantages are worthwhile and the extra files do not
matter if they are stored in sub-folders to avoid clu
Hello,
I recently upgraded from 1.76.5 to 1.88.2 via the one-click upgrade
button. After a restart of web2py.py, followed by a server restart,
the admin interface mentioned that it was disabled due to no
password. I checked the parameters_8000 etc, which corroborated that,
and said password=None
Maybe my google-fu is a bit rusty, but for the life of me, I couldn't
find anything about disabling unused renders in web2py.
For example:
http://127.0.0.1:8000/app/default/index
http://127.0.0.1:8000/app/default/index.xml
http://127.0.0.1:8000/app/default/index.json
http://127.0.0.1:8000/app/defa
Hello,
I'm a new to web2py and web programming, so bear with me if this is a
basic question. I'm trying to figure out how to dynamically update a
button based on a return value from a python function.
Here's a little more background on my project. I'm trying to create
an instrument panel that h
sitemap=TAG.urlset(**{'_xmlns':'http://www.sitemaps.org/schemas/
sitemap/0.9', '_xmlns:xsi':"http://www.w3.org/2001/XMLSchema-
instance"})
On Nov 4, 7:08 pm, Francisco Costa wrote:
> is this a bug or a python issue?
>
> On 4 Nov, 21:12, Francisco Costa wrote:
>
> > I'm trying to do a sitemap fo
May be not the best approach, but
in any model or controller you can check for extension with
*request.extension*
*
*
***so, *
*
*
if request.extension in ['rss','json','xml','rss']: raise HTTP(400, "Not
Found")
2010/11/4 john
> Maybe my google-fu is a bit rusty, but for the life of me, I co
The corners are way too rounded. Looks good!
--
Thadeus
On Thu, Nov 4, 2010 at 4:57 PM, Christopher Steel wrote:
> Nice work, looks great!
>
> I really like the flow that is starting to happen when resizing the
> browser window. Makes me want to try it from my iphone...
>
> Chris
>
>
> On Nov
I really like this. And I really like to use your cook book app, "as
is", because I deal with too many groups of people and interests
@work. The cook book has that "compartiment" feature built-in :)
(although if I did have any kind of time to myself, I would look into
adding sub-categories) I mostl
It is ok to do
search, rows = crud.search(table), crud.select(table)
Edited!
2010/11/4 villas
> http://www.web2py.com/book/default/chapter/07#CRUD
>
> I noticed this example in the book which does not seem correct:
>
> def manage():
>table=db[request.args(0)]
>form = crud.update(table,
Good work. You also have the option to do
{{=plugin_wiki.widget('jqgrid',table)}}
which is sortable, searchable, resizable, can reorder columns, ajax
pagination, etc.
On Nov 4, 4:38 pm, baloan wrote:
> Final attempt. Much better now. web2py is cool!
>
> def history():
> headers, key = auto_
Somehow your parameters_*.py files are corrupted. I hope all your
files were updated and not some of them. I suggest:
0) close web2py
1) Delete parameters_*.py
2) unzip new web2py again over old one
3) start web2py with -a 'password' option and let it create the
parameters_*.py files.
On Nov 4,
Or delete the view/generic.* files.
On Nov 4, 9:30 pm, Bruno Rocha wrote:
> May be not the best approach, but
>
> in any model or controller you can check for extension with
>
> *request.extension*
> *
> *
> ***so, *
> *
> *
> if request.extension in ['rss','json','xml','rss']: raise HTTP(400, "N
Just:
search, rows = crud.search(table)
search returns a tuple.
On Nov 4, 10:29 pm, Bruno Rocha wrote:
> It is ok to do
>
> search, rows = crud.search(table), crud.select(table)
>
> Edited!
>
> 2010/11/4 villas
>
>
>
> >http://www.web2py.com/book/default/chapter/07#CRUD
>
> > I noticed this ex
I understand how to actually do it in the database. But what if I
wanted to know if there is a proper way to do it when I let specific
roles in my site create fields of their own.
For example: (I am building a conference software.)
John is using my site to create an event to attend.
He has the u
Sorry I didnt test this way.
I also didnt know that search returns a select.
Enviado via iPhone
Em 05/11/2010, às 01:58, mdipierro escreveu:
> Just:
>
> search, rows = crud.search(table)
>
> search returns a tuple.
>
> On Nov 4, 10:29 pm, Bruno Rocha wrote:
>> It is ok to do
>>
>> searc
I'm changing to OSX from Windows and can't browse to the applications
directory. If I search for the view file customer.html from the
command line I see it easily:
$ find . -name customer.html
./osx/1.88.2/web2py/web2py.app/Contents/Resources/applications/
scheduler/views/customer.html
However
Of course I figured this out moments after I posted, even though I'd
pondered it for some time before. Sorry for wasting your intellectual
bandwidth.
.app are packages, right click or command click on that and select "show
content" or something like this
Enviado via iPhone
Em 05/11/2010, às 02:43, Tom Campbell escreveu:
> I'm changing to OSX from Windows and can't browse to the applications
> directory. If I search for the view file cust
On Nov 4, 2010, at 9:49 PM, rochacbruno wrote:
>
> .app are packages, right click or command click on that and select "show
> content" or something like this
right or control click, Show Package Contents.
On the command line, in (say) Terminal, web2py.app looks like just another
folder; the p
Thanks lots. All fixed.
On Nov 4, 5:01 pm, mdipierro wrote:
> Check if fixed.
>
> On Nov 4, 9:17 am, rochacbruno wrote:
>
>
>
> > +1
>
> > Enviado via iPhone
>
> > Em 04/11/2010, às 11:33, Seeker escreveu:
>
> > > Hi,
>
> > > In trunk:
> > > Not sure if i have done something wrong, but admin
100 matches
Mail list logo