> db.define_table('store_catalog',
>> Field('title'),
>> Field('slug',requires=IS_SLUG(),compute=lambda row:
>> IS_SLUG.urlify(row.titl\
>> e)),
>> Field('parent_id','reference store_catalog'))
>>
>> id1 = db.store_catalog.insert(title='main')
>> id2 = db.store_catalog.insert(title='
I need to place a button which opens an online PDF and so far I have this
in reg.py controller
def streamable():
data = urllib2.urlopen("http://www.pdf995.com/samples/pdf.pdf";)
return response.stream(data, 4096)
And this in the view
{{=A('open file', _class="btn btn-sm", _href=URL('reg
You need to set content-type to pdf.
response.headers['Content-Type'] = 'application/pdf'
before returning response.stream
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (R
Thank you so much!
On Thursday, July 27, 2017 at 3:03:17 PM UTC+2, Leonel Câmara wrote:
>
> You need to set content-type to pdf.
>
> response.headers['Content-Type'] = 'application/pdf'
>
> before returning response.stream
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documenta
Is there an simple way to parse this into an easier-to-work-with object. I
mean for example 'columns' could be a list.
{'columns[0][data]': 'first_name',
'columns[0][name]': '',
'columns[0][orderable]': 'true',
'columns[0][search][regex]': 'false',
'columns[0][search][value]': '',
'columns[
Hi Anthony,
For a novice in web programming like me is there a simple blog post or some
documentation available where I can read how to setup web2py to work with
the OrinetDB or neo4j databases?
I u'stand that DAL does not support these databases, but is it possible to
completely ignore the DA
I updated the web2py version to 2.15.2 from 2.14.x through web2py admin
interface update check button. After the update admin stopped working and
tickets created are also not opening. Error in admin/errors/file reads
below line,
S" name 'iteritems' is not defined"
p3
sS'layer'
p4
S'/home/www-da
>
> For a novice in web programming like me is there a simple blog post or
> some documentation available where I can read how to setup web2py to work
> with the OrinetDB or neo4j databases?
>
I'm not aware of any, but it should be the same as with any Python
program/framework -- just use the
Seems like you need to update the admin application itself.
--
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 su
Due to the coming changes in data protection laws in the EU it would be
interesting to know if and how we could store sensible user data (which is
everything that identifies a person) encrypted in the database.
Some institutions or associations will be forced to prove data protection
(f.e. addre
I started another conversation about GDPR
https://groups.google.com/forum/#!topic/web2py/aHUt8eZJok0
2017-07-27 17:58 GMT+01:00 Jörg Schneider :
> Due to the coming changes in data protection laws in the EU it would be
> interesting to know if and how we could store sensible user data (which
I don't see how this is even possible, how are you supposed to store this
data encrypted and still be able to search it?
Are we supposed to unencrypt the entire database table each time we want to
search the data that's there?
What about caching? Can you cache stuff unencrypted?
Th
hello i get this error without any doctest written
[image: Imagem inline 1]
--
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 bec
By contrast to anonymization, Article 4(5) of the GDPR defines
pseudonymization as “the processing of personal data in such a way that the
data can no longer be attributed to a specific data subject without the use
of additional information.” *By holding the de-identified data separately
from the “
Can I run 2 instances of web2py of the same application, with 1 instance
process the Business Logic (controller) while the other instance doing the
User Interface (View)? What I'm trying to achieve here is to separate the
API and UI by hosting them on separate server, to allow me to scale them
शुक्रवार, 28 जुलाई 2017 को 1:50:06 पूर्व UTC+10 को, Anthony ने लिखा:
>
> For a novice in web programming like me is there a simple blog post or
>> some documentation available where I can read how to setup web2py to work
>> with the OrinetDB or neo4j databases?
>>
>
> I'm not aware of any, but
16 matches
Mail list logo