If you mean the view "*appadmin/select/db?query=your query"* actually the
table with the resulting rows is wrapped in a div with "overflow:auto".
Therefore if you have more columns than the width of the browser a
horizontal scrollbar will be shown and the table will scroll horizontally.
The hori
Sorry you're right it's auto not hidden that was a typo. But why not make
it visible?
On Sunday, April 13, 2014 5:37:53 AM UTC-4, Paolo Caruccio wrote:
>
> If you mean the view "*appadmin/select/db?query=your query"* actually the
> table with the resulting rows is wrapped in a div with "overflo
I have the following table:
db.define_table('cart',
Field('quantity','integer'),
Field('in_stock','integer',writable=False,represent=lambda
v, r: 'Pre-ordered' if v < 0 else '√'),
Field('price','float',writable=False,represent=lambda v, r:
'C'+loca
I am trying to plot a graph using NetworkX draw function but
using cStringIO.StringIO(). I have read
how to do it in web2py Application Development Cookbook.
Let's say I have something like:
import matplotlib.pyplot as plt
import networkx as nx
G = nx.path_graph(8)
nx.draw(G)
plt.show()
This c
Hello to all,
assuming I have in db.py these tables:
db.define_table('items',
Field('item', requires=IS_NOT_EMPTY()),
format='%(item)s'
)
db.define_table('types',
Field('type_name', requires=IS_NOT_EMPTY()),
format=
Apparently there was a fix discovered here.
https://www.mail-archive.com/web2py@googlegroups.com/msg129910.html
append the following line to /etc/apache2/apache2.conf
Header always append X-Frame-Options SAMEORIGIN
On Thursday, December 19, 2013 5:14:03 PM UTC-6, Richard Brown wrote:
>
> Yes, e
Hello again,
I apologize for potentially naive question as I am new to web2py. I am
trying to implement a custom search_widget on SQLFORM.smartgrid and ran
into an error.
My table is defined in db.py as such:
## We prepend f_ to fieldnames for disambiguity
db._common_fields.append(auth.signat
I am running a web application that connects to ROS and streams images and
data from rostopics. To send and receive ROS data in python with rospy,
you need to call the init_node() function (e.g. rospy.init_node('web2py',
anonymous=True, disable_signals=True) ). This function basically hangs an
>
>
>>
> If you want the items in field1 to be uinique then you cannot allow update
> to put a duplicate value in there.
>
> If you get that message, find the duplicate value in the database and do
> something about that.
>
> Regards
> Johann
>
>
As I mentioned, it's difficult to explain :)
I
I'm trying to migrate from another framework to web2py but can't make any
of the previous user accounts work : passwords don't match even tho I have
the correct salt and algorithm.
After much research, I think the issue is in the way web2py stores
passwords : 'alg$salt$pwd'
My salt uses the c
I have created a form that takes server ip, username and password. I use
pexpect to ssh into remote server, run a particular command and get basic
data related to that server. I am creating the form using controller and
also doing ssh in same controller and returning both form and processed
d
Hey Criss,
Great testimonial and I would love to use hostgator. However, I would also
like to use web2py. Currently, a complete tutorial does not exist to make
these two work together. It seems some people have been able to get this
to work, unfortunately, I am not one of them.
The django
Hello Everyone,
I am in the process of evaluating Web2py and Django frameworks for our
application. So far I like what I see with Web2py. I will need to build a
business case for one vs the other.
Few initial questions if you have some input:
1. is there any large enterprise sites/users
Great news! We are finally moving to Sphinx.
http://web2py.readthedocs.org/en/latest/
Kudos to Simone (niphlod) who single handedly ported all the docstrings and
made this possible.
Thank you Simone!
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github
Can you submit a patch to the scripts/setup-web2py-* scripts?
On Thursday, 10 April 2014 00:26:14 UTC-5, Michael Sounhein wrote:
>
> Apparently there was a fix discovered here.
> https://www.mail-archive.com/web2py@googlegroups.com/msg129910.html
>
> append the following line to /etc/apache2/apac
This will be deprecated as we are moving to Sphinx.
On Friday, 4 June 2010 03:53:18 UTC-5, dlin wrote:
>
> By the way,
> I found http://127.0.0.1:8000/examples/static/epydoc/index.html also
> have such document.
> But, I missed it. I should click on the left upper corner to choose
> validator
On 11 Apr 2014, at 6:38 AM, Louis Amon wrote:
> I'm trying to migrate from another framework to web2py but can't make any of
> the previous user accounts work : passwords don't match even tho I have the
> correct salt and algorithm.
>
> After much research, I think the issue is in the way web2p
The problem is not really that you use $ in salt. The probably is that
web2py and the framework you moved from must have different conventions for
storing the salt. We use 'alg$salt$pwd'. What do they use? What is the
framework? If we know we can convert it.
On Friday, 11 April 2014 08:38:38
Django has been around longer (at least 5 years longer) and therefore there
are more users. In terms of scalability they are very similar. They are
both solid. web2py is easier to start with and requires less coding than
Django. web2py includes much more stuff in the standard distribution while
Not sure but look into https://github.com/mdipierro/canvas
On Saturday, 12 April 2014 04:10:42 UTC-5, Luis Fontes wrote:
>
> I am trying to plot a graph using NetworkX draw function but
> using cStringIO.StringIO(). I have read
> how to do it in web2py Application Development Cookbook.
>
> Let's
With overflow:auto the scrollbars (vertical and horizontal) are visible
only when it is necessary.
Making scrollbars visible only when you need them is for aesthetic reasons.
Indeed not all the tables have a great number of columns.
Il giorno domenica 13 aprile 2014 13:32:41 UTC+2, User ha scri
Gooed evening,
When I call an app on my domain the index view is returned.
But having an SSL connection In Chrome I do get the following error (In
IE 11 I do not get an error)
Any clus what may cause this? I run from the latest source version of
web2py.
Thank you in advance
TICKET ID
213.10.
Much neater! Thank you.
On Sunday, April 13, 2014 11:43:26 AM UTC-4, Massimo Di Pierro wrote:
>
> Great news! We are finally moving to Sphinx.
>
> http://web2py.readthedocs.org/en/latest/
>
> Kudos to Simone (niphlod) who single handedly ported all the docstrings
> and made this possible.
>
> Tha
It seems like the 'cache' and 'cacheable' arguments to the .select()
statement do not work on GAE. This is even after setting
cache.ram=cache.memcache (following the code in the book and multiple
examples in this forum)
I tested on a GAE app, and explicitly setting memcache works, but the
sele
Your way will work, but you can do it easier by just using
sqlform.smartgrid - the tables will be automatically generated. It works
for the simple case where you want to give people the ability to add an
item, add a category, and also associate any item with any category.
On Friday, April 11, 2
Hello!
I have a web2py application with a sqlite database. The structure of my
db.py file is something like this:
db = DAL('sqlite://storage.sqlite', migrate=False)
...
db.define_table('table1',
Field('field1'),
Field('field2'))
db.executesql('CREATE INDEX IF NOT EXISTS table1_field1 ON table1 (
Wow, sorry for answering myself, but I managed to get it working. I've
tried to add c8b1837fhj47blahblahblah_ before newtable.table file and now
everything is working.
Could it be a problem add this to my table file?
On Sunday, April 13, 2014 11:49:17 PM UTC+2, Wonton wrote:
>
> Hello!
>
> I ha
I believe you have to provide the price field in your update as well.
--
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 yo
just a suggestion, please put the create index in the controller because
models is always execute everytime your application is execute, so
includeing create index too
e.g.
*controllers/install.py*
def index:
db.executesql('CREATE INDEX IF NOT EXISTS table1_field1 ON table1
(field1)')
best
On Saturday, April 12, 2014 11:10:42 AM UTC+2, Luis Fontes wrote:
>
> I am trying to plot a graph using NetworkX draw function but
> using cStringIO.StringIO(). I have read
> how to do it in web2py Application Development Cookbook.
>
> Let's say I have something like:
>
> import matplotlib.pyplo
What file am I supposed to add this to?
default, weby2py, default-sll?
On Thursday, November 14, 2013 6:48:05 PM UTC-5, DeanK wrote:
>
> For anyone in the future trying to do this with Apache2 on Ubuntu:
>
> ProxyHTMLInterp On
> LogLevel Debug
> ProxyHTMLLogVerbose On
> ProxyPass /link/ http://my
Thank you very much for your help Massimo.
The problem I have is not how to plot easily in matplotlib. My problem is
how to display
in my web2py view the NetworkX drawing made using nx.draw without saving
the png file in disk
but using some code like:
canvas=FigureCanvas(fig)
stream=cString
I am trying to setup (vanila) web2py on shared hosting with nginx and
passenger with support for python. I put all the files from web2py folder
in the folder expected by passenger, I created a file passenger_wsgi.py
required by passenger, which I simlinked to wsgihandler.py (taken from the
hand
Great job niphlod!
--
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
"web2py-user
Dear all.
I see the post; https://groups.google.com/forum/#!topic/web2py/IIYWWB0D7e4
I am think to do a reservation site, basically i need to input a date range :
fromfate
todate
My probem is how i can show a calendar with days in green colors for available
days and red colors for reservate
deleting memcache causes a separate issue
(https://code.google.com/p/web2py/issues/detail?id=1919) that you may be
seeing.
Basically, your browser now refers to a session that is not in memory
anymore. Web2py looks for the missing key in memdb and crashes. Try
clearing out your browser's sessi
To use fake_migrate, first you have to revert your model definition to the
old version (that matches the existing db), run the app. This will make
web2py update the table definition file. Now, you can change your models
and set fake_migrate to False, and migrate to True.
On Sunday, April 13, 20
Yes but with overflow:visible (the default css setting) there are no scroll
bars and if the table has enough columns than the browser will show a
horizontal scrollbar anyway as part of the browser window (as opposed to
with auto showing the scrollbars as part of the div). With "auto" It just
g
38 matches
Mail list logo