why
print myconfig['db']['uri']['any2']
why not use dots?
print myconfig.db..url.any2.
in Storage it work
--
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 Issue
new:
in /private new file
myconf = AppConfig(reload=True)
if not request.env.web2py_runtime_gae:
## if NOT running on Google App Engine use SQLite or other DB
db = DAL(myconf.take('db.uri'), pool_size=myconf.take('db.pool_size',
cast=int), check_reserved=['all'])
old:
in /model 0.
I update web2py to 2.11 but calendar widget not worked:
Field('run_dt', 'datetime',...
when click on date - erro on page
Uncaught TypeError: Cannot read property 'length' of nullDate.c_print @
calendar.js:22Calendar.callHandler @ calendar.js:22Calendar.cellClick @
calendar.js:22Calendar.tableMou
I need open an some url (app/controller/function) time by time
why cron not do that? why it need locking files?
--
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 Issu
I use Windows and Apache 2.2
in crontab:
#crontab
*/1 * * * * root *cron/ws_run
in controller cron.py:
if not request.is_local: raise HTTP(200,'error')
def ws_run():
print 'ws_run'
rec = db.my_recs[1]
rec.update_record( ref_id = (rec.ref_id or 0) + 1 )
db.commit()
retu
When I edit the record in some table - if field is referenced to another
table - need to show url to that reference record
show field as:
Label: Field - Comment
and Ref_URL below
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source
> HTML response that is sent to the browser, then you must call
> response.render() inside the action. This is explained here:
> http://web2py.com/books/default/chapter/29/04/the-core#cache.
>
> Anthony
>
> On Wednesday, July 8, 2015 at 2:21:10 AM UTC-4, Dmitry Ermolaev wrote:
exp_time = request.is_local and 3 or 360
@cache(request.env.path_info, time_expire=exp_time)
not work properly - 1st call if good but all other calls is bad with
response.any_my_vars is null
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/we
if cache_model not et - all work good
среда, 8 июля 2015 г., 8:59:19 UTC+3 пользователь Dmitry Ermolaev написал:
>
> if
> @cache.action(time_expire=exp_time, cache_model=cache.disk, vars=False,
> public=False, lang=True)
> def contacts():
> response
if
@cache.action(time_expire=exp_time, cache_model=cache.disk, vars=False,
public=False, lang=True)
def contacts():
response.title=T('Контакты')
response.not_show_func = True
h = CAT(
H3(T('Отзывы, Обсуждение, Жалобы, Благодарности')),
T('Можно найти в ветке на'),' ',
This error in sessions and then raise in pickle
пятница, 3 июля 2015 г., 23:50:25 UTC+3 пользователь Dmitry Ermolaev
написал:
>
> I continue tests...
>
> Any request with some PORT (for example http://mydom:PORT) after
> restarting Apache will take this PORT as success but all
:43 UTC+3 пользователь Dmitry Ermolaev
написал:
>
> in 2.11 error:
>
> Traceback (most recent call last):
> File "C:\web2py-m\gluon\main.py", line 436, in wsgibase
> session.connect(request, response)
> File "C:\web2py-m\gluon\globals.py", l
in 2.11 error:
Traceback (most recent call last):
File "C:\web2py-m\gluon\main.py", line 436, in wsgibase
session.connect(request, response)
File "C:\web2py-m\gluon\globals.py", line 960, in connect
session_pickled = pickle.dumps(self, pickle.HIGHEST_PROTOCOL)
File "C:\web2py-m\gluon
https://7pay.in/ - worked
http://7pay.in/ - error
in rockets server all OK
in Apache - errors ((
pickle with Apache rise error
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/li
I have Windows Server and Apache 2.2 and many apps:
applications/app1
applications/app2
applications/app3
in Apache config:
Include conf/includes/*.conf
localhost:80
###
# кто-то стучится черз
is translated with "Ciao" without the "%s" than
>
> "Ciao" % "Dmitry" results in an error.
>
> The problem is the omission of a %s or or the addition of a %(name)s in
> the translation, possibly a misspelling of he (name)?
>
>
> On Sat
Traceback (most recent call last):
File "C:\web2py-m\gluon\restricted.py", line 224, in restricted
exec ccode in environment
File "C:\web2py-m\applications\ipay\views\buy/index.html", line 184, in
File "C:\web2py-m\gluon\html.py", line 612, in __init__
text = str(text)
File "C:\
not actually include and
> parse the "page" template when the condition is False, so it should be
> faster in that case. The above also works with {{extend}}:
>
> {{extend 'my_layout.html' if some_condition else None}}
>
> Anthony
>
> On W
e" template when the condition is False, so it should be
> faster in that case. The above also works with {{extend}}:
>
> {{extend 'my_layout.html' if some_condition else None}}
>
> Anthony
>
> On Wednesday, June 24, 2015 at 2:43:21 AM UTC-4, Dmitry Ermolaev
est.folder + spath + rec.file_,
dict(sp=spath1)))
Введите код...
среда, 24 июня 2015 г., 9:43:21 UTC+3 пользователь Dmitry Ermolaev написал:
>
> {{if 'page' in globals():}}
> {{include page}}
> {{else:}}
> {{=list}}
> {{pass}}
>
> erro -
>
> File &
{{if 'page' in globals():}}
{{include page}}
{{else:}}
{{=list}}
{{pass}}
erro -
File "C:\web2py-m\gluon\template.py", line 684, in parse
self.include(top, value)
File "C:\web2py-m\gluon\template.py", line 462, in include
text = self._get_file_text(filename)
File "C:\web2py-m\gluon\
\xd1\x81\xd1\x80\xd0\xb5\xd0\xb4\xd1\x81\xd1\x82\xd0\xb2 \xd1\x81\xd0\xbe
> \xd1\x81\xd1\x87\xd0\xb5\xd1\x82\xd0\xb0 \xd0\xb2
> \xd0\xbe\xd1\x87\xd0\xb5\xd1\x80\xd0\xb5\xd0\xb4\xd1\x8c'
> >>> s1=s.encode('utf-8')
> >>> type(s1)
>
> >>> pr
I recive answer from some site in utf8 and when I store it in db I see:
u'\u041f\u0435\u0440\u0435\u043d\u043e\u0441
\u0441\u0440\u0435\u0434\u0441\u0442\u0432 \u0441\u043e
\u0441\u0447\u0435\u0442\u0430 \u0432
\u043e\u0447\u0435\u0440\u0435\u0434\u044c'
if print it to html:in controller (by re
To parsing A tag:
h = '''
Show this
'''
h = TAG(h)
op_id = h.element('div.operations a.cheque')
op_id = '%s' % op_id
op_id = TAG(op_id)
op_id1 = op_id[0]['_href']
op_id2 = op_id[0
db.commit()
пятница, 22 мая 2015 г., 12:51:00 UTC+3 пользователь peter написал:
>
> I am using sqlite 3.
>
> I have a ticket booking system. Transaction.status is set to 'pending' in
> the database, when the transaction is initiated.
> When the paypal payment completes:
>
> transaction.sta
JSON-LD
http://www.w3.org/TR/json-ld/
nice tool
but how use it instead
I need input values:
event name
description
end date
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/lis
auth.navbar(CAT(XML(''),
'Welcome'),...
понедельник, 18 мая 2015 г., 17:47:50 UTC+3 пользователь Carla Raquel
написал:
>
> How can one add an icon before the 'Welcome' message in the navbar,just
> like the one next to the 'Profile' in the drop-down? I tried using
> something like in
> auth.na
If you return JQuery script - not need to use any view template
DIV( ... _onclick = "ajax(%s, [name1, name2, ...], ':eval');" % URL(controller,
'calback_0')
def callback_0():
return '$(...)'
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py
I use registration by email - send secret token in post and save token in
session
It not need any 3-d side services
пятница, 22 мая 2015 г., 8:30:11 UTC+3 пользователь about.me/diazluis/
написал:
>
> greetings, one has implemented a system
> Login using the following code?: https://peterhudec.g
I restore layout.html in admin app!
четверг, 30 апреля 2015 г., 9:39:40 UTC+3 пользователь Dmitry Ermolaev
написал:
>
> Now I open admin and see - mobile wersion!!!
>
> how it switch off?
>
> now it work on:
> http://127.0.0.1:8000/admin/default/site
>
> (((
Now I open admin and see - mobile wersion!!!
how it switch off?
--
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 ar
I use only email.registration
it simple - not logins not passwords!
example:
http://lite.cash/bets/man/greet
def set_session(sess, man):
sess.man_id = man.id
sess.man_name = man.name
# confirm - подтверждение по почте получено
def greet_conf():
key = request.args(0)
if not key: re
yes
вторник, 21 апреля 2015 г., 22:17:38 UTC+3 пользователь Dave S написал:
>
>
>
> On Tuesday, April 21, 2015 at 6:14:35 AM UTC-7, Dmitry Ermolaev wrote:
>>
>> before to reload a sub-LOAD need stop it auto-loading - for preventing
>> from double loads of sub-LO
index.html:
{{extend 'layout.html'}}
{{=LOAD('default', 'showtasks',ajax=True)}}
In default.py
def index():
return dict()
# will take no view
def showtasks():
return SQLFORM.grid(db.task,user_signature=False)
четверг, 23 апреля 2015 г., 20:00:50 UTC+3 пользователь Tom Campbell
написа
l(statement, %s000); // start reloading
''' % (timeout, timeout) or '')
)
воскресенье, 19 апреля 2015 г., 19:54:31 UTC+3 пользователь Dmitry Ermolaev
написал:
>
> # -*- coding: utf-8 -*-
>
> AJ_FROM_SERVER = True
> UPD_TIMEOUT = 6000
>
> def rel
How use ckeditor in FORM - not SQLFORM ??
среда, 18 июня 2014 г., 12:56:48 UTC+3 пользователь Sharjeel Ali Shaukat
написал:
>
> i m using ckeditor here i want to show runtime preview in div and also
> using its options like Bold button dont highlights the text and are not
> working perfectly
active element in MENU
insert in documentation and in layout.html
=MENU(response.menu, _class='mobile-menu nav' if is_mobile else
'nav',mobile=is_mobile,li_class='dropdown',ul_class='dropdown-menu',
*active_url=URL()*)
and in css:
.web2py-menu-active a {
color:#C8FF7B;
}
-
aj = "ajax('%s',[],'main')"
response.menu = [
(T('Home'), URL('default', 'index')==URL(), URL('default', 'index'),
[]),
(T('Menu1'), URL('default', 'menu1')==URL(), dict(_onclick=aj %
URL('default', 'menu1')), []),
(T('Menu2'), URL('default', 'menu2')==URL(), dict(_onclick=aj %
URL('
# -*- coding: utf-8 -*-
AJ_FROM_SERVER = True
UPD_TIMEOUT = 6000
def reload_btn(s):
return DIV(T('RELOAD'),
_onclick = 'ajax("%s", [], "reload_tag")' %
URL('aj_load2','reload'),
_class='btn btn-info')
def reload():
session.counter = (int(session.counter or 0)) + 1
simple use *.html view - not *.load
and use URL for set controller/function in LOAD()
I not use same views - onlu generic.html by:
def load_func_2():
h = CAT()
h += ...
...
return h
def load_func():
...
h = CAT()
h += LOAD(URL('contloller','load_func_2', args=[], vars={}), )
retu
Hi
I use web2py and make - http://lite.cash/bets/
+ bitcoin payment gateway - http://lite.cash
may be you want use bitcoin payments on ours sites?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com
in origin -
.container, .navbar-static-top .container, .navbar-fixed-top .container, .
navbar-fixed-bottom .container {
1. width: 940px;
}
when resize window to small size it not correct show container
I replace in my.css with:
div.container {
* width: inherit;*
max-width: 1000px;
}
--
ignore_rw. Normally, for a create/update form, only fields marked as
writable=True are shown, and for readonly forms, only fields marked as
readable=True are shown.
Field('trust','integer', default = 0, readable=True, writable=False,
comment='level of Trust to You'),
rec = man_id and d
I use settings in models/0.py
from gluon.storage import Storage
LANGS = Storage({
'ru': ['Русский', 'ru.png'],
'en': ['English', 'gb.png'],
'ge': ['German', 'ge.png'],
'tr': ['Türkçe', 'tr.png'],
})
settings = Storage(
develop = True,
migrate = True,
title = 'b..',
subtitle = 'G
solved:
insert _name='selected' in BUTTON
then catch request.vars.get('selected')
вторник, 7 апреля 2015 г., 10:26:25 UTC+3 пользователь Dmitry Ermolaev
написал:
>
> how check what button is pressed?
>
> form = FORM(
> DIV(LABEL(T(' a
how check what button is pressed?
form = FORM(
DIV(LABEL(T(' as:')), INPUT(_name='numbs', _class='numb'),
BUTTON(T(' Team '), _class='btn-primary', _value='team'),'
',
BUTTON(T(' Color '), _class='btn-primary',
_value='color'),' ',
I store in cash connection:
# покажем если был вызов а не из кэша
def conn_1(curr, xcurr):
print 'try connect to ',curr.abbrev
# def __init__(self, service_url, service_name=None, timeout=HTTP_TIMEOUT,
connection=None):
cn = ServiceProxy(xcurr.connect_url, None, 40)
#print cn
for localhost and admin:
routes_app += (
# admin(r'(.+)admin/$anything', r'admin'), # worked!
(r'(.+)admin/$anything', r'admin'),
# local
(r'(.+)8000/(?P.*)', r'\g'),
# defaults
#(r'(.*)', r'shop'),
#(r'/?(.*)', r'shop'),
)
--
Resources:
- http://web2py.com
- http://web2p
in DOCs I see:
>
> Application-Specific URL rewrite
> When using the pattern-based system, an application can set its own routes in
> an application-specific routes.py file located in the applications base
> folder. This is enabled by configuring routes_app in the base routes.py
> to determine f
When I make new app by Wizard
if make in db.py
response.generic_patterns = ['*'] if request.is_local else []
and all others controllers is disabled!
please insert this code instead in db.py:
response.generic_patterns = ['*'] if request.is_local else ['html']
--
Resources:
- http://web2py.com
-
DIV( _class='row my_class') => ROW(_class='my_class')
DIV( _class='col-sm-4 my_class') => COL4(_class='my_class')
--
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 Is
исал:
>
> for the same exact reason.
>
> NOT field = True
>
> in t-sql means just FALSE, not FALSE and NULL
>
> On Monday, March 9, 2015 at 2:37:46 PM UTC+1, Dmitry Ermolaev wrote:
>>
>> I use negate - why this not worked?
>>
>> воскресенье, 8 марта
but
db((db.progs.promo==True)).select():
is work!
понедельник, 9 марта 2015 г., 16:58:26 UTC+3 пользователь Niphlod написал:
>
> for the same exact reason.
>
> NOT field = True
>
> in t-sql means just FALSE, not FALSE and NULL
>
> On Monday, March 9, 2015 at 2:37:46 P
>
> On Sunday, March 8, 2015 at 7:23:54 PM UTC+1, Dmitry Ermolaev wrote:
>>
>> db((db.progs.promo==True) & (db.progs.closed!=True)).select():
>> or
>> db((db.progs.promo==True) & ~(db.progs.closed==True)).select():
>>
>>
>> not worked ((
db((db.progs.promo==True) & (db.progs.closed!=True)).select():
not worked ((
if exist record wirh promo=True and closed=None or False - it not selected!
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.googl
make table view:
t = t and SQLFORM.smartgrid(db[t],
maxtextlengths = { 'fonds.name': 60, 'fonds.info': 200 },
upload=URL('download'),
links_in_grid=False,
csv=False,
)
open url:
members/memb_goods.memb_id/5?keywords=1&order=memb_goods.amo&_expo
Error ticket for "admin"Ticket ID
127.0.0.1.2015-02-03.07-40-32.4dc31e25-5b8c-4c78-b525-2a58b4ff7015
insecure string pickleВерсияweb2py™Version
2.9.12-stable+timestamp.2015.01.17.06.11.03PythonPython 2.7.6:
C:\Python27\python.exe (prefix: C:\Python27)Traceback
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11
good idea:
https://pusher.com/docs/pusher_protocol
how insert same into web2py ?
--
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
In curent version it not exist?
--
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
There will be good to split strıngs to admın and work sıde * and localıze
ıt separate
all T() in appadmin.py and views - separate from others T()
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/
solved!
replase all pickle.dumps
*session_pickled = pickle.dumps(self) ##, pickle.HIGHEST_PROTOCOL)*
понедельник, 26 января 2015 г., 8:15:42 UTC+3 пользователь Dmitry Ermolaev
написал:
>
>
> Traceback (most recent call last):
> File "C:\web2py-m\gluon\main.py",
solve^^
replace all pickle.dumps with:
session_pickled = pickle.dumps(self) , pickle.HIGHEST_PROTOCOL)
понедельник, 13 октября 2014 г., 20:22:57 UTC+3 пользователь Dmitry
Ermolaev написал:
>
> I use apache 2.2
>
> If use 2 and more apps - error will be raise for each that n
not worked ((
I clear all cookies - error again
понедельник, 13 октября 2014 г., 21:00:32 UTC+3 пользователь Leonel Câmara
написал:
>
> You need to delete your browser cookies too. That said, this may also be a
> web2py error because it shouldn't break just because the browser gives him
> a non
why no error if rocked-server used and error if apache used ?
why first aplication that got request HTTP worked but all others error?
почему под сервером строенным все приложения работают а под сервером Апачи
- нет
почему работает только то приложение, которое получило первым HTTP-запрос,
а все
oensdag 19 november 2014 15:54:13 UTC+1 schreef Edwin van de Ven:
>>
>>
>>
>> Op maandag 13 oktober 2014 19:22:57 UTC+2 schreef Dmitry Ermolaev:
>>>
>>> I del al files in /sessions and update to 2.9.11
>>>
>>> Traceback (most recent call las
try Ermolaev
написал:
>
>
> session_pickled = pickle and pickle.dumps(self,
> pickle.HIGHEST_PROTOCOL)
> response.session_hash = session_pickled and
> hashlib.md5(session_pickled).hexdigest()
>
> понедельник, 26 января 2015 г., 8:15:42 UTC+3 пользователь
session_pickled = pickle and pickle.dumps(self,
pickle.HIGHEST_PROTOCOL)
response.session_hash = session_pickled and
hashlib.md5(session_pickled).hexdigest()
понедельник, 26 января 2015 г., 8:15:42 UTC+3 пользователь Dmitry Ermolaev
написал:
>
>
> Traceback (most re
Traceback (most recent call last):
File "C:\web2py-m\gluon\main.py", line 435, in wsgibase
session.connect(request, response)
File "C:\web2py-m\gluon\globals.py", line 934, in connect
session_pickled = pickle.dumps(self, pickle.HIGHEST_PROTOCOL)
TypeError: 'NoneType' object is not ca
Hi
I wrote example foe change timeout in LOAD
http://www.web2pyslices.com/slice/show/2009/change-timeout-interval-in-ajax-load
but that not need if i can reload data from server
Сделал изменение интервала обновления на лету в LOAD
НО
если мой сервер сам сможет посылать обновленные данные клиенту
I delete all *.pyc files prom all apps
Then run app2 - *.pyc files is made
then run app1 - all impots sucess
четверг, 22 января 2015 г., 9:11:05 UTC+3 пользователь Dmitry Ermolaev
написал:
>
> if in app2 delete all *.pyc files - all work
>
> четверг, 22 января 2015 г., 8
if in app2 delete all *.pyc files - all work
четверг, 22 января 2015 г., 8:42:45 UTC+3 пользователь Dmitry Ermolaev
написал:
>
> in vers 2.9.12 error (in vers 2.5 all worked):
>
> in app1 I use import module from app2:
> from applications.app2.modules.cp_api import check_ars
&
in vers 2.9.12 error:
in app1 I use import module from app2:
from applications.app2.modules.cp_api import check_ars
in app2 code:
import module1
rise error -
Cannot import module
'applications.bs3b.modules.orders_lib'Versionweb2py™Version
2.9.12-stable+timestamp.2015.01.17.06.11.03Python
no such table: cp_mods
Versionweb2py™Version 2.9.12-stable+timestamp.2015.01.17.06.11.03PythonPython
2.7.8: C:\Python27\python.exe (prefix: C:\Python27)Traceback
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
Traceback (most recent call last):
File "C:\web2py-9-12\gluon\re
If I use auto_import - and add new record - than receive None values
instead default
db = DAL("mysql:/s", #
folder='applications/shop/databases',
pool_size=3,
auto_import=True,
migrate_enabled = SETS.migrate_enabled,
migrate=SETS.migrate,
f
I use auto_import:
db = DAL("mysql://...",
folder='applications/shop/databases',
pool_size=3,
auto_import=True,
migrate_enabled = SETS.migrate_enabled,
migrate=SETS.migrate,
fake_migrate=SETS.fake_migrate,
check_reserved=['all']
d as an argument.
>
> On Tuesday, January 20, 2015 at 6:15:21 AM UTC+1, Dmitry Ermolaev wrote:
>>
>> I need that ID become URL on view info of this record - same as View field
>>
>> понедельник, 25 августа 2014 г., 14:56:25 UTC+3 пользователь Anthony
>> написал:
>&g
solved
"jQuery('#sel_curr').get(0).reload();
and target= in LOAD
среда, 21 января 2015 г., 8:49:27 UTC+3 пользователь Dmitry Ermolaev
написал:
>
> I use helper LOAD:
>
> DIV(LOAD('bill', 'show_update', args=[so_secr_id], ajax=True,
>
I use helper LOAD:
DIV(LOAD('bill', 'show_update', args=[so_secr_id], ajax=True,
times = UPD_TIMES, timeout=UPD_TIMEOUT),
_class='row', _id='sel_curr')
and helper BUTTON:
BUTTON(TAG.i(_class='fa fa-refresh'), _name='want_pay',
_class='btn btn-primary', _id
def form_test(): #controller function
form = SQLFORM(db.person, _id='form-1')
btns = CAT(
BUTTON('Save', _name='btn', _value='save', _form='form-1',
_type="submit"),
BUTTON('Save and Close', _name='btn', _value='close',
_form='form-1', _type="submit"),
BUTTON('Rese
>>> rows = db(query).select().last()
>>> rows = db(query).select()
>>> first_row = rows.first()
>>> last_row = rows.last()
вторник, 20 января 2015 г., 0:35:19 UTC+3 пользователь chuan написал:
>
> I would like to access last row of any database table in a general way,
> do I have to first count
It is free? It is powered by web2py?
why It not in examples apps?
--
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 a
Apache 2.2 + wsgi_mod in http.conf::
LoadModule wsgi_module modules\mod_wsgi.so
if I use web2py/wsgihandler.py in apache config:
ServerName dom1
ServerAlias www.dom1
DocumentRoot"C:/web2py-m"
AllowOverride All
Order allow,deny
allow from all
Order deny,allow
Allow from all
Or
; 'decimal(16,8)' ?
>
> On Thursday, 24 July 2014 06:02:41 UTC-5, Dmitry Ermolaev wrote:
>>
>> in db:
>> ...
>> Field(ddd, 'Decimal(16.8')),
>> ...
>>
>> than in admin db update
>> http://127.0.0.1:8000/polza/appadmin/updat
>
> pyForum is built on web2py. As for CMS, it's trivial to make your own on
> web2py, and there are a couple already.
>
> On Friday, August 1, 2014 3:42:10 AM UTC-7, Dmitry Ermolaev wrote:
>>
>> Any may make forum on python?
>> may be on web2py?
>>
I need that ID become URL on view info of this record - same as View field
понедельник, 25 августа 2014 г., 14:56:25 UTC+3 пользователь Anthony
написал:
>
> What do you expect it to do, and what is happening instead?
>
> On Monday, August 25, 2014 3:00:47 AM UTC-4, Dmitry Er
I found it in
C:\web2py\applications\examples\\models
воскресенье, 4 января 2015 г., 20:33:36 UTC+3 пользователь Niphlod написал:
>
> don't know. it's not a file shipped with the scaffolding app
>
> On Sunday, January 4, 2015 2:26:54 PM UTC+1, Dmitry Ermolaev wrote:
>
ll you
> what they do. They do not come with web2py.
>
> On Sunday, 4 January 2015 07:25:15 UTC-6, Dmitry Ermolaev wrote:
>>
>>
>> Hi
>>
>> what does markmin.py
>> <http://127.0.0.1:8000/admin/default/peek/lite_merch/models/markmin.py?id=models__markm
print BUTTON (_name='btn', '_value=123)
--
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
solved:
folder='applications/bs3b/databases', # it work!
понедельник, 19 января 2015 г., 15:31:29 UTC+3 пользователь Dmitry Ermolaev
написал:
>
> how connet to app bs3b databese without absulute path?
>
> db = DAL("sqlite://storage.sqlite", # -->
>
how connet to app bs3b databese without absulute path?
db = DAL("sqlite://storage.sqlite", # -->
in web2py\applications\bs3b\databases\
folder='../../bs3b/databases', #
auto_import=True,
pool_size=0,
migrate=True,
check_reserved=['all'],
)
print db
helher BUTTON - insert in documentation
--
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
2.9.11-stable+timestamp.2014.09.15.23.35.11
in controller:
===
def show_update():
r = CAT()
session.UPD_TIMES -= 1
r += DIV(T('Upadating'), ' ', session.UPD_TIMES)
return r
def show()
session.UPD_TIMES = 100
r = CAT()
r += LOAD('bill', 'show_up
not worked... I see instead on error :
404 NOT FOUND
Why I can't rise some error message?
--
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 th
in editor auto-Indent not worked ((
shit-tab - not worked ((
--
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 s
try define Field as
Field('balance', 'decimal(16,8)', default = Decimal('0.0')),
then try insert default value - 0+e00
it rise error!
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/i
Field(..) work
db.Field(..) not work
пятница, 9 января 2015 г., 23:54:58 UTC+3 пользователь Dmitry Ermolaev
написал:
>
> I use _src.zip
>
>> 'DAL' object has no attribute 'Field'
>> Versionweb2py™Version 2.9.12-beta+timestamp.2015.01.07.16.40.02Pytho
I use _src.zip
> 'DAL' object has no attribute 'Field'
> Versionweb2py™Version 2.9.12-beta+timestamp.2015.01.07.16.40.02PythonPython
> 2.7.8: C:\Python27\python.exe (prefix: C:\Python27)Traceback
>
> 1.
> 2.
> 3.
> 4.
> 5.
> 6.
> 7.
> 8.
> 9.
>
> Traceback (most recent call last):
> File "C:\
I make some category and try open foums menu
> Traceback
>
> 1.
> 2.
> 3.
> 4.
> 5.
> 6.
> 7.
> 8.
> 9.
> 10.
> 11.
> 12.
>
> Traceback (most recent call last):
> File "C:\web2py\gluon\restricted.py", line 224, in restricted
> exec ccode in environment
> File "C:/web2py/applications/pyfo
try .html extension instead .load
вторник, 6 января 2015 г., 16:26:10 UTC+3 пользователь Gael Princivalle
написал:
>
> Hello all.
>
> In a .load file I have some products.
> When the user click on one of them I would like to reload the .load file
> with the product id, for showing only this prod
routes_in = (
(r'/', r'/bs3b/default/index'),
(r'/about', r'/bs3b/default/about'),
(r'/what', r'/bs3b/default/what'),
(r'/download', r'/bs3b/default/download'),
(r'/support', r'/bs3b/default/support'),
(r'/$anything', r'/bs3b/$anything'),
)
routes_out = [(x, y) for (y, x) in routes_in]
my app is b
1 - 100 of 140 matches
Mail list logo