Was this session recorded ?
If yes, can you share the link?
Thanks,
-Mandar
On Sat, Feb 27, 2021 at 7:24 AM Abhiram R wrote:
> Hi!
> This is a reminder mail for the monthly- Bangpypers meetup - for the month
> of Feb 2021 i.e. today the 27th Feb 2021. The Zoom link should be available
> on the
> Past FOSDEM event video archives = https://video.fosdem.org/
>
Is there some document that goes long with this ? The folder names are not
intuitive.
The link in the README is not reachable
-Mandar
___
plug-mail mailing list
plug-mail@plug.org.in
http:
> as their editors, but the students never leave the "INSERT" mode.
>
Really? 🤔
___
plug-mail mailing list
plug-mail@plug.org.in
http://list.plug.org.in/listinfo/plug-mail
> Slack and others don't lend themselves well to highly threaded or, long
> form conversations.
>
Has anyone used twist ? https://twist.com/tour (I have not)
One of the feature they keep talking about is threaded conversations.
-Mandar
___
plug-mail mai
I have been using this for a while, as my default browser.
My "main" browser is Firefox, which I use for gmail/work/banking etc.
If I "type" the URL, I use firefox.
Whenever I click any link - it is opened in Brave.
It is OK, no issues.
-Mandar
On Sun, Jun 9, 2019 at 12:33 PM Gaurav Pant wr
On Sat, Feb 16, 2019 at 6:23 PM Mayuresh wrote:
> On Fri, Feb 15, 2019 at 09:37:01PM +0530, Sudhanwa Jogalekar wrote:
> > We stopped moderation completely after there was some huge discussion and
> > concerns raised about it. As Karunakar mentioned, there is no way to stop
> > people from registe
> And once in a while enjoy the absurd, completely out of context postings
!! :-)
I did.
But recently it has become more than once-in-a-while.
-Mandar
___
plug-mail mailing list
plug-mail@plug.org.in
http://list.plug.org.in/listinfo/plug-mail
> Trouble being mailer keeps re-appearing with a different mail id.
> Unless new membership itself is moderated, though cant guarantee
> person taking a different cloak to get in.
>
I'm so glad you all know the "people" I was referring to.
Couple of times these "aliases" - resigned/unsubscribed on
Sudhanwa, Gaurav and/or other "admins" :
Why do we allow/tolerate "certain individuals" to post "rants" unrelated to
linux/OSS ?
I tried to ignore such emails for a long time, but then more "obscure"
emails started coming in (and more frequently)
I refuse to reply to such individuals because mos
> As per press release, Red Hat will independent in IBM. It will be
> business as usual.
>
Just like instagram was "independent" in FB ;)
-Mandar
___
plug-mail mailing list
plug-mail@plug.org.in
http://list.plug.org.in/listinfo/plug-mail
> The Evil Corp has got us! :(
> Many of us at RH are highly disappointed... Though for them it is business
> as usual!
>
> Fortunately RH people often have skills that are highly sought after in
> the market and there are other linux focussed outfits that are always
> looking to hire :)
>
Why wou
> Although the protocol seems to address an interesting problem, there's
> HTTP2.0 (SPDY) which is already implemented in Firefox (client) and
>
Just to clarify, SPDY and HTTP/2 are not the same.
https://en.wikipedia.org/wiki/HTTP/2#Genesis_in_and_later_differences_from_SPDY
-Mandar
> Conclusion =
> After switching to ISP's DNS, everything got resumed as expected.
>
While I have not done such extensive "study", I have reached the same
conclusion over the years.
I use GoogleDNS as a backup, but generally switching "back" to ISP's DNS
improves things a lot.
I would be interest
u are using, and possibly sample
code.
-Mandar
On Wed, Jan 31, 2018 at 6:19 AM, Yi Liu wrote:
> This is still not fixed as of 01/30/2018
>
> On Tuesday, January 22, 2013 at 1:38:29 AM UTC-8, Mandar Vaze wrote:
>>
>> Just to revive the discussion, if SQLTABLE is passed a he
> It will at max prove that student was in a place for few hours
We can always call it "Certificate of Participation" (Which is what you are
suggesting, I think)
Is there a "mini test" at the end of the workshop ?
If yes, they certificate can be given only to those who "pass" (assuming
the test i
Vayana is looking for a Sysadmin person (needless to say experienced in
Linux Sysadmin) You will eventually manage their AWS EC2 servers. So
familiarity with AWS EC2 is a bonus, but not required.
Find more about Vayana at : http://vayana.in/
I'm not associated with Vayana anymore. So for your que
Site is accessible.
On Wed, Jan 25, 2017 at 4:38 PM, Gaurav Pant wrote:
> On Wed, Jan 25, 2017 at 3:53 PM, Rohit Dalal
> wrote:
> > Hello
> > The mention link in mail is does not open
> > Please send the Registration link
> > Thanks and Regards
> > Rohit Dalal
>
> If you are talking about gnuni
Manjaro-Deepin seems interesting
I had used Deepin linux few years ago and was impressed by the UI/deepin
specific apps.
But at that time, one couldn't install the apps other than deepin-terminal
on other flavours of linux.
-Mandar
On Sun, Sep 18, 2016 at 7:47 PM, Anshul Chauhan
wrote:
> Yes Ga
I'm getting following error after the upgrade used
pip3 install --upgrade nikola
I'm on python3 and inside virtualenv
Traceback (most recent call last):
File "/Users/mandar/.virtualenvs/py3nikola/bin/nikola", line 7, in
from nikola.__main__ import main
ImportError: No module named 'niko
I am getting "*BangPypers roster authentication failed.*" error.
BTW, is there an option (like google groups) to "view emails on the web
only" so that membership remains intact and size of inbox also remains
"under control"
(No, I don't wanna unsubscribe)
-Mandar
On Thu, May 19, 2016 at 4:19
I am getting "*BangPypers roster authentication failed.*" error.
BTW, is there an option (like google groups) to "view emails on the web
only" so that membership remains intact and size of inbox also remains
"under control"
(No, I don't wanna unsubscribe)
-Mandar
On Thu, May 19, 2016 at 4:19
"Beautiful Code" in the pamphlet is not python3 compatible
*ducks*
-Mandar
On Tue, Jan 19, 2016 at 8:52 PM, Rishabh Singh <0601rish...@gmail.com>
wrote:
> Folks spread the word around your college campus, company and around your
> tech circle, use the pamphlet below. Print it, photostat it and
>
> But in case Company B wishes to present too, they
> will have to get prior permission from Company A along with the organizers
> of the meet-up.
>
Or Company B can just sponsor next meetup ;)
-Mandar
___
BangPypers mailing list
BangPypers@python.org
On Mon, Jul 20, 2015 at 11:54 AM, Sreekanth S Rameshaiah
wrote:
>
> On 20 July 2015 at 11:51, Mandar Vaze / मंदार वझे
> wrote:
>
>> How about "A company that sponsors a meetup, formally gets 10 minutes at
>> the end" ?
>> This alleviates the above conce
>
> This is not correct. Many companies have sponsored space and snacks without
> expecting any thing in return. If a company offers space to you to conduct
> meeting and competing companies go there to make 10 minute presentation of
> job offers, then companies will have a second thought to offer
On Thursday, June 25, 2015 at 1:47:13 PM UTC+5:30, Chaitu P wrote:
>
> I want to compile the files that were uploaded. But the files are getting
> uploaded with some random name. So how can I refer them.
>
Filenames under uploads folder are purposely mangled (what you call random
names) for sec
On Tue, Jun 23, 2015 at 1:23 PM, Devi wrote:
> On Mon, Jun 22, 2015 at 6:57 PM, anu sree wrote:
>
> > Thanks anuvrat and krace,
> >
> > How do we do validation of data in the POST and PUT API request, if we
> use
> > only native fask ?.
> >
> >
> You could use Cerberus[1], which is a simple vali
On Sun, Jun 21, 2015 at 12:57 PM, Mayuresh wrote:
> On Sun, Jun 21, 2015 at 12:29:27PM +0530, Pirate Praveen wrote:
> > If any of you have a new laptop released this year, please add them to
> > h-node.org It is a crowd sourced database, so the more people
> > contribute the more useful it become
> command = "openssl enc -aes-256-cbc -salt -in %s -out %s -k %s" %
> (input_file, output_file, key)
>
Will openssl command be available where you want to deploy this ? (on
production server)
What about path of openssl command on the production server ?
Have you considered using encrypti
If you use "with" context manager then you don't have to explicitly close
the file handle.
e.g.
with open("filetosave","w") as fh:
for article in Sc_paper.articles:
fh.write(article)
-Mandar
On Fri, Apr 24, 2015 at 2:18 PM, Prince Sharma wrote:
> No problem, however i forgot to
> सरकारचा FOSS ला साहजिकच विरोध होता
I don't indian govt. cares one way or another
BTW, The OS seems "out of date" (Last update was in Dec 2013)
-Mandar
___
plug-mail mailing list
plug-mail@plug.org.in
http://list.plug.org.in/listinfo/plug-mail
Awesome !!
I have been exclusively using linux for close to a decade, but the points
mentioned by Amarendra make complete sense.
I am a linux user because it is the "right tool" *for me*, not because MS
Windows is "bad/evil"
I am thinking of moving to OSX because it is *nix under the hood, and all
On Thursday, April 2, 2015 at 7:50:29 PM UTC+5:30, Paolo Valleri wrote:
>
> That is a bug because Grid selects the 'hidden' doc_blob field.
> Please open an issue on github
>
https://github.com/web2py/web2py/issues/896
-Mandar
--
Resources:
- http://web2py.com
- http://web2py.com/book (Docume
il 2, 2015 at 4:20:29 PM UTC+2, Paolo Valleri wrote:
>>
>> That is a bug because Grid selects the 'hidden' doc_blob field.
>> Please open an issue on github
>>
>
Yes, I will.
-Mandar
>
>> On Thursday, April 2, 2015 at 11:03:15 AM UTC+2, Mandar Vaze
Hi,
I have an application that uses uploads_in_blob feature as follows :
db._adapter.uploads_in_blob = True
This creates an additional column of BYTEA type at the DB Level (I am using
postgres, if it matters)
Here is a sample table (This is just to give you the idea, this is not the
exact
http://twoscoopspress.com/products/two-scoops-of-django-1-6 ?
seems to have good reviews
-Mandar
On Thu, Mar 12, 2015 at 6:44 PM, Aby James wrote:
> Hey BangPypers,
>
> We are going to colleges in Bangalore giving them exposure about free and
> high quality online resources to learn programmin
On Sat, Feb 28, 2015 at 4:33 AM, G Karunakar wrote:
> On Mon, Feb 23, 2015 at 11:29 PM, pavithran s wrote:
> > On 23 February 2015 at 12:04, Shakthi Kannan
> wrote:
> >> One cannot compare apples to oranges.
> >
> > I agree but Pune can be an important place for a Pan India event like
> > Foss
On Wed, Dec 31, 2014 at 7:49 PM, Nishit Dave
wrote:
> On one hand, we have people who don't even have the basic concept* of
> copyright (or even propriety), and on the other, an unholy nexus of greedy
> media companies and hand-in-glove or plain dumb regulators who will ride
> roughshod on citize
On Thu, Dec 25, 2014 at 7:41 PM, Dnyanraj Mali
wrote:
> Hello All,
>
> Is anyone using any 12" or smaller size laptop with Ubuntu or Fedora or
> CentOS? I want to purchase one and the purpose is as follows:
>
>- Base OS will be Ubuntu 14.04
>- I want to run virtualbox in it and will have
Can you share the entire "pip freeze" output ?
Especially Astoid and logilab-common versions/details ?
https://bitbucket.org/logilab/pylint says "Pylint requires the astroid (the
later the better; formerly known as logilab-astng) and logilab-common
(version >= 0.53) packages"
This may provide a
http://stackoverflow.com/questions/16279856/converting-blob-stored-on-a-database-to-an-image-on-an-html-website
On Tuesday, December 2, 2014 12:09:25 PM UTC+5:30, Prasad Muley wrote:
>
> Hi All,
>
>I need to display logo according to url in login page. I tried to
> display the logo but it
>From
>http://stackoverflow.com/questions/22580518/display-image-from-database-in-the-html-form-using-php
>
- you can try setting
img src="data:image/gif;base64,'
On Tuesday, December 2, 2014 12:09:25 PM UTC+5:30, Prasad Muley wrote:
>
> Hi All,
>
>I need to display logo according to
On Sat, Oct 25, 2014 at 1:06 PM, Arun Khan wrote:
> On Fri, Oct 24, 2014 at 8:47 PM, pavithran s wrote:
> > On 13 October 2014 11:32, jayant ogale wrote:
> >> i have tried many live distros. but in all distros i could not get
> wi-fi connectivity.
> >> in all distros, only wired broadband conne
Current code looks like this :
https://github.com/web2py/web2py/blob/master/gluon/sqlhtml.py#L2031
See if it helps
-Mandar
P.S. : I posted original query (2 yrs ago) but as mentioned earlier in the
thread - I ended up using session variable though.
--
Resources:
- http://web2py.com
- http://w
On Mon, Oct 13, 2014 at 3:02 PM, jayant ogale wrote:
> hi,
> i have tried many live distros. but in all distros i could not get wi-fi
> connectivity.
> in all distros, only wired broadband connectivity was possible.
> do you know any live distro with auto detectable wi-fi connectivity?
>
Almost
On Sat, Oct 18, 2014 at 11:45 PM, Niphlod wrote:
> that's why the whole thing goes away behind SSL. Expiring a session on
> logout is better than leaving it as it is, but even in that case *while
> userA is logged in *there's NO way to prevent a MITM from someone else.
>
That is why in another e
On Thu, Oct 16, 2014 at 2:29 AM, Anthony wrote:
Yes. Session file does not get deleted.
>> The side effect of session file remaining on the disk is that if the
>> "hijacked" session ID is used by the attacker - then "somehow" contents of
>> the session file on the disk are reused (even if sess
On Wed, Oct 15, 2014 at 1:06 AM, Anthony wrote:
> On Tuesday, October 14, 2014 2:18:05 PM UTC-4, Mandar Vaze wrote:
>>
>> (This is related to security issue - I've explained the security issue in
>> detail to Massimo and anthony separately)
>>
>> I want
date "other" session - and allow "this" login attempt to go thru)
*But I am not sure how this maps to web2py flow/hooks etc*.
So pointers w/ specifics above would help.
Thanks,
-Mandar
On Tue, Oct 14, 2014 at 11:31 PM, Mandar Vaze wrote:
> This is related to possible
machineB.
> There's a pretty outstanding issue in your design, though how do you
> recognize machineA from machineB ?
>
> On Tuesday, October 14, 2014 8:01:19 PM UTC+2, Mandar Vaze wrote:
>>
>> This is related to possible security issue. I've written "p
as tablet or phone). I'm currently logged into Google Groups from
> three different devices and would be quite annoyed if I had to keep logging
> in again when I move between devices.
> e
> Anthony
>
> On Tuesday, October 14, 2014 2:01:19 PM UTC-4, Mandar Vaze wrote:
>>
>
(This is related to security issue - I've explained the security issue in
detail to Massimo and anthony separately)
I want the session to be "invalid" as soon as after user logs out (as well
as after certain period of inactivity)
This is "supposed to be" default behaviour - but somehow doesn't w
This is related to possible security issue. I've written "privately" to
Massimo and Anthony (in another email on this list - they suggested that
security issues not be discussed "publicly" on this list)
Lets say UserA logs in successfully from MachineA
now without logging out from MachineA - Use
https://dl.dropboxusercontent.com/u/18065445/Tmp/saml2.pdf - Link found
here :
https://groups.google.com/forum/#!searchin/web2py/SAML2/web2py/8DgzUksCmSo/f-jlU5wV20UJ
On Tuesday, October 14, 2014 10:33:03 PM UTC+5:30, Mandar Vaze wrote:
>
> Does this help ?
>
> https://github.com/w
Does this help ?
https://github.com/web2py/web2py/blob/447493c754da06b9e455643f6ce2d180add60391/gluon/contrib/login_methods/saml2_auth.py
On Tuesday, October 14, 2014 12:53:43 PM UTC+5:30, Prasad Muley wrote:
>
> Hi All,
> I need to implement SSO using pysaml2 for a product. We've Okta as
>
s not present in rest of these
methods.
-Mandar
On Monday, October 13, 2014 9:23:23 PM UTC+5:30, Mandar Vaze wrote:
>
> This seems to be fixed ONLY for login
> But issue exists for all other redirections
> (Am using 2.9.5-stable+timestamp.2014.03.16.02.35.39)
>
> e.g. 127.0.0.1:80
This seems to be fixed ONLY for login
But issue exists for all other redirections
(Am using 2.9.5-stable+timestamp.2014.03.16.02.35.39)
e.g. 127.0.0.1:8000/user/profile?_next=http://www.google.com
Or
http://127.0.0.1:8000/user/logout?_next=http://www.google.com
Is there some setting/code that we
Cool
I learnt a lot from this thread.
I used to delete "everything" from both DB as well as
applications/myapp/databases folder
I think later contains *.table files. I didn't know that I can remove
individual *.table files.
Also did not know about fake_migration. Gotta try it sometime.
In pro
On Friday, July 18, 2014 10:42:47 PM UTC+5:30, Leonel Câmara wrote:
>
> Postgres is right NULL doesn't equal anything dude.
>
> db((db.user_profile.pets == 1)|(db.user_profile.pets == None)).count()
>
web2py user mailing list has NEVER failed me
Leonel - Thanks a LOT !!! (Yes, it worked.)
(I won
On Monday, July 14, 2014 6:58:51 PM UTC+5:30, Ramos wrote:
>
> Sublime Text
>
Does ST have web2py integration ?
as sasogeek wrote "help me find methods and variables easily. for example
autocomplete options to choose from after using a dot operator?"
Are there any plugins for that ?
I kno
I have some scripts that do not output anything - but I know they work
(Mostly DB initialization, populate initial DB etc.)
You can put some print statements in "voltrin_grabber.py" just for
debugging - see if you hit those print statements.
On Wednesday, July 16, 2014 7:07:21 PM UTC+5:30, Tom R
Background :
I'm using postgres (web2py 2.9.5 - but I don't think it matters)
I have an integer field - which is optional say "Number of pets" I have
NOT set any default value (I think for Postgres - this means default NULL)
When user does not select from the drop down
IS_EMPTY_OR(IS_IN_SET([1
:
>
> globals().get(' hide_my_div',False) should return a False, if this is
> not present.
>
>
> Kiran Subbaramanhttp://subbaraman.wordpress.com/about/
>
> On Tue, 01-07-2014 10:06 PM, Mandar Vaze wrote:
>
> Hi,
>
>
Hi,
I have several views which are similar, so I am using common view file
using "response.view =common_view.html" rather than separate one per
controller.
Out of these - 2 or 3 views are slightly different where certain parts of
the page (layout.html) need to be hidden.
I tried :
return dic
MongoDB has been marked experimental for quite some time - though.
On Wednesday, June 18, 2014 7:56:15 AM UTC+5:30, Anthony wrote:
>
> web2py supports MongoDB as well as the Google App Engine Datastore. There
> is also a CouchDB adapter, though not sure how functional it is.
>
> Anthony
>
> On Tu
On Wednesday, June 18, 2014 5:33:14 PM UTC+5:30, Mandar Vaze wrote:
>
> Bump !!
>
> Can someone respond ?
> I tried to deploy using Web2py Admin interface. clicked on "Deploy to
> Openshift"
>
> I checked that some additional commits were successfully done - bu
This is brilliant !!
Thanks a LOT Anthony
What I ended up doing is :
if request.args(0) == "edit":
db.child.parent.requires = IS_IN_DB(.)
In my actual setup - user does not create new record - so "new" is not an
issue *for me*.
-Mandar
On Thu, Jun 12, 2014 at 4:57 PM, Anthony wrote:
Anthony,
Let me say that you have been tremendous help.
On Wed, Jun 11, 2014 at 6:00 PM, Anthony wrote:
> Are you saying you want the user to enter a last name for the child and
> then have the drop-down dynamically updated with the list of parents with
> the entered last name? If so, obviously
me. But I need it to work with
"lambda" - where last_name is same as that of the child
-Mandar
> Anthony
>
>
> On Tuesday, June 10, 2014 12:51:20 PM UTC-4, Mandar Vaze wrote:
>>
>>
>> On Tue, Jun 10, 2014 at 7:53 PM, Anthony wrote:
>>
>>> The f
ent error mentioned above)
I think I'm missing something important
Thanks,
-Mandar
>
> Anthony
>
>
> On Tuesday, June 10, 2014 10:05:21 AM UTC-4, Mandar Vaze wrote:
>>
>> when using default 'list:reference mytable' all the entries from mytable
>> are sho
when using default 'list:reference mytable' all the entries from mytable
are shown in the dropdown (when using SQLFORM.grid)
I want to show the list in the drop down after applying some filters
Here is an example :
db.define_table('parent',
Field('fname', 'string'),
On Fri, Jun 6, 2014 at 5:51 PM, Anthony wrote:
> Virtual field shows up OK in the "table" view, but :
>>
>
>> 1. It does not appear at all when I click on "View" button
>>
>
> By default, virtual fields don't show up in readonly forms, but you can
> list them in the "fields" argument. To pass the
> BTW, the autocomplete widget included in web2py seems a pretty clear
> winner in this usecase, if you don't want to fiddle with select2.
>
I looked thru
http://web2py.com/books/default/chapter/29/11/jquery-and-ajax#Auto-completion
Is there a way to integrate this with SQLFORM.grid (I need auto-c
I'm on web2py 2.9.5, and using "new style" Virtual fields.
Virtual field shows up OK in the "table" view, but :
1. It does not appear at all when I click on "View" button
2. are not used for "default" search
Any workarounds ?
-Mandar
--
Resources:
- http://web2py.com
- http://web2py.com/book
My application has select/option dropdown - which contains lots of entries
(one has about 200 entries, other about 3000 - yes three thousand)
I was wondering if there is a way to use HTML5 datalist widget to make the
selection user friendly.
http://www.w3schools.com/tags/tryit.asp?filename=tryh
On Wednesday, November 21, 2012 12:38:36 AM UTC+5:30, SamD wrote:
> Would'nt it be more convenient to force whatever is passed to behave as a
> list (of strings) ?
Came across response from Massimo about this here :
https://groups.google.com/d/msg/web2py/Je-joYm3ob4/yrhE5r09vI4J
TL:DR : Yes
> Please suggest me a suitable framework.
>
Web2py
Also suggest me resources to learn & some projects to get involved.
>
http://web2py.com/init/default/documentation
http://web2py.com/book
-Mandar
___
BangPypers mailing list
BangPypers@python.org
http
A Million Thanks for Johann (for asking the question) and Massimo (for
providing the answer).
Following is useful even after more than 3 years !!!
Web2py rocks, and web2py community makes it even better :)
-Mandar
On Friday, October 14, 2011 6:56:07 PM UTC+5:30, Johann Spies wrote:
>
>
>
> On 1
On Fri, May 23, 2014 at 5:26 PM, Navin Kabra wrote:
> "Mandar Vaze / मंदार वझे" writes:
>
> > Code 1:
> > ...
> > return dict(fname=fname, lname=lname, saluation=salutation,
> > gender=gender, addr1=addr1, addr2=addr2,
> > city=ci
Derek,
May be I misrepresented my scenario - These aren't exactly preferences.
In both the applications - user sees SQLFORM.grid with large number of
records. User will use filter to reduce the count.
Depending on the user - user is likely to use same filters for quite some
time - across logins/
I have two applications using different versions of web2py
I'm using session variables to store some sort of user preferences.
First one uses version 2.3.2
Here - I set the session variables after user selects their preferences.
These values are available even after user logs out and logs back i
Currently I came across the code that returned 9 values (return statement
spanned 5 lines due to pep8 limitation of 79 characters per line)
The function returns various values that are used by the template to render
HTML
To give you an idea - consider following two code snippets :
(This is just a
> error, unless you want transfers to block the web2py process...
>
"Not possible" is acceptable answer (to me).
The explanation helps answer "why not"
Thanks !!
-Mandar
>
> On Thursday, May 22, 2014 10:46:00 AM UTC-7, Mandar Vaze wrote:
>
>> Sorry for
Sorry for the delayed response.
On Wed, May 14, 2014 at 12:14 PM, Niphlod wrote:
> let's ask another question then. Can you post a link generated by your app
> that "downloads" something ? just the part after the domain is enough.
>
This question definitely helped.
Turns out "download" is requ
> On Mon, May 19, 2014 at 11:43 PM, Anthony wrote:
>
>> Try:
>>
>> db._adapter.uploads_in_blob = True
>>
>> Then, when you do:
>>
>> db.define_table('mytable', Field('myfile', 'upload', uploadfield=True))
>>
>> you should get a blob field called db.mytable.myfile_blob with the
>> readable and writ
On Mon, May 19, 2014 at 11:43 PM, Anthony wrote:
> Try:
>
> db._adapter.uploads_in_blob = True
>
> Then, when you do:
>
> db.define_table('mytable', Field('myfile', 'upload', uploadfield=True))
>
> you should get a blob field called db.mytable.myfile_blob with the
> readable and writable attribut
Currently I am using "uploadfield" option of "Field"/table definition to
ensure that uploads are stored in DB and not on the filesystem.
While this works, this seems tedious because :
1. I have multiple tables with upload fields. If I forget defining
"uploadfield" even one of them (or if someon
with the debugger but if you're using only on
> download() function all your "inspection" MUST be done in that function ^_^
>
> On Tuesday, May 13, 2014 1:22:25 PM UTC+2, Mandar Vaze wrote:
>>
>> I want to audit the downloads - things like "which file was downloaded
On Tuesday, May 13, 2014 5:06:52 AM UTC+5:30, Michael Beller wrote:
>
> I haven't used 'list:reference' before, what are the advantages or use
> cases for your approach rather than add a reference field such as
> Field('daily', 'reference daily') on the post table?
>
Generic use case (I could
I want to audit the downloads - things like "which file was downloaded, by
whom and when" etc - and then allow the download to proceed.
I looked at auth.settings.download_url - which is pointing to
/app/default/download
So I put debugger (import ipdb;ipdb.set_trace()) in download() function in
On Thu, May 8, 2014 at 6:25 PM, Anthony wrote:
> And here's where it happens in the code:
> https://github.com/web2py/web2py/blob/master/gluon/dal.py#L2886
>
Thanks for pointing the relevant piece of code.
Definitely helps !!!
-Mandar
--
Resources:
- http://web2py.com
- http://web2py.com/book
of of concept for working with arrays, it's
> not stable nor tested. stick to postgres.
>
> the default adapter for postgres first checks the version of the backend
> and then updates the mappings to the proper type is json "native" support
> is available.
>
>
I looked at the gluon/dla.py - and it seems native_json is set to true only
for MongoDBAdapter (Default value in BaseAdapter is False)
Postgres supports native datatype JSON since 9.3 (9.2?)
But PostgresAdapter maps JSON DAL type to TEXT for PostgresAdapter
1. What am I missing (if anything) bec
On Tue, Apr 22, 2014 at 1:19 PM, Saurabh Jain wrote:
> Tata Photon Plus net connect is not detected on Ubuntu 14.04.
> I tried to reconnect the dongle in various ports but nothing appeared on
>
FWIW - I am using Tata Photon+ successfully w/ Ubuntu 14.04
In fact - I didn't have to do much (Answer
I have been seeing questions about web2py+mongo as old as 2009
I think Mongo support became official in 2.3.2 (may be earlier ?)
but the documentation still continues to say "experimental"
I will soon start a development for a product that requires MongoDB
Considering our existing product is alrea
select() query returns list of "Rows"
Each "Row" looks like a python dict
As far as I know the "keys" are database field names.
If you want to "print" the rows as is - you may need to write your custom
code to "covert" them to user-friendly titles.
DAL is meant to interact with databases
smartgr
Which DB are you using ? The generated SQL seems correct (For MySQL -
is_active is set to 'T' for True and 'F' for False)
Can you run the (modified, if needed) raw SQL query on the DB ? Just
examine various values under the f_test_is_a_clone column.
That will give you idea as to what should be
w I can pass it as an argument to DAL - but that is NOT default, that is
user supplied)
-Mandar
On Wednesday, March 26, 2014 10:32:27 PM UTC+5:30, Mandar Vaze wrote:
>
> I think this might be a false alarm on my part.
> In another project I used mysql - where ( I assume) self._adapt
In your original email you did mention smartgrid
It is not clear when you say "simple db select query"
Are you using select query on the commandline of the DB ? Or is it a DAL
query ?
If it is DAL query - headers are not returned/shouldn't matter
-Mandar
On Wednesday, March 26, 2014 7:57:11 PM
You should try
.. & (db.t_tests.f_test_is_a_clone == False)
that is how built-in is_active boolean works.
For additional debugging learning - try printing db._lastsql after your
query. It will show you "raw" query - It helps narrow down the problem
-Mandar
On Wednesday, March 26, 2014 5:38:4
1 - 100 of 382 matches
Mail list logo