I am working on the implementation of a search on zip-code.
The model:
db.define_table('company',
SQLField('name', length=54, default='', notnull=True),
SQLField('kvk_nummer', length=8),
SQLField('subdossiernummer', length=4, default=''),
SQLField('status', length=1, default=
This is splendid!
I am wondering - is jDiv able to show/hide some text/image, indicating
the processing activity?
On Apr 6, 9:31 am, "Zoom.Quiet" wrote:
> On Mon, Apr 6, 2009 at 14:09, mdipierro wrote:
>
> > I just changed the layout
>
> >http://www.web2py.com/events/default/index
> >http
This thread had the same topic:
http://groups.google.com/group/web2py/browse_thread/thread/b587b14f451da0f8/
and resulted in the same problems using sqlite:memory: :)
Robin B suggested a 'RAMDB':
> No one has published a 'RAMDB' (a DAL driver for RAM). It could
> easily be implemented as a gl
Interesting rationales for having the book on Lulu.
Academia sometimes have some strange habits.
Sometimes, publishing in OpenAccess journals even cost the authors a
lot of money that could have been spent on student assistants etc...
It is totally new for me but _very_ understandable!
In order to
> We will host the sphinx book in the same place that web2py sources exist
> (will this follow what PEP 374 says - move to mercurial? --- tell us what
> you think about bitbucket.org hosting; tentatively we are talking about
> moving web2py in 6 weeks).
What is the need to move to Mercurial?
We cu
I would need Feedback from the other authors.
Are they willing to put
As a beginner, I would be a user of the code first.
Also, my main coding work is on numerics and web2py will be the way my
software can interact wth the user.
I can use it to built a GUI around command lins scripts without the
See down this page for a valid markup form example:
http://www.desfrenes.com/blog/post/quel-framework-web-python-choisir
It is implemented using definition lists (, , ) which is
way more flexible than tables in terms of css styling.
Of course, you don't have to use definition lists but at least i
The mail object works great except on GAE, the configuration is:
mail.settings.server='smtp.gmail.com:587'
mail.settings.sender='my_usern...@gmail.com'
mail.settings.login='my_username:my_password'
Anybody with the same problem? Could it be some GAE issue?
--~--~-~--~~~--
Hi,
It's nice but how about using existing plugins for the ajax stuff ?
jquery.taconite.js and jquery.form.js are great (see page test here:
http://www.desfrenes.com/playground/carnet_adresse/ )
Taconite plugin: http://malsup.com/jquery/taconite/
Regards,
Mickaël.
On Apr 6, 8:09 am, mdipierro
Hi,
What are the testing tools available within web2py? I know doctests
can be used. Is there a client test tool too (something like what
Django has)?
Thank you,
Joseph
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
One problem resolved: "ProgrammingError: LOB variable no longer valid
after subsequent fetch "
this error can be eliminated. In gluon/sql.py modify SQL_DIALECTS for
oracle: make
'string': 'NVARCHAR2(%(length)s)',
'text': 'NCLOB',
instead of
'string': 'VARCHAR2(%(length)s)',
'text': 'CLOB',
Reaso
This particular page will give a detailed explanation of the problems:
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.desfrenes.com%2Fbadweb2pymarkup
On Apr 6, 10:23 am, desfrenes wrote:
> See down this page for a valid markup form
> example:http://www.desfrenes.com/blog/post/que
Hello Massimo,
Thanks for the note... Yes i know the processing is done on the
"Tools.py", The reason why i put those in the controller is because i
was trying so many things to make it work...
So i commented it out, here is how my controller look like:
###
On Mon, Apr 6, 2009 at 12:37 AM, mdipierro wrote:
>
> Nice useful!
>
> If you email me the new app I will post it.
Ok. Consider it's done.
--
Kuba
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Frame
However migrations still do not work in Oracle, namely: when you have
string or text (varchar2/nvarchar2 or clob/nclob) field in a table and
want to modify it, e.g. change length, you get the error:
Traceback (most recent call last):
File "c:\web2py\gluon\restricted.py", line 98, in restricted
Strange... Does not work for me :( FF 3.0.8
On Apr 6, 8:09 am, mdipierro wrote:
> I just changed the layout
>
> http://www.web2py.com/events/default/indexhttp://www.web2py.com/examples/static/web2py.app.events.tar
>
> try:
> - click on "form"
> - type a= 2 [enter]
> - type b= 3 [enter]
>
> -
Vidul,
I spent some time looking into this problem, here is my post and
Massimo's solution.
http://groups.google.com/group/web2py/browse_thread/thread/da75fe05704fef0b/ac7a97e952b39087?hl=en&lnk=gst&q=gae+email#ac7a97e952b39087
regards
Chrism
On Apr 6, 9:35 am, Vidul Petrov wrote:
> The mail o
On Mon, Apr 6, 2009 at 3:09 AM, mdipierro wrote:
> I just changed the layout
>
> http://www.web2py.com/events/default/index
> http://www.web2py.com/examples/static/web2py.app.events.tar
>
> try:
> - click on "form"
> - type a= 2 [enter]
> - type b= 3 [enter]
>
> - click on "post a message"
>
Hi Chrism,
Thank you for the help.
The problem is not on dev_server, but on appengine itself.
Though I tried many different (valid) user accounts (including the GAE
project's administrator email) there is no result - "Unable to send
email".
On Apr 6, 3:52 pm, murray3 wrote:
> Vidul,
> I spen
Ah, there is a "bug" in CSS: I use Iceweasel (Firefox with a "free"
visual identity) 3.0.6 and the second half of text "[web2py] events"
is showed.
In Epiphany (GNOME's web browser) all pages of web2py are showed this
way. I think it's a div position issue.
--
Álvaro Justen
Peta5 - Telecomunic
It's a vicious circle of apps (frameworks) and libs not upgrading
because of the other.
What we *could* do is to make everything web3py friendly *without*
separating the 2 and 3. Have a 2.6 base ready that can be put through
2to3 (and perhaps a custom web2to3py script) that transforms web2py
into
On Apr 1, 9:20 pm, Yarko Tymciurak wrote:
> > http://www.postgresql.org/docs/8.3/interactive/sql-createrule.html
>
> and looking at this, it seems fairly straight forward:
Yes it does. The manual threw me when it said that "*Currently* views
are read only" but that "you can get the *effect* of a
Works like a charm. Thanks Massimo.
> why are you doing this again?
I have some fairly complex queries and it helps me in debugging if I
can get a working baseline in SQL (which I know fairly well) before
transforming to web2py DAL syntax (which I'm just learning).
On Apr 6, 12:52 am, mdipierr
Here is what finally got it to work (with reviewing posts by Mr.
Dumpleton):
WSGIScriptAlias /moin /path/to/my/wiki/moin.wsgi
WSGIScriptAlias / /path/to/web2py/wsgihandler.py
... the rest of the virutal host directives.
The key is the order by which they are listed. If the root directory
is li
Just to give it a follow-up, As soon as I moved the same code from my
module (which basically is a class that is instantiated from one of my
controllers, ("response" is also passed when the instance is created)
to my contoller (and removed the self references) it worked! - Still
don't know why thi
You can do
db().select(db.company.ALL,db.address.ALL,left=db.address.on(
(db.address.company==db.company.id)&(db.address.zipcode<9)&
(db.address.zipcode>7)))
On Apr 6, 2:16 am, annet wrote:
> I am working on the implementation of a search on zip-code.
>
> The model:
>
> db.define_table(
You cannot use sqlite:memory" because that connection is not
persistant. It is closed when the the page is served.
On Apr 6, 2:36 am, Markus Gritsch wrote:
> This thread had the same topic:
>
> http://groups.google.com/group/web2py/browse_thread/thread/b587b14f45...
>
> and resulted in the same
The book that counts as publication is the one by Wiley. They do not
mind the copy on lulu as long as it is not free.
Massimo
On Apr 6, 3:08 am, Timmie wrote:
> Interesting rationales for having the book on Lulu.
> Academia sometimes have some strange habits.
> Sometimes, publishing in OpenAcc
I would prefer if you create a separate project since this would be an
application or a module. The less I have to do the better. ;-)
On Apr 6, 3:18 am, Timmie wrote:
> I would need Feedback from the other authors.
> Are they willing to put
>
> As a beginner, I would be a user of the code first.
If you need to test the framework, there are tests in gluon/tests
You can write tests in your app in doctests or unittests in
applications/yourapp/tests
You can run tests using web2py.py -t or -R -M
On Apr 6, 6:10 am, Joseph Jude wrote:
> Hi,
> What are the testing tools available within web2p
On Apr 5, 9:09 pm, desfrenes wrote:
>Hi,
First of all, good catches!.
> Is it possible to make the default markup for SQLFORMs w3c valid ?
+1
> Right now there are hidden inputs (I suppose they're here for anti-
> CSRF) which are not in block elements. This problem can be addressed
> easily by u
With the current Auth you cannot have two forms on the same page. I
will change it.
Massimo
On Apr 6, 6:25 am, Yannick wrote:
> Hello Massimo,
> Thanks for the note... Yes i know the processing is done on the
> "Tools.py", The reason why i put those in the controller is because i
> was trying s
On google
mail.settings.login='my_username:my_password'
should be
mail.settings.login='my_usern...@gmail.com:my_password'
On Apr 6, 8:09 am, Vidul Petrov wrote:
> Hi Chrism,
>
> Thank you for the help.
>
> The problem is not on dev_server, but on appengine itself.
> Though I tried many differ
I have got the following model:
db.define_table('postcoderegio',
SQLField('regio', type='integer', length=2, default='',
notnull=True),
SQLField('min', type='integer', length=4, default='',
notnull=True),
SQLField('max', type='integer', length=4, default='',
notnull=True),
SQLFie
I think the only issue is str vs unicode and it depenends on how the
handle it in the drivers. everything else should be 3 friendly aready.
On Apr 6, 8:39 am, AchipA wrote:
> It's a vicious circle of apps (frameworks) and libs not upgrading
> because of the other.
>
> What we *could* do is to ma
if no root permission, no problem.
On Apr 6, 9:21 am, gabe wrote:
> Here is what finally got it to work (with reviewing posts by Mr.
> Dumpleton):
>
> WSGIScriptAlias /moin /path/to/my/wiki/moin.wsgi
> WSGIScriptAlias / /path/to/web2py/wsgihandler.py
>
> ... the rest of the virutal host directiv
Try the latest trunk. It should be fixed but I did not try to
revalidate.
Massimo
On Apr 6, 9:34 am, DenesL wrote:
> On Apr 5, 9:09 pm, desfrenes wrote:>Hi,
>
> First of all, good catches!.> Is it possible to make the default markup for
> SQLFORMs w3c valid ?
> +1
> > Right now there are hidd
This is wrong.
db.postcoderegio.regio.requires=[IS_INT_IN_RANGE(00,99),IS_LENGTH
(2),IS_NOT_EMPTY()]
validators are filters so the order it important. You can reverse the
order but I suspect you want
db.postcoderegio.regio.requires=IS_MATCH('\d{4}')
On Apr 6, 10:01 am, annet wrote:
> I have g
I am for this but this will trigger a migration in existing Oracle
installations and they may break.
All in favor? Against?
Massimo
On Apr 6, 5:36 am, SergeyPo wrote:
> However migrations still do not work in Oracle, namely: when you have
> string or text (varchar2/nvarchar2 or clob/nclob) fie
Thank you, Massimo.
It works fine now, but the sender (GAE limitation) can be only the
registered admin account.
Also mail.settings.server should be (as written in the docs) 'gae'.
On Apr 6, 6:01 pm, mdipierro wrote:
> On google
>
> mail.settings.login='my_username:my_password'
>
> should be
>
Mmm, SQLDB('sqlite:memory:') would be a most intuitive choice, it is a
pity that it does not work. No wonder it was once introduced but soon
"forgotten". :-)
So let's wait Massimo to adjust MEMDB to work with cache.ram, or
perhaps a dedicated RAMDB for it, or even SQLDB('ram://'). I am fine
with
> I would prefer if you create a separate project since this would be an
> application or a module. The less I have to do the better. ;-)
OKI, here goes:
https://launchpad.net/web2py-geo
I added you as a driver for the project.
Let's see what will happen.
BTW:
* shall we create a super group web
Oh now i see, i spend so many time wondering, i changed stuff that
don't even make sense to make this work...
I glad to hear that... Please notify us once is done...
Thanks Massimo,
Yannick P.
On Apr 6, 10:55 am, mdipierro wrote:
> With the current Auth you cannot have two forms on the same pa
The problem with sqlite:memory is that you can have multiple apps
running under the same web2py installation. There is no way to have
multiple sqlite:memory and those apps do not probably want to share
the database. One would have to cache the sqlite:memory connection
then it may be faster to cach
Sounds like a good idea. Do I have to do this or can you do it?
Massimo
On Apr 6, 10:51 am, Timmie wrote:
> > I would prefer if you create a separate project since this would be an
> > application or a module. The less I have to do the better. ;-)
>
> OKI, here goes:https://launchpad.net/web2py
The jDiv should be made "absolute" and not "relative" but this is a
detail. If you can fix the index.html code to make it look better
please email it to me.
On Apr 6, 8:34 am, Álvaro Justen [Turicas]
wrote:
> Ah, there is a "bug" in CSS: I use Iceweasel (Firefox with a "free"
> visual identity)
because, as far as I understand, this does something different.
the main point is that jDiv catches the self-submitting forms and
prevents from reloading the entire page. I can use this with existing
web2py actions.
taconite has a flexible mechanism for allowing one page to embed code
into the p
auth=Auth(globals(),db)
auth.settings.table_user=db.define_table('auth_user', fields
including first_name, last_name, email, password, registration_key ...
length=128..
... validators on this table ...
auth.define_tables()
On Apr 6, 1:49 am, Oscar wrote:
> Thank you!
>
> So... how I can e
click me
On Apr 5, 4:45 pm, waTR wrote:
> Your last post did answer my question, though, the code didn't work.
>
> click me
>
> when you click it will call the action sayhi(), For example
>
> def sayhi(): return dict(message="hello")
>
> The button does not redirect to the other page when clicke
Thanks Michael Thamm!
Massimo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to
What are the complete list of auth_user fields? and default values?
Regards,
Oscar.
On 7 abr, 11:22, mdipierro wrote:
> auth=Auth(globals(),db)
> auth.settings.table_user=db.define_table('auth_user', fields
> including first_name, last_name, email, password, registration_key ...
> length=
I have the following function:
def byplace():
response.functionname=T('Club locator op plaats')
form=form_factory(SQLField('plaats',label='Type een
plaatsnaam',requires=IS_NOT_EMPTY(),\
widget=lambda self, value:TAG[''](INPUT
(_id='clublocator',_name='plaats',_class='ac_input',_type='
On Linux you can define(at the boot time, passing kernel params) a
part of your ram as a ramdisk. It behaves exactly like a disk with a
filesystem on it. So you can just use sqlite and have it working in
RAM space. Very fast solution. I know it is not exactly what you are
talking about, but maybe
I too would like to know this, since I would like to add a 'username'
field, instead of having to display real names or email addresses.
On Apr 6, 1:00 pm, Oscar wrote:
> What are the complete list of auth_user fields? and default values?
>
> Regards,
>
> Oscar.
>
> On 7 abr, 11:22, mdipierro w
auth.settings.table_user = db.define_table(
self.settings.table_user_name,
db.Field('first_name', length=128,default=''),
db.Field('last_name', length=128,default=''),
db.Field('email', length=128,default=''),
On Apr 6, 11:05 am, mdipierro wrote:
> Try the latest trunk. It should be fixed but I did not try to
> revalidate.
>
> Massimo
Trunk 811 only solves the problem (or part of it, I have not checked
all) for SQLFORM and introduces visual "garbage" on the forms.
> On Apr 6, 9:34 am, DenesL wrote:
Annet, you are missing the closing {{pass}} for the if statement.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscri
Yes Massimo, that fixes the markup but also introduces borders in
forms which is probably not what you want. a div would be better like
DenesL said.
For the textarea, it seems to be ok, at least with SQLFORM.
On 6 avr, 17:05, mdipierro wrote:
> Try the latest trunk. It should be fixed but I did
I think there should defiantly be a way to specify what div the
response is loaded in and also the option to load different parts of
the response in different divs.
On Apr 6, 1:42 pm, desfrenes wrote:
> ok, I understand.
>
> On 6 avr, 18:17, mdipierro wrote:
>
>
>
> > because, as far as I under
ok, I understand.
On 6 avr, 18:17, mdipierro wrote:
> because, as far as I understand, this does something different.
>
> the main point is that jDiv catches the self-submitting forms and
> prevents from reloading the entire page. I can use this with existing
> web2py actions.
>
> taconite has a
I'm trying to have apache serve svg images as they should be served.
Problem is the doctype seems to always come back as text/plain which
casues text rather than an image to show.
Anybody else have experience with this?
--~--~-~--~~~---~--~~
You received this messa
What is the best way to unlink and remove from the db uploaded files/
images from the uploads folder? I am basing an app on the layout of
the images table from the web2py book. Is there a magic web2py
function for this already?
Thanks,
Brian
--~--~-~--~~~---~--~~
Y
On Apr 6, 2:19 pm, zxynax wrote:
> I'm trying to have apache serve svg images as they should be served.
> Problem is the doctype seems to always come back as text/plain which
> casues text rather than an image to show.
>
> Anybody else have experience with this?
No experience but what OS are you
I thought it would be cool to have a routes.py for each application,
so I put the following in web2py/routes.py, which combines the routes
from each application/*/routes.py at boot time.
web2py/routes.py:
from gluon.fileutils import listdir
import os,glob
apps_with_routes = []
app_routes = glob.
This can already be done. Here is a better layout and absolute Divs.
http://www.web2py.com/events/default/index
On Apr 6, 1:52 pm, ceej wrote:
> I think there should defiantly be a way to specify what div the
> response is loaded in and also the option to load different parts of
> the response
An AlterEgo page about this would be very helpful. ;-)
On Apr 6, 1:09 pm, Kuba Kucharski wrote:
> On Linux you can define(at the boot time, passing kernel params) a
> part of your ram as a ramdisk. It behaves exactly like a disk with a
> filesystem on it. So you can just use sqlite and have it w
liking the background :-)
On 6 avr, 21:34, mdipierro wrote:
> This can already be done. Here is a better layout and absolute Divs.
>
> http://www.web2py.com/events/default/index
>
> On Apr 6, 1:52 pm, ceej wrote:
>
> > I think there should defiantly be a way to specify what div the
> > response
OK. email me the patch.
Massimo
On Apr 6, 2:09 pm, Robin B wrote:
> I thought it would be cool to have a routes.py for each application,
> so I put the following in web2py/routes.py, which combines the routes
> from each application/*/routes.py at boot time.
>
> web2py/routes.py:
>
> from gluon
Thanks for your prompt attention.
OS is Ubuntu and the mime.types has the images/svg+xml definition and
it is uncommented. I can even serve svg images if I use a vhost that
does not utilize WSGI.
On Apr 6, 2:22 pm, bsnipes wrote:
> On Apr 6, 2:19 pm, zxynax wrote:
>
> > I'm trying to have apa
of course
say you have
db.define_table('image',SQLField('file','upload'))
you can do
db.image.file.autodelete=True
and the linked file will be deleted when the records are deleted.
Massimo
On Apr 6, 2:19 pm, bsnipes wrote:
> What is the best way to unlink and remove from the db u
I stole it on the web. Not my artwork. Hope the author does not mind.
Massimo
On Apr 6, 2:37 pm, desfrenes wrote:
> liking the background :-)
>
> On 6 avr, 21:34, mdipierro wrote:
>
> > This can already be done. Here is a better layout and absolute Divs.
>
> >http://www.web2py.com/events/defau
On Apr 6, 2:43 pm, mdipierro wrote:
> of course
Not surprised! Web2py magic abounds...
> db.define_table('image',SQLField('file','upload'))
>
> you can do
>
> db.image.file.autodelete=True
Thanks!
Brian
--~--~-~--~~~---~--~~
You received this message b
OK, let's look at how the most successful web app framework, Ruby on
Rails did this, so we can learn a little about what works:
1. DHH and 37signals developed Rails using Ruby basically as an in-
house tool to simplify repetitive tasks discovered as a project-
tracking and communication applicati
Hi all,
I am using a great floating window plugin for jQuery, however, I am
not sure how to make it work with web2py. Note that in asking this
question, I am not only trying to solve this problem, but to gain a
better understanding of how web2py works, so please only propose
web2py solutions.
THI
On 6 avr, 22:01, g-man wrote:
> Where are all the web2py blogs and articles, people?
here's one: http://www.desfrenes.com/blog/post/quel-framework-web-python-choisir
:-)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
What is the best way to hide the register option when auth is enabled
in a web2py application?
Thanks,
Brian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send e
Massimo, this one works best (in html.py):
def hidden_fields(self):
c = []
if self.attributes.has_key('hidden'):
for (key, value) in self.attributes.get('hidden',
{}).items():
c.append(INPUT(_type='hidden', _name=key,
_value=valu
On Apr 6, 2:40 pm, zxynax wrote:
> Thanks for your prompt attention.
>
> OS is Ubuntu and the mime.types has the images/svg+xml definition and
> it is uncommented. I can even serve svg images if I use a vhost that
> does not utilize WSGI.
>
Haven't setup WSGI yet. I will ( I hope ) be putting w
web2py.com distinct visitors per day (tracked by IP).
30/Mar/2009 803 Mon
31/Mar/2009 929 Tue
01/Apr/2009 949 Wed
02/Apr/2009 813 Thu
03/Apr/2009 701 Fri
04/Apr/2009 585 Sat
05/Apr/2009 605 Sun
06/Apr/2009 1265 Today...at 3:42pm and counting
--~--~-~--~~~---~--~~
pycon effect ! :-)
On 6 avr, 22:42, mdipierro wrote:
> web2py.com distinct visitors per day (tracked by IP).
>
> 30/Mar/2009 803 Mon
> 31/Mar/2009 929 Tue
> 01/Apr/2009 949 Wed
> 02/Apr/2009 813 Thu
> 03/Apr/2009 701 Fri
> 04/Apr/2009 585 Sat
> 05/Apr/2009 605 Sun
> 06/Apr/2009 1265 Today...at 3
http://translate.google.com/translate?prev=_t&hl=en&ie=UTF-8&u=http%3A%2F%2Fwww.desfrenes.com%2Fblog%2Fpost%2Fquel-framework-web-python-choisir&sl=fr&tl=en&history_state0=
Comment: http://www.fortunecity.com/lavendar/sidjames/210/xcllnt.wav
Massimo
On Apr 6, 3:16 pm, desfrenes wrote:
> On 6 av
def user():
if request.args and request.args[0]=='register': redirect(...
somewhere...)
return auth()
On Apr 6, 3:26 pm, bsnipes wrote:
> What is the best way to hide the register option when auth is enabled
> in a web2py application?
>
> Thanks,
> Brian
--~--~-~--~~-
I just posted this in trunk. Please check. Thanks!
Massimo
On Apr 6, 3:28 pm, desfrenes wrote:
> Massimo, this one works best (in html.py):
>
> def hidden_fields(self):
> c = []
> if self.attributes.has_key('hidden'):
> for (key, value) in self.attributes.get('hi
On Apr 6, 3:48 pm, mdipierro wrote:
> def user():
> if request.args and request.args[0]=='register': redirect(...
> somewhere...)
> return auth()
DOH!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py
LOL ! automatic translations are horrible. I could achieve a better
result, even with my bad english ^_^
I didn't see many articles in french but I'm confident it will change
soon. I'll probably write more as I discover web2py.
On 6 avr, 22:47, mdipierro wrote:
> http://translate.google.com/tran
yes, it's fine now :-)
On 6 avr, 22:49, mdipierro wrote:
> I just posted this in trunk. Please check. Thanks!
>
> Massimo
>
> On Apr 6, 3:28 pm, desfrenes wrote:
>
> > Massimo, this one works best (in html.py):
>
> > def hidden_fields(self):
> > c = []
> > if self.attributes
> An AlterEgo page about this would be very helpful. ;-)
"Is there a way" in web2py to place sqlite database somewhere else
than "databases" folder ?
I couldn't quickly find info about it on the web.
As "somewhere else" I mean also a subfolder of "databases" folder.
Than we could have both typ
Yes
SQLDB('sqlite:///absolue/path')
notice the ///
On Apr 6, 4:07 pm, Kuba Kucharski wrote:
> > An AlterEgo page about this would be very helpful. ;-)
>
> "Is there a way" in web2py to place sqlite database somewhere else
> than "databases" folder ?
> I couldn't quickly find info about it on t
Hey,
I'm trying to overide the login_url by putting the code below in my
db.py:
auth.settings.login_url=settings.url+'/login'
for some reason this has no affect, is there anyway to do this?
Many thanks
--~--~-~--~~~---~--~~
You received this message because you
Hi,
may be i'm missing something but is there a possibility to manage
uploads in subdirs? I'd like to organize the uploads a bit :)
Michal alias Plysak
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Fr
On Apr 3, 5:23 pm, Yarko Tymciurak wrote:
> On Fri, Apr 3, 2009 at 3:59 PM, mdipierro wrote:
>
> > I do not see a problem with this but is GO a mssql only keyword?
I don't know.
>
> In MSSQL - "GO" runs the accumulated batch of lines (it's like "enter").
>
> The problem is, I think, that yo
I am trying to display a field twice in the same row, with two
different links, along the lines of
View per row:
id(with href to function1)...sameid(with href to function2)...more
fields from same row
I can't see how to duplicate the id in the controller at the select,
for example with db(qu
There is not an easy way to do this. You can move the file after
uploads but this can break downloads. Perhaps the best way is to build
symlinks after upload.
On Apr 6, 4:39 pm, Michal Jursa wrote:
> Hi,
> may be i'm missing something but is there a possibility to manage
> uploads in subdirs? I'
I thought about ramdisk, but tmpfs might be a better solution,
practically it is the same. Main difference between tmpfs and linux
ramdisk device is that tmpfs alocate memory dynamically and also
less-used "pages" can be moved onto swap space.
On modern linux distros it is as easy as:
mount -t t
You cannot select a field twice. The DAL does not allow it.
Massimo
On Apr 6, 5:04 pm, Peter Etchells wrote:
> I am trying to display a field twice in the same row, with two
> different links, along the lines of
>
> View per row:
> id(with href to function1)...sameid(with href to function2)
I do this by symlinks to 'static' directory and i understand this is not
easy coz it is hard to find out what is controller and what is parameter
etc... Finally the static workaround is not bad.
Michal alias Plysak
mdipierro wrote:
> There is not an easy way to do this. You can move the file a
p.s
it seems like "on modern linux distros" you don't have to pass extra
parameters to kernel anymore (to have ram-type disk). It has been a
while since I used it.
Sory if I scared someone ;)
--
Kuba
--~--~-~--~~~---~--~~
You received this message because you a
fixed in trunk. Please check.
On Apr 6, 4:50 pm, DenesL wrote:
> On Apr 3, 5:23 pm, Yarko Tymciurak wrote:
>
> > On Fri, Apr 3, 2009 at 3:59 PM, mdipierro wrote:
>
> > > I do not see a problem with this but is GO a mssql only keyword?
>
> I don't know.
>
>
>
> > In MSSQL - "GO" runs the accum
Freaking Cool!!!
On Mon, Apr 6, 2009 at 4:45 PM, mdipierro wrote:
>
> I stole it on the web. Not my artwork. Hope the author does not mind.
>
> Massimo
>
> On Apr 6, 2:37 pm, desfrenes wrote:
> > liking the background :-)
> >
> > On 6 avr, 21:34, mdipierro wrote:
> >
> > > This can already be
I am your student now, I learnt a lot from you about web2py, actually
I am a researcher at one of the labs in east cost, and a part time
teacher -- I love computing science.
I my vision for the mapping is to create (draw) a polygon that
signifies a room in a building using a mouse, when somebody
1 - 100 of 120 matches
Mail list logo