use extra render.
>>
>>
>> {{text = "`` here is my code ``:pre_with_code"}}
>> {{=MARKMIN(text, extra={"pre_with_code": lambda text:
>> "{0}".**format(text)})}}
>>
>> Tested on shell
>>
>> In [4]: text = "``
Thank you Bruno,
and anything :) ?
On Mon, Jan 21, 2013 at 10:09 PM, Bruno Rocha wrote:
>
> ``
> Your code here
> ``
>
> for testing: http://web2py.com/markmin
>
> --
>
>
>
>
--
Ignacio Ocampo Millán
--
Bruno, thank you.
But if I only need the simple ?
anything
How I can do it?
On Monday, January 21, 2013 9:56:35 PM UTC-6, rochacbruno wrote:
>
> ``
> Hello World
> ``:code_html
>
>
> ``
> print "hello world"
> ``:code_python
>
> On Tue, Jan 22,
How I can use tag with Markmin? Thank you.
--
7;s solve the problem? I have web2py version: (2, 2, 1,
datetime.datetime(2012, 10, 21, 16, 57, 4), 'stable')
Regards.
On Sunday, January 20, 2013 3:09:59 PM UTC-6, Massimo Di Pierro wrote:
>
> I cannot reproduce. Can you post the model?
>
> On Sunday, 20 January 2013 14:43:58 UTC
When I use custom expression, that contains comma within, it fails if I use
an space after comma.
*Example 1*
--- WORKS ---
query = ac(tickets.id>0).select(tickets.name, tickets.created_on,
"DATEDIFF(tickets.created_*on,N*OW())")
colnames=['tickets.name', 'tickets.created_on', 'DATEDIFF(tickets.
Thank you Massimo! Regards.
On Sunday, January 20, 2013 2:22:34 PM UTC-6, Massimo Di Pierro wrote:
>
> Doh! Fixed in trunk. Thanks for reporting this was a serious issue.
>
> On Sunday, 20 January 2013 12:27:41 UTC-6, Ignacio Ocampo wrote:
>>
>> I'm working with a cus
I'm working with a custom Query, I need use SUM and COUNT together, when I
use:
select(db.field.count(), db.field.sum()) works OK
But when I use:
select('COUNT(*)', 'SUM(DATEDIFF(table.field,NOW()))') raise an error
I see that I can't combine more that 1 custom expressions.
Any idea?
--
problem automatically but it may break something. Not
> sure.
>
> Please open a ticket: http://code.google.com/p/web2py/issues/list
> but let's discuss it some more.
>
> Massimo
>
>
>
>
> On Tuesday, 8 January 2013 12:09:09 UTC-6, Ignacio Ocampo wrote:
>>
&
auth.settings.update_fields configuration.
Is viable? To open a new ticket.
Ignacio Ocampo
On Tuesday, January 8, 2013 1:23:45 PM UTC-6, Massimo Di Pierro wrote:
>
> Perhaps I misunderstand the workflow. The solution cannot be to change an
> Auth function to handle a specific custom field.
>
ternal fields.
On Tuesday, January 8, 2013 11:43:44 AM UTC-6, Anthony wrote:
>
> On Tuesday, January 8, 2013 12:08:34 PM UTC-5, Ignacio Ocampo wrote:
>
>> I only return a dict in the get_user, web2py does all the work.
>>
>> web2py call the get_user method, and web2py up
I see that only the first time that user login, web2py saves the
employee_id.
If I logout and login, and I change the employee_id value (I write this in
external file to see the value), web2py does not update the field.
On Tuesday, January 8, 2013 11:08:34 AM UTC-6, Ignacio Ocampo wrote:
>
hypothesis 2 is off the table
>
> BTW: saying that you have a method that returns a dict and stating that
> that method doesn't update a field lacks of the key point..
> *Who*writes/updates the auth_user table in your custom class ?
>
> On Tuesday, January 8, 2013 5:36
Hi,
I'm working with my own authentication provider as: *
auth.settings.login_form=MyAuth()*, all *works correctly*.
I need an additional field from default auth_user table definition, I used:
*auth.settings.extra_fields['auth_user'] = [Field('**employee_id**',
'text')]*, works correctly (the v
Darry,
I had the same problem, I post my solution
at:
http://nafiux.com/blog/2013/01/04/web2py-deploy-specific-app-with-apache-webserver/
In my case, the problem was caused by a bad RewriteRule configuration at my
httpd.conf file.
The correct configuration that I used is:
DocumentRoot /
/wsgihandler.py*
Best regards.
On Friday, January 4, 2013 6:55:30 PM UTC-6, Massimo Di Pierro wrote:
>
> Looking into this...
>
> On Friday, 4 January 2013 15:53:05 UTC-6, Ignacio Ocampo wrote:
>>
>> I've an app, I register and user and it's ok.
>>
>> I have
I have the same problem, do you have resolved it? Thanks.
On Wednesday, January 2, 2013 7:38:47 PM UTC-6, dr_eeves wrote:
>
> Hi,
>
> I have been developing a web application using web2py. Most of the
> development has been done using the included development text editor (which
> has been great
I've an app, I register and user and it's ok.
I have 1 instance running with "python web2py.py" at port 8080 (for admin
console) ... and I have my httpd.conf configured with WSGI.
Both work correctly, but when I try to login in the normal instance (at
port 80), I get an error "RuntimeError: Usi
I have a weird problem with web2py.
It can't create or update tables in MySql.
Although I'm using auth.define_tables(username=False, signature=False).
I only need to refresh my web browser for changes take effect, right?
What am I doing wrong? Thank you.
--
Currently the function __build_url_opener is:
def __build_url_opener(self, uri):
"""
Build the url opener for managing HTTP Basic Athentication
"""
# Create an OpenerDirector with support
# for Basic HTTP Authentication...
auth_handler = urllib2
20 matches
Mail list logo