Hello
How to connect it to another elements on template?
${h.select("select1", "1", options=[("1", "FirstSection"), ("2",
"SecondSection"), ("3", "ThirdSection")])}
for example
checkbox cheked value if "SecondSection" selected
of visible of block
block if "FirstSection" selected
Thanks
--~
options=[('%02i' % i, '%02i' % i) for i in xrange(1,100)]
this works fine, thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googleg
options=range(1, 100)
This one generates 1,2,3,4...99 but I need 01,02,03..99
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups
Hello
How to make dynamicly range of 01..99 in options
${h.select("val", "01", options=[("01", "01"), ("02", "02").("99",
"99")] )}
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post
How to get sqlalchemy query to list of dicts?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group
Jerry, script from the example in .html works in FF, IE, Konqueror...
http://yourserver/js/calendar.js this url show my script (mysite/
mysite/public/js/calendar.js)
in Pylons i'v read that (type="text/javascript") is
unnecessary. I try to use webhelpers
${h.javascript_link('/js/calendar.js')}
Hello.
How to use JavaScript in template form?
I'v add
http://www.dhtmlgoodies.com/index.html?page=calendarScripts
Alexy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this
Hello
I have
${h.select('name', value=1, options=[("1", "name1"), ("2", "name2")]}
In controller i'v use request.POST("name") to get name1 or name2. But
i need to get value of selected. How to do it?
Alexy
--~--~-~--~~~---~--~~
You received this message because y
Hello.
I have this error-mesage both ways =(
TypeError: not all arguments converted during string formatting
Alexy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send
No =(
Regards, Alexy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to
pylons-
I'v use authkit and sqlalchemy with mysql
When I try to change template of signin screen (written in
http://pylonsbook.com/alpha1/simplesite_part_3 Styling the Sign In
Screen) I have following error
TypeError: not all arguments converted during string formatting
/lib/auth.py
def render_signin(
Another one...
In my controller I use flash('Регистрация'), then in sends to template
form in
"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f"
How to use "u" prefix here?
Alexy
--~--~-~--~~~---~--~~
You received this message because you are su
Thanks, Piotr!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to
pylons-discuss
I use webhelpers in my templates.
Names in cyrillic has non readable format (i have add to controller ##
-- codepage: utf-8 --)
"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f"
How to make it readable?
${h.submit("create", "Регистрация")}
--~--~-~--~~--
Hello
I'm beginner... How to get DB Sqlalchemy table values to
webhelpers.html.tags select?
My controller account.py
def register(self):
return render('/account/register.html')
@validate(schema=RegisterForm(), form="register")
def create(self):
response.charset = 'u
Hello!
Authkit has encrypt method of authenticate
with this settings
authkit.form.authenticate.user.encrypt = authkit.users:md5
authkit.form.authenticate.user.encrypt.secret = MySecret
authkit write password field in md5 format such as
"8743bcab778fc1316792e820e28c7be2"
also if I disable this m
What difference between Authkit Roles and Groups?
Looking the SimpleSite (chap 3 in pylonsbook) I'v see users, roles,
users_roles, groups tables in DB structure.
roles join to users by users_roles.user_uid to users_roles.role_uid.
How to connect groups to users? What is Groups? Is it combine of
Thanks, I hope to make it.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to
py
Hi
I'm looking for autorization based at mysql. As I see authkit nornally
support only sqlite and postgres. I'm newby in Pylons and can't to
understand how to use this
http://wiki.pylonshq.com/display/pylonscookbook/Advanced+Homegrown+Auth
and how to change LDAP to MySQL.
Any another blogs, exam
http://www.sqlalchemy.org/trac/wiki/UsageRecipes/HashProperty
How to use it?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.co
Thank you for your answers.
I have experience in php about md5.
In your article there are parts of auth-program code with comments. I
don't khow where to edit.
For example
class BaseController (WSGIController):
refers to ../lib/base.py
another
def current_url ():
in which file to use
Hello.
Can you help me to provide Advanced Homegrown Auth with mysql md5
support (passwords in users.password table). Probably sources or
etc... i'm beginner in pylons and can't understand way to build using
this article
http://wiki.pylonshq.com/display/pylonscookbook/Advanced+Homegrown+Auth
Bes
22 matches
Mail list logo