This would be a sample query in MYSQL... I just do not know how to
port this to DAL syntax :)
SELECT customers.* FROM customers LEFT JOIN orders ON
customers.customer_id = orders.customer_id WHERE orders.customer_id IS
NULL
-Thadeus
On Thu, Jan 7, 2010 at 3:29 PM, Thadeus Burgess wrote
Query for records that are in one table but not in another table?
myrecord
---
theid -> FK -> listofstuff
datetitme
listofstuff
---
myid
myname
myvalue
So basically, I want all listofstuff that does not have a record in myrecord
-Thadeus
--
You received this message because you
Ah... times such as these when Access really makes you happy...
So I have an email field... unique, and people who think they are
smart have signed up with a lowercase email, and then again with an
uppercase email.
Yes it is my fault for not converting to lowercase before validating.
(well I did
>
>
> On Jan 7, 7:45 am, mdipierro wrote:
>> ajax calls to keep session alive
>>
>> On Jan 6, 2:02 pm, Thadeus Burgess wrote:
>>
>>
>>
>> > (this) being using ajax calls or (this) being keeping the session alive?
>>
>> > -Thade
(this) being using ajax calls or (this) being keeping the session alive?
-Thadeus
On Wed, Jan 6, 2010 at 1:53 PM, mdipierro wrote:
> kpax does this.
>
> On Jan 6, 11:56 am, Thadeus Burgess wrote:
>> So I have my blog... and I'm writing a post, and I walk off and leave
Massimo,
This does not work.
Especially if you are wanting a default for {{something()}}
It always uses the first definition, because of how views are extended
and included.
So as long as you have the def something(): and {{something()}} in the
same template file, it will work, but going throug
So I have my blog... and I'm writing a post, and I walk off and leave
it, come back to post, and of course my session has expired.
What is the best way to keep this session alive? I am thinking an AJAX
call that is set to interval at every minute ?
-Thadeus
--
You received this message because y
I guess thats my queue to post the list when I get the chance :)
-Thadeus
On Wed, Jan 6, 2010 at 9:32 AM, mdipierro wrote:
> please do. I missed this one. Thadeus is maintaining a list of
> plugins.
>
> On Jan 6, 5:50 am, selecta wrote:
>> or you could use my improved
>> versionhttp://grou
O
MySQLAdapter
->MyISAMAdapter
->InnoDBAdapter
:) I love the new DAL!
-Thadeus
On Wed, Jan 6, 2010 at 9:28 AM, mdipierro wrote:
> Right now you cannot unless you edit gluon.sql.py and replace InnoDB
> with MyISAM. I am not sure about the implications. The new DAL will
> make it easier
Since you are including html in your posts, it is a bit difficult...
I am using markdown for blogitizor, so the html always comes out clean...
snip = 2000 #num characters by default
{{=WIKI(page.content[:snip], extras={
'code-color': {'noclasses': True},
'
Its still just a website, you have to refresh the page to see changes :)
-Thadeus
On Wed, Jan 6, 2010 at 2:57 AM, Werner F. Bruhin wrote:
> mdipierro wrote:
>>
>> > the rule is simple. If the app is not "compiled" no change requires
>> restarting except changes in files in the modules/ folde
obviously if the there is no data form.accepts() returns false.
if form.accepts() #returns true or false wrote:
> I can not understand form.accepts(). I think it's because my intuitive
> understanding of web2py is wrong. Here's how I think it works:
>
> A simple controller function ( index() say)
80/20 gets in the way sometimes... 50/50 would be a better goal...
providing reasonable defaults, but also a reasonable way to customize
or rewrite base modules. I say 50/50 because there is NO way any
system can provide everything every developer may ever need. Though
django/werkzeug etc follow t
It was aimed at Massimo's comment...
> If you do collaborative delopment and two or more people are working
> on the same app, the web based editor will prevent conflict and
> provide merge capabilities.
Exactly why in any "real" programming environment, unless your project
is highly unorganized.
Upon each request, web2py scans the filesystem, loading
model/controller/view python files into a list of filenames. When a
request comes in, it then uses exec to execute the python file in the
current globals() (which is why you don't have to import web2py
things). So if the class/function is alre
This is exactly why Source Code Management systems were created.
-Thadeus
On Tue, Jan 5, 2010 at 6:58 PM, mdipierro wrote:
> There is difference between editing a file via the web based IDE
> (admin) or via the file system. Web2py does not store any meta-data
> and editing does not trigger a
Web2py models/controllers/views are EXECUTED not IMPORTED.
Therefore, any changes made to files in these folders, are executed on
the next and subsequent requests.
You only need to flush/stop/start if you change say a MODULE (that is
imported) or similar.
You would never, and should never edit a
We have looked at it... and I even said that Its All Text is the way
to go... and that we shouldn't worry about this for web2py, we have
lots of other things on our plates besides this, such as the new DAL,
figuring out a better plugin system, etc etc..
Its all text gives the functionality of the
I think what he really wants is the same thing I have been discussing
for quite a while :)
For now, sqlform.custom is the way to go
http://web2py.com/AlterEgo/default/show/205
-Thadeus
On Tue, Jan 5, 2010 at 4:25 PM, mdipierro wrote:
> I think this should do it:
>
> form=SQLFORM(...)
> for
Yes
-Thadeus
On Tue, Jan 5, 2010 at 3:13 PM, mdipierro wrote:
> Thanks!
>
> Can I count on Thadeus to keep track and store plugins?
>
> Massimo
>
> On Jan 5, 2:49 pm, KMax wrote:
>> And finaly membership manager was done.
>> You could download it from following link (should be active for
>
Are you not receiving any of my attachments by email?
-Thadeus
On Tue, Jan 5, 2010 at 2:35 PM, mdipierro wrote:
> waiting for the patch by email
>
> On Jan 5, 12:13 pm, Thadeus Burgess wrote:
>> Ah duh, column names...
>>
>> Here would be a proper
surprised of how
> many students I see who, if you say "open a shell" they say "open
> what?".
>
> On Jan 5, 1:31 pm, Thadeus Burgess wrote:
>> Here is my confusion
>>
>> If your going to use an editor on your local computer why are you
Here is my confusion
If your going to use an editor on your local computer why are you
going to even bother with using web2py to view the files... If your
already going to have Explorer/Nautilus/ you
can just double click the files and edit them...
There would be no way for you to use an
27;,]
-Thadeus
On Tue, Jan 5, 2010 at 11:58 AM, Thadeus Burgess wrote:
> ...
>
> There is a way of using the represent attribute...
>
> so export_to_csv(..., represent=True)
>
> Will use the fields represent attribute
>
> db.table.field.represent = lambda id:
There is no way for the browser to launch programs on the clients
computer, this would be an inherit security vulnerability which is why
browsers do not allow websites to do this.
The only way is like a firefox plugin that performs this... but not
everyone uses firefox.
I only use the web2py admi
You will need to look at the headers for that information link
clicks on each link will need to use javascript, or a link redirects
itself to another function that rewrites the url to the correct link
registering the link as being clicked, like tinyurl but keeps track of
how many times it goes
no.
Well... the only way to verify, is if you have an AJAX callback to the
server if you receive the callback, they have javascript... if you
don't receive one... then they dont.
def receive_if_js():
session.has_javascript = True
def index():
if session.has_javascript:
...
{{
...
There is a way of using the represent attribute...
so export_to_csv(..., represent=True)
Will use the fields represent attribute
db.table.field.represent = lambda id:
-Thadeus
On Tue, Jan 5, 2010 at 10:39 AM, mdipierro wrote:
> as a short term trunk, you could just replace the f
s is not a satisfactory solution if
> there are many records.
>
>
> Massimo
>
> On Jan 5, 1:13 am, "K.R.Arun" wrote:
>> On Jan 5, 1:26 am, Thadeus Burgess wrote:
>>
>> > You say that MSSQL and Oracle do not support pagination? In what ways does
>&
h PostgreSQL users may be accustomed
>> to. Web2Py uses the equivalent of "\set AUTOCOMMIT OFF" as described
>> athttp://www.postgresql.org/docs/8.4/interactive/app-psql.html.";
>>
>> Massimo, what would you think of adding this to the manual?
>>
&g
There are two statements for VERBATIM in the BaseAdapter of dal.py
def VERBATIM(self,first):
return first
def VERBATIM(self,first):
return str(first)
-Thadeus
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this gro
You say that MSSQL and Oracle do not support pagination? In what ways does
the database support pagination? How would you take advantage of this for
say PostgreSQL on the database level instead of the query level?
-Thadeus
On Tue, Sep 29, 2009 at 4:06 PM, mdipierro wrote:
>
> In my view they
For the moment, I am running two cron jobs. One will execute web2py
and generate a CSV file of the database, tar it up. The other cron
will run an hour later, and will use PGDUMP and tar the sql statements
up. It then uses SSH to ship the data to our backup file server.
For the moment this seems t
I do not think this is about decoupling the presentation logic from the...
tree structure.. I am saying that validation and presentation should be
decoupled. A Form should be able to validate without needed to know what it
tree looks like. All the form validation should care about is what the data
Can you disable auto_commit so that you have to explicitly declare db.commit() ?
Also, say I have the following
db.table.insert(myfields=...)
and then later in the same request, would a
db.table.select() pull in the newly inserted record, or does the
record need to be committed first?
If I ins
Currently I am trying out Wing IDE, and it is an awesome python
development environment.
I have also used web2py with Netbeans, Eclipse + PyDev, and recently I
have just been using Gedit for all of my code.
If I could afford Wing IDE I would use it explicitly.
You can use any IDE or editor
, Mengu wrote:
> thadeus,
>
> gonna release the source?
>
> On Jan 4, 3:39 am, Thadeus Burgess wrote:
>> If a planetplanet like application is made for web2py, then I made an
>> RSS just for web2py category.
>>
>> http://thadeusb.com/weblog/feed.rss/category/W
If a planetplanet like application is made for web2py, then I made an
RSS just for web2py category.
http://thadeusb.com/weblog/feed.rss/category/Web2py
-Thadeus
On Sun, Jan 3, 2010 at 7:17 PM, Thadeus Burgess wrote:
> Basically it gets parsed into request.args.
>
> So
Basically it gets parsed into request.args.
So
http://thadeusb.com/weblog/category/Web Development
has a request.args of
['Web Development',]
So I then take that name, query my category database to pull its 'id',
and then use db.page.categories.like('|'+id+'|') since categories are
a one-to-ma
.
-Thadeus
On Thu, Dec 31, 2009 at 9:47 AM, mdipierro wrote:
> It will be easier to add something like it.
>
> On Dec 31, 1:04 am, Thadeus Burgess wrote:
>> Can the new DAL have a list of protected keywords for the database and
>> throw and exception if you try to define a co
Yes... You are right I could. It was late, I was heading to bed, and I
just threw the last question in :)
-Thadeus
On Thu, Dec 31, 2009 at 7:22 AM, Guido Kollerie wrote:
> On 31 dec 2009, at 09:19, Thadeus Burgess wrote:
>
>> Are dates stored in the database as UTC?
>
>
Are dates stored in the database as UTC?
How do you convert the dates between UTC / locale ?
Is request.now in UTC?
-Thadeus
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsu
OMG!!! It has risen from the depths!!! It is... no not Godzilla... its
BLOGITIZOR.
I still have to edit some of the posts since they were converted from
wordpress to markdown... I will be switching my main domain over when
I'm sure things are smoothed out.
http://web2py.thadeusb.com/
-Thadeus
-
Can the new DAL have a list of protected keywords for the database and
throw and exception if you try to define a column with the keyword?
-Thadeus
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@goog
I take that back, this does not solve it, since web2py ends up
reversing the query, so the next 100 rows is actually the next 100
from the end.
-Thadeus
On Wed, Dec 30, 2009 at 11:58 PM, Thadeus Burgess wrote:
> What I'm trying to do:
>
> Sort by a row (say last_name). Then
What I'm trying to do:
Sort by a row (say last_name). Then view the next 100 rows.
What I expect:
For the next 100 to continue with the sorted query
What happens:
The query resets
How to fix it:
I'm sure there is a better way, but the orderby get_vars is being lost
in the middle... so
{
Hey... thats a good idea >.<
-Thadeus
2009/12/30 Zoom.Quiet :
> On Thu, Dec 31, 2009 at 12:27, Massimo Di Pierro
> wrote:
>> http://london.craigslist.co.uk/stp/1531016430.html
>>
>
> LOL
>
> --
> http://zoomquiet.org 人生苦短? Pythonic!
> 一个人如果力求完善自己,就会看到:为此也必须同时完善他人. 一个人如果不关心别人的完善,自己便不可能完善!
>
>
d))
>
>
>
> On Dec 29, 8:06 pm, Thadeus Burgess wrote:
>> Currently I am using the following, works perfect for my applications...
>>
>> import re
>>
>> def save_pre(match):
>> s = match.group()
>> if s.startswith('> or
A transaction can have multiple inserts/updates/deletes. So basically
what web2py is doing, is when a request comes in, it starts a new
transaction with the database. Then web2py executes the
models/controllers/action, which perform operations on the database.
Now if web2py catches an exception, it
Currently I am using the following, works perfect for my applications...
import re
def save_pre(match):
s = match.group()
if s.startswith('|(?s)|(?s)')
dd = cpat.sub(save_pre, response.render(d))
lgh = latest_guppy_heapy()
return dd
if request.controller not in ['',] \
and
Does .update_record() call a db.commit()?
-Thadeus
On Tue, Dec 29, 2009 at 2:10 PM, toomim wrote:
> if success:
> db.commit()
> else:
> db.rollback()
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To
:-P
> Alex
>
> El 29/12/2009 9:31, Thadeus Burgess escribió:
>>
>> Just letting everyone know about this... This is AWESOME. As a
>> programmer, I don't like css... but this makes css that much more
>> bearable :)
>>
>> http://sandbox.pocoo.org/
>If plugins have models in their own folder, then should all models be
>executed when a non-plugin controller is called, including plugin
>models? If so, there would be a lot overhead to new directory
>structure. Moreover in which order would they be executed? Whatever
>you choose would not be obvi
Just letting everyone know about this... This is AWESOME. As a
programmer, I don't like css... but this makes css that much more
bearable :)
http://sandbox.pocoo.org/clevercss/
now only if I could integrate this into web2py
-Thadeus
--
You received this message because you are subscr
Ah yes, so back to my original thought
db(status == 'pending').update(status = 'pending-' + request.now)
for db(status == 'pending-' + request.now).select():
task.update_record(status = 'processing-' + request.now
success = do_the_long_thing(task)
fail
if success:
task.update_record(s
for db(status == 'pending').select():
task.update_record(status == 'processing')
success = do_long_thing_with(task)
fail
if success:
task.update_record(status = 'done')
This way, records that have a status of processing will not get pulled
in by a concurrent thread.
-Thadeus
O
When I set
auth.settings.controller = 'admin'
Shouldn't it then default to that?
When I request an action that requries login, it takes me to
http://127/init/default/user/login which is... well wrong.
Looking at the code, the login_url, etc... uses self.url() however the
setttings.controlle
th it.
Also, i included my comments CSS I am using, this could be edited and
customized as well. I designed the html in a way that could be easily
manipulated by css.
-Thadeus
On Mon, Dec 28, 2009 at 9:23 PM, Thadeus Burgess wrote:
> Is it ok if I comment it first before I send it?
>
Is it ok if I comment it first before I send it?
-Thadeus
On Mon, Dec 28, 2009 at 8:30 PM, mdipierro wrote:
> please do!
>
> On Dec 28, 8:17 pm, Thadeus Burgess wrote:
>> Massimo... Let me send you mine :)
>>
>> -Thadeus
>>
>> On Mon, Dec 28, 2009 a
What about...
auth.settings.login_url = URL(r=request, c='admin/user', f='login')
auth.settings.logged_url = URL(r=request, c='admin/user', f='profile')
auth.settings.login_next = URL(r=request, c='admin', f='index')
auth.settings.logout_next = URL(r=request, c='admin', f='index')
auth.settings.r
Buried beyond 100's of google posts.
Good Luck!
There is also a screen cast on plugins at vimeo.
http://www.vimeo.com/7182692
The reason there is no "official" spec is because the system most
likely change. In my recent efforts making plugins, it leads to a
quite archaic design pattern for the
ome!, clear and nice... what
> is this blogitize about? could you tell us something more?
> Thanks in advance,
> Alex F
>
> El 28/12/2009 15:56, mdipierro escribió:
>> I also like the screenshot. Would you add a page to appadmin?
>>
>> On Dec 28, 5:43 am, Thadeus Burges
After testing, it was an issue with how I was sending the pings... it
was stupidly obvious and one of those moments that make you say
"Dope!"
So its right there, in request.headers['X-Pingback'] just as it should be.
[SOLVED]
-Thadeus
On Wed, Dec 23, 2009 at 11:56
Massimo... Let me send you mine :)
-Thadeus
On Mon, Dec 28, 2009 at 7:30 PM, mdipierro wrote:
> uires trunk web2py or add this at the bottom of y
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@
Should it not be incrementing the time?
-Thadeus
On Mon, Dec 28, 2009 at 7:46 PM, Thadeus Burgess wrote:
> Yes but it is incrementing the **value**, not the **time**.
>
> -Thadeus
>
>
>
>
>
> On Mon, Dec 28, 2009 at 9:06 AM, mdipierro wrote:
>> I think i
t;
> web2py does not use this anywhere but apps may use it.
>
> Massimo
>
> On Dec 28, 12:05 am, Thadeus Burgess wrote:
>> def increment(self, key, value=1):
>> self.locker.acquire()
>> try:
>> if key in self.s
Hey Massimo, would you take a patch to Cache that allows it to keep
track of its hit ratio? It is nice from a profiling prospective, so
that you can easily determine if you have your cache settings too high
or too low.
Here is a screenshot of it in action...
http://static.thadeusb.com/web2py-cach
The number in the parameters file maps to the port that web2py is listening on.
If you are using WSGI, you should never have to start web2py
manually... since apache executes it for you, but I have no experience
with webfaction.
-Thadeus
On Mon, Dec 28, 2009 at 4:04 AM, annet wrote:
> Thade
https runs on port 443.
rename the file to
parameters_443.py
-Thadeus
On Mon, Dec 28, 2009 at 3:04 AM, annet wrote:
> When I access my web2py application at:
> https://admin.domain.com/welcome/default/index
> and navigate to the administrative interface, I get the following
> error:
>
> a
def increment(self, key, value=1):
self.locker.acquire()
try:
if key in self.storage:
value = self.storage[key][1] + value
self.storage[key] = (time.time(), value)
except BaseException, e:
self.locker.release()
Its the principle of the thing!
I do like my buttons. They are special!
-Thadeus
On Sun, Dec 27, 2009 at 3:51 PM, mdipierro wrote:
> TAG.BUTTON
>
> you can can make any helper you need with TAG.anything
>
> On Dec 27, 2:48 pm, Thadeus Burgess wrote:
>> Hr
Hrm... no BUTTON helper :*(
-Thadeus
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to
web2py+unsubscr...@googlegroups.com.
For more opti
u need.
>
> The concept of cross-thread transaction is not well defined and would
> be very unsafe. Perhaps if you tell us what you are tring to achieve
> we can suggest a better way.
>
>
>
> On Dec 27, 10:29 am, Thadeus Burgess wrote:
>> Is it possible to disable auto_co
That delete alert box is all on the javascript side
-Thadeus
On Sun, Dec 27, 2009 at 9:53 AM, Vasile Ermicioi wrote:
> I guess you can do that with javascript (client side)
>
> On Sun, Dec 27, 2009 at 5:42 PM, annet wrote:
>>
>> Massimo,
>>
>> I am a complete novice when it comes to program
ons?
>
> On Sun, Dec 27, 2009 at 5:35 PM, mdipierro wrote:
>>
>> yes
>>
>> On Dec 27, 5:55 am, Thadeus Burgess wrote:
>> > Does the DAL perform all queries on a transaction basis... that
>> > happens to commit() at the end of a successful request?
Does the DAL perform all queries on a transaction basis... that
happens to commit() at the end of a successful request? and on an
error the transaction is rolled back?
-Thadeus
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this gro
Hi all,
I was wondering if anybody could give me some pointers, hopefully by
the new year I will have my blog migrated completely to web2py.
As far as all the posts/comments/etc, the data is migrated to web2py,
and doing just fine.
However I have a firm belief that in this day and age, hyperlink
Agreed that web2py still should handle translations. I'm not sure but
for the purpose of this discussion, I think those who this concerns
should look at how javascript jquery programs perform translation and
see if there is a way either A) integrate web2py into this, or B) pass
web2py T() to these
How does jquery handle translations?
-Thadeus
On Sat, Dec 26, 2009 at 9:37 AM, Álvaro Justen [Turicas]
wrote:
> On Wed, Dec 23, 2009 at 11:29, Alexandre Andrade
> wrote:
>> While
>>
>> db.convenio.data_assinatura.requires =
>> IS_DATE(format=T('%d-%m-%Y'),error_message=T('deve ser no format
Happy Holidays! Start thinking about your new years resolution lists!
-Thadeus
On Thu, Dec 24, 2009 at 11:41 AM, Pynthon Pynthon wrote:
> Happy holidays!
>
> 2009/12/24 mr.freeze
>>
>> I wish you all a peaceful and bug-free holiday from Austin, TX.
>>
>> -Nathan
>>
>> On Dec 23, 10:25 pm, m
the long name for the
> table
>
> db.plugin_tagging_tag
>
> but on top of the plugin controller I shorten it
>
> tag = db.plugin_tagging_tag
>
> Massimo
>
> On Dec 23, 10:02 pm, Thadeus Burgess wrote:
>> Massimo,
>>
>> I know with the current implementation of plugins
Massimo,
I know with the current implementation of plugins the current spec
calls for you to append plugin_ to all of the function names /
database names that get called. Is there a better way of doing this?
The reason I ask is that it leads to having long variable and function
names... a simple
Looks like that would work.
-Thadeus
On Wed, Dec 23, 2009 at 3:36 PM, mdipierro wrote:
> jQuery(':submit,.submit')?
>
> On Dec 23, 2:32 pm, Thadeus Burgess wrote:
>> I would say assume anything of type submit and class submit are submit
>> buttons.
>>
I would say assume anything of type submit and class submit are submit buttons.
Personally I use a element for my submit instead of .
-Thadeus
On Wed, Dec 23, 2009 at 2:54 PM, selecta wrote:
> ascript and jquery just when I started with
> web2py ... like a month ago, so it would take me qu
... well if thats too confusing then you can do the following and
bypass the nested quotes all together.
onclick="javascript:demo('{{=URL(r=request,c='demo',f='index')}}')"
-Thadeus
On Wed, Dec 23, 2009 at 12:54 PM, Jonathan Lundell wrote:
> On
You need the template python brackets.
-Thadeus
On Wed, Dec 23, 2009 at 11:52 AM, annet wrote:
> Massimo and Jonathan,
>
>> I do not why but why not just
>>
>> > target="demo">
>
> Thanks, that solves my problem in this case, because I don't need to
> re-size the window.
>
>
> Maybe beca
I am also curious about using the postgresql inet type.
-Thadeus
On Wed, Dec 23, 2009 at 10:21 AM, mdipierro wrote:
> SQLCustomType is not documented because I am not promising backward
> compatibility for it in the new DAL (The functionality will be there
> but the API may change). Anyway h
in parsed in request.env.http_* and unparesed in
> request.wsgi.environ
>
> which os? which web2py?
>
>
> On Dec 23, 1:27 am, Thadeus Burgess wrote:
>> I am not seeing a place where you can read the request.headers, neither in
>> the request.env or request.wsgi.envi
as to this specification...
http://www.hixie.ch/specs/pingback/pingback
I must be able to call pingback.ping, however you cannot have dots in
method names.
The solution, at least for this example, is to modify the __name__
attribute of the function
@service.xmlrpc
def pingback_ping(source, targ
I am not seeing a place where you can read the request.headers, neither in
the request.env or request.wsgi.environ
-Thadeus
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubsc
le "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/ConfigParser.py", line 634, in _interpolate_some
> >"'%%' must be followed by '%%' or '(', found: %r" % (rest,))
> > ConfigParser.Inte
You need to include the username/password as an in-line to the URL.
default = https://:@web2py.googlecode.com/hg/
so...
https://mdipierro:s343...@web2py.googlecode.com/hg/
-Thadeus
On Tue, Dec 22, 2009 at 5:46 PM, mdipierro wrote:
> I have this in my .hg/hgrc
>
> [paths]
> default = https
; > Ive also tried this but in both cases web2py doesnt create any files.
> >
> > > db.export_to_csv_file(open('db.csv','wb'))
> >
> > > db.import_from_csv_file(open('db.csv','rb'))
> > > db.commit()
> >
> &g
The DAL is being rewritten, and MongoDB is one of the new back ends that
web2py will support. It will be about another month and a half before it is
ready.
-Thadeus
On Tue, Dec 22, 2009 at 4:47 PM, Pystar wrote:
> This question has been asked before, but I would like to know the
> extent of
db.export_to_csv_file(open('/path/to/my/file.txt', 'w'))
and then when you switch your DAL over...
db.import_from_csv_file(open('/path/to/myfile.txt', 'r'))
-Thadeus
On Tue, Dec 22, 2009 at 3:07 PM, Adolfo wrote:
> Hello
>
> I've been working with sqlite for develpment but now that i have
I think it would be great, for something that is super simple, and fast.
We should still include at least python-markdown2, just since it would give
the option to provide more functionality.
-Thadeus
On Tue, Dec 22, 2009 at 1:24 PM, Massimo Di Pierro
wrote:
> This is what I have so far. It i
.
-Thadeus
On Tue, Dec 22, 2009 at 2:10 PM, Yarko Tymciurak <
resultsinsoftw...@gmail.com> wrote:
> On Dec 22, 12:07 pm, Thadeus Burgess wrote:
> >
>
> > It does provide some interesting options though, instead of deleting
> files
> > when the record gets delet
I have suggested python-markdown as well.
Massimo is rewriting his own markdown that takes advantage of web2py tag
elements.
Nothing is stopping you from using python-markdown in your project though, I
am using it currently because of the extra features. :)
-Thadeus
On Tue, Dec 22, 2009 at 1
ltsinsoftw...@gmail.com> wrote:
> On Dec 22, 12:28 am, Thadeus Burgess wrote:
> > I just figured that would be default behavior... why would I have a file
> on
> > my system with absolutely no references to them anymore? And no "easy"
> way
> > to get th
;do something when framework load a Form, or
> delete a Field, or create a Button, or even access to Admin, or..."
> This way and "interoperable/cross" paragraph (or matrix table) in
> documentation would be sufficient to explain some manageable object
> actions. Sorry
1101 - 1200 of 1861 matches
Mail list logo