Actually the download method is written in the default controller, unless
you have written your own function in template.
{{=IMG(_src=URL('default','download', auth_user.foto))}}
Anyway, could you provide the auth_user table definition?, did you add
extra fields?, Since auth_user.foto.file
This one sounds good to me, since we already have stupid.css
El sáb., 18 de may. de 2019 09:51, 黄祥
escribió:
> restQL sounds OK. Very generic, but it does what it says on the tin.
>> What about stupidQL? :) ok just kidding!
>>
>
> like the idea, it can read as :
> restQL = restkill
>
Have you tried
response.js = ""
Should help.
El jue., 14 de feb. de 2019 12:14, Ben Duncan escribió:
> Is it possible to fire off a java script in the controller .py file?
>
> i.e.:
> if in_form.process(session=None, formname='login').accepted:
> response.flash = 'form
You can add it right after table definition or BEFORE validation in
controller and it should work.
El dom., 14 de oct. de 2018 13:03, lucas escribió:
> I didn't think so, so I was making sure. I added it under onvalidation
> under the controller. and also added it to the Postgres database as
No, but you can use requires=IS_NOT_IN_DB(table, query), if you need to
make a self reference to the table you must write it after table definiton
or in controller before calling the validator, and can be applied to
multiple fields on the same table.
Hope it helps.
El dom., 14 de oct. de 2018
No es un problema nuevo,
https://groups.google.com/forum/m/#!topic/web2py/P-dU23VOO3o
La solucion propuesta de Mirek Zvolský.
1 hacer un respaldo y eliminar database/*.table
2 en db=DAL(...) agregar db=DAL(..., fake_migrate=True), ya sea db.py o
definir la variable en private/appconfig
3
a non-related issue), when using vue-router and refreshing page
it would break the app, since most of the times the route doesn't exist as
controllers in the server.
Marco.
On Tuesday, June 26, 2018 at 4:29:49 PM UTC-3, marco mansilla wrote:
>
> Thank you Anthony, this fixed the
.
On Tuesday, June 26, 2018 at 12:59:19 AM UTC-3, Anthony wrote:
>
> You could also use routes.py to remove the app name in development.
>
> Anthony
>
> On Monday, June 25, 2018 at 8:27:29 PM UTC-4, marco mansilla wrote:
>>
>> Thanks Dave, I'll try ASAP.
>>
>>
Thanks Dave, I'll try ASAP.
El lun., 25 de jun. de 2018 21:25, Dave S escribió:
>
>
> On Monday, June 25, 2018 at 4:51:31 PM UTC-7, marco mansilla wrote:
>>
>> Hi everyone, I have written this small simple test [0], which uses
>> vue-cli and inside web2py (yes, ano
Hi everyone, I have written this small simple test [0], which uses vue-cli
and inside web2py (yes, another test). It works pretty simple.
1- generate a devel project (name can be anything) the web2py app with
vue-cli
2- replace /views/layout.html with /deve/index.html
3- the boundle.js from
Sorry, totally forgot about this, and yes... my problem was the lack of
errors at all, so, using APIMaker, which is very convenient, changed insert
and update methods with validate_and_insert, validate_and_update
respectively. Now I can che the errors counter in the response.
On Tuesday,
I know this is the main communication channel for web2py users community,
but just in case anyone wants some interactivity I have created
https://t.me/web2py
Marco.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
they passed me a file.w2p and I reinstalled it
> in web2py because it generated an error "unabled to install application" .
>
> 2018-04-03 22:38 GMT-05:00 Marco Mansilla <thebigsho...@gmail.com>:
>
>> The file name should be myFile.w2p not w2py. It is just a tar.gz file.
&
The file name should be myFile.w2p not w2py. It is just a tar.gz file.
Marco
El mar., 3 de abr. de 2018 22:45, Alejandra Montiel Saavedra <
alemontiels...@gmail.com> escribió:
>
> I have a file of .w2py format, I uploaded it in web2py and generated an
> error "Unable to install application".
cribió:
> Good work. This helps me a lot.
>
> On Friday, 23 March 2018 14:07:26 UTC-5, marco mansilla wrote:
>>
>> Just in case anyone is interested I have uploaded a simple test app with
>> VueJS as modules in the browser.
>>
>> Did it to test and see how it wor
browser support issue with firefox.
>
>
>
> Em sexta-feira, 23 de março de 2018 16:07:26 UTC-3, marco mansilla
> escreveu:
>>
>> Just in case anyone is interested I have uploaded a simple test app with
>> VueJS as modules in the browser.
>>
>> Did i
Oh, and check browsers support, Firefox needs the extra step mentioned in
the readme file.
El sáb., 24 de mar. de 2018 12:37, Gualter Portella
escribió:
> Thank you for the initiative! I am looking forward to learning vue.js and
> using it together with web2py. One minor
Hace you checked the browsers developer console?
You have todo edit/create files inside yava/dev/src and run grunt uglify or
just grunt since the default task is watch and minify to static/vue.
Marco.
PS. Later this afternoon will upload a new branch with no grunt nor
minification.
El sáb., 24
In addition to improve learning and testing will create minified and
unminified branches
El sáb., 24 de mar. de 2018 02:17, Marco Mansilla <thebigsho...@gmail.com>
escribió:
> Yeah, you're right, but this structure is intended since I use a deploy
> script that would clean dev, erro
Yeah, you're right, but this structure is intended since I use a deploy
script that would clean dev, errors, sessions and other data
El vie., 23 de mar. de 2018 22:31, 黄祥
escribió:
> yeah, already checked that too, just a suggestion, perhaps better to leave
> the
You're welcome. Notice the main Vue instance is called only once inside
Index.html and components are imported inside the instance and not called
un the browser.
I hace a few custom init scripts and that's why ommited some steps, but it
should work fine as you did.
Regards.
Marco.
El vie., 23
Just in case anyone is interested I have uploaded a simple test app with
VueJS as modules in the browser.
Did it to test and see how it works, as a demo someone could find it
useful, more info in the readme file.
https://github.com/marcomansilla/yava
Opinions are always welcome and appreciated.
Roberto's work it's really nice and valuable, we still need to drop the
nodejs dependency somehow, and use js tools without worrying about node or
npm. Something like using js modules in the browser would be nice.
You can read about it in the following links.
I recently got this problem in Linux Debian, after upgrading web2py, fixed
with
$sudo pip install pydal -U
On Saturday, February 24, 2018 at 3:03:05 AM UTC-3, jim kaubisch wrote:
>
> Thanks for the reply, Dave.
>
> There have been a number of issues surrounding the last couple of versions
>
Take a look to this
https://groups.google.com/forum/m/#!topic/web2py/qgmh5C0XXkY
El 26 feb. 2018 03:36, "Martin Weissenboeck" <mweis...@gmail.com> escribió:
> Sorry, it does not work.
> The same results with or without "default"
>
> 2018-02-26 4:
This
download = URL("download", args=p.pdf)
Should be
download = URL("default", "download", args=p.pdf)
You can do that on the view. But the change on the controller should do.
El 25 feb. 2018 15:54, "Martin Weissenboeck" escribió:
What I want to do:
I store a pdf-file
Would you please send those references?, Never saw that kind of stuff in
web2py docs of in users questions.
El 14 feb. 2018 19:11, "Bryan Nahrwold" escribió:
I see references to Flash in some of the articles or book references for
Web2py. Does Web2py have a dependence or
.
I'll try to make a small guide and simple sample app to show how easy is to
make it work, actually Web2py, VueJS and Axios play along really well.
Sorry to bother everyone with this.
2018-02-18 22:36 GMT-03:00 Marco Mansilla <thebigsho...@gmail.com>:
> My bad, was a typho, still do
. 2018 8:41 AM, "Val K" <valq7...@gmail.com> escribió:
> it should be:
> var image = event.target.files[0]; //not just `event.target[0]`;
>
>
>
> On Sunday, February 18, 2018 at 12:09:46 AM UTC+3, marco mansilla wrote:
>>
>> Yes, got it. I hace somet
gt; formData.append('name', 'blah')
>
>
>
>
> On Monday, February 5, 2018 at 7:16:04 AM UTC+3, marco mansilla wrote:
>>
>> Hi everyone, this is something that has been asked several times and
>> still there's no specific solution.
>>
>> I need to upload
I'll try on apache and Nginx asap.
El 11 feb. 2018 01:46, "Marco Mansilla" <thebigsho...@gmail.com> escribió:
> Firefox, and same error pops on Chrome, I'm using the default development
> server included un web2py.
>
> For now I worked around this by storing images a
erver are you using?
>
> On Sunday, 4 February 2018 22:16:04 UTC-6, marco mansilla wrote:
>>
>> Hi everyone, this is something that has been asked several times and
>> still there's no specific solution.
>>
>> I need to upload files by using a Rest API, so far I kn
I'm looking for a similar solution, but the front-end is written in VueJs,
and Axios for POST and GET requests, since I couldn'd find a way to send
the actual file to the server I'm going with a solution close to your
second option, has some extra steps but it's clean and somehow more verbose
for
Hi everyone, this is something that has been asked several times and still
there's no specific solution.
I need to upload files by using a Rest API, so far I know we have nice ways
to implement our apps in web2py
http://www.web2pyslices.com/slice/show/1533/restful-api-with-web2py is one
way,
What's the responde of Chrome Dev tools or firebug?, Could you show usted
the API definition?.
As César says, we need some code to provide an accurate solution proposal
El 1 feb. 2018 16:04, "yogeshwar khalkar"
escribió:
> I have POST api in web2py I am accessing
Just found this, looks nice.
https://medium.com/@ericsimons/introducing-turbo-5x-faster-than-yarn-npm-and-runs-natively-in-browser-cc2c39715403
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
Please share the table definition in the model.
El dic. 2, 2017 16:27, "Enrique Acosta" escribió:
> Hello from Cuba,
>
> I followed the guide at http://www.web2pyslices.
> com/slice/show/1533/restful-api-with-web2py but whe i try to make a post
> in the webservice curl
Hi, I'm working on a new project that requires a restful api service and
found a problem.
Following the examples in the book and Bruno's example in web2py slices
could successfully write an API service, also tried the APIMaker example
from expert4solutions. In the second case didn't get
Hi, I'm a long time web2py user and most of us. Latety I've been deep
learning about useful js libraries and frameworks, I've worked a lot with
jQuery and it just works fine, then went to test ractive, reactjs and
angular, did some small stuff with the latest. But the issue most of the
times
El Mon, 9 Jan 2017 12:17:19 -0800 (PST)
LoveWeb2py escribió:
> Hello,
>
>
> I'm trying to do a simple query against a sqlite3 database where the
> values are stored as 0's and 1's
>
> All i want to do is select all values that are True or False
>
> According to the
What I did was add a 0 option to select, and the fire a js event with
modal, using $.web2py.component works with a small issue, the first time it
fires opens and closes a new tab.
I will try to share it tonight, maybe someone else could find it useful.
El 10 nov. 2016 4:26 AM, "黄祥"
El Wed, 9 Nov 2016 15:45:55 -0800 (PST)
黄祥 escribió:
> *pls try :*
> *controllers/default.py*
> def modal_auth_user():
> table = db.auth_user
> fields = None
> target_response = '(function($)
> {$("#modal_auth_user").modal("hide");}(jQuery));'
> form =
Would please provide minimal examples?... for some reason in controller:
return "jQuery(('.modal').modal('hide'))"
shows the line as text inside .modal-body.
Thanks in advance.
2016-11-09 13:15 GMT-03:00 Anthony :
> So, fixed it partially with web2py_component in the
Hi, since my previous email hasn't got any response, I'm still trying
to find a solution to my problem.
The problem is this, I have a form loaded via ajax into a modal, so
far, so good, it gets called for creating a new form as well as
edition, with SQLFORM in the respective controller, but when
Hi, it's been a long time and now I have this really odd issue, I have
a model like this:
models/db_01.py
db.define_table('dogs',
Field('name'),
Field('owner'),
Field('age'),
Field('adress'))
In my view generate a grid, which has a lot of dogs, and each one had a
modal to view
I'm used to:
$python web2py.py -S newapp
There are very few things I do outside the console, so this method feels
comfortable.
El 18 oct. 2016 6:34 PM, "pbreit" escribió:
> What's the best way to start a new project? I'd specifically like
> something as plain as
El Wed, 21 Oct 2015 11:38:56 -0700 (PDT)
Julieta Abdala escribió:
> How I can load Layout.html or plugin_jqmobile/layout.html according
> with the client?
>
> I need to do 2 applications? One for pc and other for mobile?
>
> Thanks
>
> El sábado, 17 de septiembre de
El Wed, 27 May 2015 14:37:43 +0200
Johann Spies johann.sp...@gmail.com escribió:
Most parts of the app work on our server running apache2.4 and wsgi
but on after a query which takes some time I get this in the apache
error log and 504 Gateway Timeout on my browser:
[Wed May 27
El Thu, 14 May 2015 09:58:14 +
Jason (spot) Brower encomp...@gmail.com escribió:
I am building a database that needs to be very secure for all those
just in case situations.
I want to restrict the database access based on roles that I setup.
Does web2py even have this functionality or is
El Thu, 2 Apr 2015 06:46:30 -0700 (PDT)
Annet anneve...@googlemail.com escribió:
I a table I defined the following field:
Field('expiryDate', type='date',
requires=IS_EMPTY_OR(IS_DATE(format='%d-%m-%Y'))
By default the expiryDate is set to request.now, since there's no
need to monthly
Hi, a long time ago I was looking for some feature that allow to add an
extra button next to dropdown list elements to options for list related
to other tables, something like django admin does [0], eventually I
found this recipe in web2pyslices widget-select-or-add-option[1] and a
new version[2],
El Tue, 17 Mar 2015 19:38:07 -0700 (PDT)
LoveWeb2py atayloru...@gmail.com escribió:
Check your file permissions. Are you using windows or linux?
On Tuesday, March 17, 2015 at 8:17:46 PM UTC-4, Tom Campbell wrote:
Attempting to do a Manage Pack All on a project but I get this
message:
Hello, I've been using a not so NEW version of web2py, maybe 2.8 or
something, that I've cloned from github a long time ago, so today came
to my mind to checkout what's new and found out that seems to be new
requirements in order to work, so it may be not that portable anymore.
When I did:
El Mon, 29 Dec 2014 05:53:37 -0800 (PST)
Yebach vid.og...@gmail.com escribió:
hello
I have a postgres dabatabase with utf8 encoding
after executing
workersDb = db(db.worker.w_organisation == org).select(db.worker.id,
db.worker.w_nick_name).as_list()
I get a list of dict where my
El Thu, 11 Dec 2014 18:37:01 -0800 (PST)
sergenikov sg.s...@gmail.com escribió:
Hello web2py community,
I recently hosted a website with hostgator shared hosting. The setup
was ok, somewhat tricky, but ok. However, I found out too late that
hostgator's shared hosting does not support ssh
El Wed, 8 Oct 2014 19:50:37 -0700 (PDT)
Anthony abasta...@gmail.com escribió:
1 for fake data (tax reporting to government)
Hmm, not sure I want to answer this one...
it would be propper to rephrase that... to maybe... backup data?, or
auxiliar information and definitely exclude the
I guess you could check if the browser is mobile or not, and based on
that apply a different css style to the site.
Still it would be easier go with Massimo's suggestion.
Marco.
Thanks, Massimo. I'll give that a try. Would it be possible to just
have a mobile site and redirect the user based
El Wed, 2 Jul 2014 11:46:18 -0700 (PDT)
Annet anneve...@googlemail.com escribió:
Bootstrap has the following option to render a field read only:
input class=form-control type=text placeholder=Readonly input
here… readonly
Is ther a way to add readonly to input?
Regards,
Annet
El Tue, 1 Jul 2014 02:15:17 -0700 (PDT)
kanchan s.kanchan2...@gmail.com escribió:
we have to develop a complete E-commerce software with payment
gateway also . In this software more than 500 users will use it ,
hit it simultaneously . So my query is that does web2py can handle
multiple user
El Sat, 14 Jun 2014 22:11:24 -0700 (PDT)
Sarbjit sarbjit1...@gmail.com escribió:
Is it possible to include wordpress plugins in web2py? I want to use
woocommerce (link http://demo2.woothemes.com/?name=superstore)
theme (look and feel for web2py app).
I saw that http://www.nammuhats.com/ is
El Thu, 5 Jun 2014 09:21:32 -0700 (PDT)
Tom Russell tsrdatat...@gmail.com escribió:
I want to use a few parts from a layout for web2py
here
http://www.web2py.com/layouts/static/plugin_layouts/layouts/CorporateOffice/index.html
Mainly I just want the div id=wrapper for my layout.html. I
El Sat, 31 May 2014 12:02:30 -0700 (PDT)
Neeraj Shukla neerajdshu...@gmail.com escribió:
After replacing bootstrap.min.css located in static/css/ folder of
application with another bootstrap.min.css changes are not getting
reflected in application.
take a look here:
El Wed, 21 May 2014 22:17:07 -0700 (PDT)
Maurice Waka mauricew...@gmail.com escribió:
I have this example code in python module:
def test():
.code
print('Message delivered')
test()
How do I import such a function to* print* in the html view the same
message as in the
El Wed, 21 May 2014 08:54:50 -0700 (PDT)
Cory coryb...@gmail.com escribió:
On Wednesday, May 21, 2014 6:35:31 AM UTC-7, marco mansilla wrote:
El Tue, 20 May 2014 15:27:29 -0700 (PDT)
Cory cory...@gmail.com javascript: escribió:
Hi,
I am trying to access the contents
El Tue, 20 May 2014 15:27:29 -0700 (PDT)
Cory coryb...@gmail.com escribió:
Hi,
I am trying to access the contents of a post request made to a url on
my website.
To test this I have been trying to send post requests to a url on my
website to see I if am able to get the data from the post.
El Wed, 21 May 2014 03:01:46 -0700 (PDT)
Maurice Waka mauricew...@gmail.com escribió:
When I iterate through the controller as this:
def return_post:
form = SQLFORM(db.post)
for c in form:
form1= post.body
form2 = form1.split()return dict(form2=form2)
I get
Is there any chance to download this videos to watch offline?, that
would be awesome.
Marco.
Please find below the links to the video of the first web2py
conference. Videos are not broken into talks.
There is no audio for the first 2minutes but no talk either, only
service announcements.
El Sat, 26 Apr 2014 13:51:18 -0700 (PDT)
Cynthia Butler cindybutl...@gmail.com escribió:
My machine: ubuntu 14.04 LTS, 64 bit
My web2py: 2.9.5-stable+timestamp.2014.03.16.02.35.39
I get this when running web2py.py:
WARNING:web2py:GUI not available because Tk library is not installed
El Tue, 15 Apr 2014 10:13:26 -0700 (PDT)
LoveWeb2py atayloru...@gmail.com escribió:
Hello,
I love the calendar that pops up in the 'datetime' field with a
time/date selector. However, when my customers use it their time is
always off. Is there a way to prepopulate the field with the current
El Mon, 14 Apr 2014 11:28:25 -0700 (PDT)
LoveWeb2py atayloru...@gmail.com escribió:
I've done this 100 times.
service httpd restart
and it works fine
I am running web2py with python 2.7 and using the wsgihandler.py with
apache.
I've checked the error logs and it says
[warn] Init:
El Tue, 25 Mar 2014 16:37:46 -0700 (PDT)
Tim Richardson t...@growthpath.com.au escribió:
try this
https://github.com/timrichardson/web2py_ckeditor4/releases/download/R-0.3/web2py.plugin.ckeditor.w2p
Hi, I'm having a really hard struggle with this, and so far I am really
sure that is not a
El Mon, 7 Apr 2014 05:17:31 -0300
Marco Mansilla thebigsho...@gmail.com escribió:
El Tue, 25 Mar 2014 16:37:46 -0700 (PDT)
Tim Richardson t...@growthpath.com.au escribió:
try this
https://github.com/timrichardson/web2py_ckeditor4/releases/download/R-0.3/web2py.plugin.ckeditor.w2p
Hi
El Sat, 29 Mar 2014 17:59:19 +
Frank urealfr...@gmail.com escribió:
Hi,
I’m too newbie to know if this is a typo or an error but,
here
http://web2py.com/books/default/chapter/29/03/overview#Configuring-the-layout
when Massimo writes “(…) In fact, the static/base.css stylesheet is
El Thu, 27 Mar 2014 04:01:56 -0700 (PDT)
Maurice Waka mauricew...@gmail.com escribió:
Does web2py function with python 3.3 or python 3.4? I have installed
web2py but it cannot run with the python3.4 that I use. I get an
error after trying to run the 'web2py.exe - S welcome' that says,
Hi, I've been looking for some alternative to *Captcha, and so far I
haven't found somethig original... until now, this[0] looks interesting,
and seems not to be hard to use.
Any ideas about if is possible to integrate it with SQLFORM?
[0] https://github.com/josscrowcroft/MotionCAPTCHA
Thanks
El Tue, 7 Jan 2014 14:55:17 -0500
Richard Vézina ml.richard.vez...@gmail.com escribió:
Ho! Forget about that, there is no web2py pip package and gluttony
required a pip package to work... So, not possible to make it works
for app I guess.
Richard
On Tue, Jan 7, 2014 at 2:31 PM, Richard
El Sun, 5 Jan 2014 12:22:00 -0800 (PST)
Alex Glaros alexgla...@gmail.com escribió:
Tried to drop a table and got an error perhaps due to reference to
other table but the error message misspelled Organization as
Orgnization but I can't find any reference to Orgnization. Doesn't
that mean I
El Mon, 23 Dec 2013 13:08:20 -0800 (PST)
Keith Planer kwplan...@gmail.com escribió:
I'm new to web2py, and Python. I created a database, and I want to
create a page where I can return records from a table of people,
using their first and last names as search terms. What I have so far
is:
El Mon, 2 Dec 2013 04:11:05 -0800 (PST)
lucas sjluk...@gmail.com escribió:
have you changed permissions to web2py folder?, in centos user and
group should be apache, unless you have a modified setup:
chown -R apache:apache web2py/
good thought but no, it didn't do the trick.
El Mon, 2 Dec 2013 04:46:51 -0800 (PST)
Ruud Schroen r...@formatics.nl escribió:
Hi,
I'm running web2py on my laptop with Ubuntu and i'd like to test my
websites in IE.
So i'd like to test my local web2py website my desktop, which is a
Windows machine.
How do i achieve this?
Thanks
El Mon, 2 Dec 2013 10:06:38 -0800 (PST)
lucas sjluk...@gmail.com escribió:
Have you read apache logs?, this line:
WSGIScriptAlias / /opt/web-apps/web2py/wsgihandler.py
Have in mind that wsgihandler.py is in web2py/handlers in latest
versions of web2py... you might, also,
El Sun, 1 Dec 2013 20:06:33 -0800 (PST)
lucas sjluk...@gmail.com escribió:
hey everyone,
i have been trying to update to web2py 2.8.2. i am running under
centos 6.3 and apache 2.2.15. i have done this sort of web2py
upgrade on this same system a dozen times or so and never had a
problem.
El Sun, 24 Nov 2013 13:21:22 -0800 (PST)
Gael Princivalle gaelprinciva...@gmail.com escribió:
Hi.
I've got a domain that is on Webfaction, with a web2py app.
I just want to have my app on the domain root.
Now I have:
https://www.mydomain.com/myapp/default/index
I would like to see my app
+1 that would be really cool
Massimo,
Having a web2py Courses area on web2py.com could be even better for
advertising!
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
Hi, I'm working in a dynamic invoice app and so far everything it's
almost done, but i need to know if it's possible to send rows from my
dynamically gerated table in view to db.
for example:
this is my basic table
db.define_table('db_products',
Field('barcode'), # I use a barcode reader
El Thu, 6 Jun 2013 16:07:41 -0700 (PDT)
Jose jjac...@gmail.com escribió:
Hello
I have the following
def boolean_widget(field, value):
return SELECT(
OPTION('Si', _value=True),
OPTION('No', _value=False),
_name=field.name,
_id='%s_%s'
El Wed, 5 Jun 2013 21:02:20 -0700 (PDT)
Massimo Di Pierro massimo.dipie...@gmail.com escribió:
http://goodui.org/
Nice tips, liked too.
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To unsubscribe from this group and stop receiving
El Mon, 27 May 2013 13:00:11 +1000
Alec Taylor alec.tayl...@gmail.com escribió:
Is it possible to login to web2py by ID rather than by email?
Thanks for all information,
Alec Taylor
if you mean something like username yes... and there are some ways to
hardcode the behaviour for this
El Tue, 14 May 2013 12:33:51 -0700 (PDT)
BlueShadow kevin.bet...@gmail.com escribió:
Hi,
I like to add comments for users to my app. Is there a plugin which
does all the work for me or do I have to develop it myself? It would
be awesome if moderators could edit or delete comments.
there is
i think it should be:
number_of_records = db(db.countries.id).select().count()
haven't tried it, but you must have all the rows selected to count.
Hi,
i have this line of code:
number_of_records = db().count(db.countries.id)
i am receiving an error:
class 'sqlite3.OperationalError'
El Wed, 13 Feb 2013 06:26:41 -0800 (PST)
waqasiqbal.kny...@gmail.com escribió:
i want to add asterik at the end of mandotry fields to show the user
that you must have to fill that field . But the problem is that there
is no html file for that and form is built on crude, how should i
add??
Really nice!, this is going to my current project, thanks for sharing.
http://jasny.github.com/bootstrap/
--
Apps are created in the /path/to/web2py/applications folder, and are
folders too, so you can delete them from that path.
Marco.
Hi,
I am new to web2py so probably I am doing something wrong. I used the
wizard and (I think it was the wizard that did it) it created a bunch
of applications -
can you show the controller?, maybe it a mistake in the default.py
contoller defining
def company_create():
return dict()
El Wed, 9 Jan 2013 14:53:01 +
António Ramos ramstei...@gmail.com escribió:
I got this error in Manage Contacts Appliance
invalid view
Well, to me it seems that DjangoCon has moved to PyCon... so, whatever,
we must have our Web2pyCon and stop trying to be heard by deft people...
PS: i still remember this and is awesome
http://www.youtube.com/watch?v=i6Fr65PFqfk
Hi folks --
I'm the program chair for PyCon 2013. I can see
Does anyone has any thoughts about Pylatte, so far it seems to be the
first Py3k supported web framework besides Pyramid
http://www.pylatte.org/
which is wreid to me is the fact that is considered the second in the
list and still lacks a lot of features, doesn't have an ORM or
equivalent...
--
This line here:
('ERROR','23502', 'null value in column aboutid violates not-null constraint')
it seems that you have set a validator to one of the hidden fields, and
since it doesn't seem to a have a default value either, then it's value
on submit is null and therefore rejected... could you
Inicio del mensaje redirigido:
Fecha: Tue, 13 Nov 2012 15:27:38 -0300
Desde: Marco Mansilla conta...@marcomansilla.com.ar
Para: web2py@googlegroups.com
Asunto: Re: [web2py] SQLFORM.smartgrid. This is a bug?
still you need to give to orderby the name of the field that you want
to order, even
aren't you missing the db. before table?
like
def something():
grilla = SQLFORM.smartgrid(db.table_1)
and then for the orderby statement should be:
def something():
grilla = SQLFORM.smartgrid(db.table_1, orderby=db.table_1.field)
that should work.
Hello
Suppose we have the
Hi everyone, i try not to ask here before googling my issues but so far
i haven't found solution for this one:
i have this in my model db.py
db.define_table('person',
Field('first_name'),
Field('last_name'),
Field('address'),
Field('phone'),
1 - 100 of 118 matches
Mail list logo