Yes I do. I am not that advanced to be able to handle more than one lol. I will
make that change.
Thank you,
Jeff Riley
> On Jul 11, 2016, at 7:48 AM, Marlysson Silva <marlyss...@gmail.com> wrote:
>
> You use just one model.py?
> if yes, change this line:
>
> IS_DATET
I have tried to get to the index page and I have gone to admin and then the
database tab so I can setup the authorized user. Both give me the same error
Thank you,
Jeff Riley
> On Jul 11, 2016, at 7:38 AM, Marlysson Silva <marlyss...@gmail.com> wrote:
>
> Might put on github ,
here is the new db.py, default.py, and index.html since that is the opening
page.
On Monday, July 11, 2016 at 7:31:04 AM UTC-5, Jeff Riley wrote:
>
> Let me attach the new code or are you able to see the git hub. If so I
> will push to that.
>
> Thank you,
> Jeff Riley
>
&g
Let me attach the new code or are you able to see the git hub. If so I will
push to that.
Thank you,
Jeff Riley
> On Jul 11, 2016, at 7:29 AM, Marlysson Silva <marlyss...@gmail.com> wrote:
>
> I think that I know where are missing pytz.. you put library in controller
&g
The plugin
Thank you,
Jeff Riley
> On Jul 11, 2016, at 7:25 AM, Marlysson Silva <marlyss...@gmail.com> wrote:
>
> Hm, in which file?
>
> You removed the pytz library or a plugin that already was in your code
> previously?
>
>
> 2016-07-11 9:19 GMT-03:00
>
> I'm creating this application to demonstrate this, if you want look..
>
> http://marlysson.pythonanywhere.com/timezone
>
> At app, the *Hour "your PC"* is datetime.now() simulating datetime of user,
> just that it's datetime of the pythonanywhere.
>
>
&g
Great thank you Marlysson. I will try this as soon as I can. Hopefully
tomorrow.
Thank you,
Jeff Riley
> On Jul 10, 2016, at 4:39 PM, Marlysson Silva <marlyss...@gmail.com> wrote:
>
> You try to make this:
>
> 1. Add library in the front-end to get user time
https://github.com/Sailor972/medicaltracker.git
Sent from Mail for Windows 10
From: Marlysson Silva
--
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
want timezone by any place, then I go prepare a article showing
> what I made to solved this.
>
> Em sexta-feira, 8 de julho de 2016 09:56:48 UTC-3, Jeff Riley escreveu:
>>
>> Just in case anyone is wondering why I would build such a strange little
>> web app, it is for my
PM UTC-5, Jeff Riley wrote:
>
> Hello all. Me again. I have run into an interesting issue. I have
> installed and followed niphlod's w2p_timezone_plugin. In order to make it
> work on my local PC I need to setup my db.py as follows.
>
> import pytz
> user_timezone = sessi
Here is the code as promised for the db.py and default.py.
On Thursday, July 7, 2016 at 2:19:10 PM UTC-5, Jeff Riley wrote:
>
> Hello all. Me again. I have run into an interesting issue. I have
> installed and followed niphlod's w2p_timezone_plugin. In order to make it
> work on
I have that in the default.py file. I will send the code when I get to my
computer.
Thank you,
Jeff Riley
> On Jul 7, 2016, at 5:10 PM, Marlysson Silva <marlyss...@gmail.com> wrote:
>
> Where you are inicialize session.plugin_timezone_tx ?
>
> I too already had this issue
Hello all. Me again. I have run into an interesting issue. I have
installed and followed niphlod's w2p_timezone_plugin. In order to make it
work on my local PC I need to setup my db.py as follows.
import pytz
user_timezone = session.plugin_timezone_tx or 'UTC'
db.define_table('events',
>
> http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#belongs
>
> Em quinta-feira, 7 de julho de 2016 06:24:08 UTC-3, Jeff Riley escreveu:
>>
>> Hello all. I am trying to get the line below from my db.py file to
>
Hello all. I am trying to get the line below from my db.py file to work.
Currently it is only working for the first entry "Mood". Any ideas?
db.events.event_level.show_if = ((db.events.event_type == "Mood") or
(db.events.event_type == "Headache") or
th.signature ?
>
> Em quinta-feira, 23 de junho de 2016 09:50:55 UTC-3, Jeff Riley escreveu:
>>
>> Good morning everyone. This is not really a Web2py question, but this
>> group has been so helpful during my little app development. I am using
>> Behave, Selenium a
; field, which stores record IDs from the db.manufacturers table, not
> manufacturer names. So, in the Behave specification, the value should be
> the integer record ID associated with the "Storm Producs Inc." manufacturer.
>
> Anthony
>
> On Thursday, June 23, 20
Good morning everyone. This is not really a Web2py question, but this
group has been so helpful during my little app development. I am using
Behave, Selenium and Splinter for my automated testing of my Web2py app. I
have run into a dropdown list situation where my db model (attached) is
Anthony. It was me being a complete idiot. I had not removed the HTML
form tags. I have attached the code that is working perfectly now. Thank
you so much for have the patience of a Saint.
On Wednesday, June 15, 2016 at 8:52:22 AM UTC-5, Jeff Riley wrote:
>
> All. I was going t
So I need to know who to get the record ID from the database to pass to the
update view. Using the form start and end calls is not working.
On Wednesday, June 15, 2016 at 8:52:22 AM UTC-5, Jeff Riley wrote:
>
> All. I was going to link this to my "Pure HTML Form" question just
Anthony thank you so very much. I will make these changes.
Thank you,
Jeff Riley
> On Jun 16, 2016, at 11:17 AM, Anthony <abasta...@gmail.com> wrote:
>
> For update forms, web2py includes the record ID as a hidden field and
> verifies that it matches the original recor
.
On Wednesday, June 15, 2016 at 8:52:22 AM UTC-5, Jeff Riley wrote:
>
> All. I was going to link this to my "Pure HTML Form" question just not
> sure how to do that. As you see in that question I was able to get past my
> copy paste issue and get the create form to work per
Sorry to be a pest but I really do need an answer for this one so I can finish
this update form page please.
--
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)
All. I was going to link this to my "Pure HTML Form" question just not
sure how to do that. As you see in that question I was able to get past my
copy paste issue and get the create form to work perfectly. Thank you all
for the extra eyes.
Now I am building the update form and I am getting
Oh lord folks. I had the same name for two fields. That was my only
problem. Thank you all very much.
On Monday, June 13, 2016 at 6:27:20 PM UTC-5, Jeff Riley wrote:
> Hello all. So sorry to bother you again. Since I have to overlay form
> fields on top of a canvas, I have to buil
Dave thank you. I will check this out and see. As far as errors I am just
getting the pop-up with no field showing issues. Which I am assuming is because
the Web2py Ajax does not handle html form elements.
Thank you,
Jeff Riley
> On Jun 13, 2016, at 6:47 PM, Dave S <snidely@gma
Hello all. So sorry to bother you again. Since I have to overlay form
fields on top of a canvas, I have to build pure HTML form elements (at
least that is all I can think to do). My problem is when I submit the form
I am getting errors in form even though I am filling out every field. I am
Hello all. I am trying to get Jquery to work on a dropdown. I have the
tax payer example from the book working just fine.
if(jQuery('#taxpayer_married').prop('checked'))
But when I try to get the text of my dropdown it is not seeing it. Do I
have something wrong in my syntax?
Hello all. Has anyone figured out how to save a Jquery Full Calendar event
to their Mysql database? I know I should use the Ajax function, but I am
not seeing how to get the information from the Full Calendar jquery event
dialog.
--
Resources:
- http://web2py.com
- http://web2py.com/book
sample sqlite file and SQLGRID code, happy to help.
>
> -Mark
>
>
> On Monday, June 6, 2016 at 12:42:16 PM UTC-7, Jeff Riley wrote:
>>
>> Sorry quick update. Rows is returning information, so I must have a
>> problem with my javascript. I still however
Sorry quick update. Rows is returning information, so I must have a
problem with my javascript. I still however cannot delete the record from
the SQLgrid view.
On Monday, June 6, 2016 at 2:38:03 PM UTC-5, Jeff Riley wrote:
>
> Now I am truly confused. I am able to submit the form and
-5, Jeff Riley wrote:
>
> Hello all. I have built many forms in Web2py, but I clearly need another
> set of eyes. This form only works if I display every signal field for some
> reason. I am at a loss as to what I have set wrong. I will add a file
> with all the relevant code.
se the error seemed simple and I couldnt figure it out =)
>
> -Mark
>
>
> On Sunday, June 5, 2016 at 12:34:16 PM UTC-7, Jeff Riley wrote:
>>
>> Hello all. I have built many forms in Web2py, but I clearly need another
>> set of eyes. This form only works if I display
Hello all. I have built many forms in Web2py, but I clearly need another
set of eyes. This form only works if I display every signal field for some
reason. I am at a loss as to what I have set wrong. I will add a file
with all the relevant code. Thank you all very much for you help with
All, Ok I think this would help my situation, but I am missing how to
execute the Ajax. I have four views that contain the same javascript and
would really like to move to the static js folder, but the javascript
requires elements passed to the views from the controllers. The "Drawtext"
Ah great Anthony. Thank you very much for all your help with this.
--
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
Using 2.14.5
On Wednesday, April 27, 2016 at 8:56:48 AM UTC-5, Anthony wrote:
>
> Are you running an older version of web2py on PythonAnywhere?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
Anthony,
Sorry for the delay in getting back to you. It says...
invalid view (default/index.html)
On Tuesday, April 26, 2016 at 1:45:32 PM UTC-5, Anthony wrote:
>
> What is the exact error message?
>
> On Tuesday, April 26, 2016 at 2:23:51 PM UTC-4, Jeff Riley wrote:
>>
/compiled/views.default.index.html.pyc file?
>
> Anthony
>
> On Tuesday, April 26, 2016 at 11:33:43 AM UTC-4, Jeff Riley wrote:
>>
>> Hello everyone. Has anyone run across an issue in PythonAnywhere where
>> after you compile your Web2py you are able to remove the controllers an
Hello everyone. Has anyone run across an issue in PythonAnywhere where
after you compile your Web2py you are able to remove the controllers and
models folders, but not the views folder. If I try to remove the views
folder it is telling me it cannot find index.html.
--
Resources:
-
That is great Anthony and everyone else. Thank you very much for the
fantastic help.
On Friday, April 8, 2016 at 2:44:38 PM UTC-5, Jeff Riley wrote:
>
> Hello all. I have the following if statement in my views to try to
> eliminate empty fields that are displaying "None"
All thank you very much for the really fast responses. It turns out I had
to use the "If customer.address2 is None:" statement. The "If
customer.address2:" would not work for me. Again thank you all very much.
On Friday, April 8, 2016 at 2:44:38 PM UTC-5, Jeff Riley wrot
Hello all. I have the following if statement in my views to try to
eliminate empty fields that are displaying "None" in my views. I am not
sure how to get the field value to evaluate the statement. Any help
appreciated.
{{if customer.address2 == "None":}}
Apt/Suite:
{{else:}}
asswd"'])
On Wednesday, April 6, 2016 at 4:49:46 PM UTC-5, Jeff Riley wrote:
>
> Trying to run some selenium tests but not able to get the server started
> from within my python script on windows. If I don't already have
> web2py.exe running, it just spins in the web browser
Trying to run some selenium tests but not able to get the server started
from within my python script on windows. If I don't already have
web2py.exe running, it just spins in the web browser. Any ideas?
Code:
def start_web2py_server():
#noreload ensures single process
print
Sorry everyone. After running more tests, the image is getting rotated for
some reason in the email. My process was to take a picture with my phone
and email it to my computer. Sorry for the false alarm.
On Monday, April 4, 2016 at 1:44:19 PM UTC-5, Jeff Riley wrote:
>
> Hello all.
Hello all. When displaying a database stored image it is rotated -90 degs
from the original. Any ideas how to rotate this back to normal? Here is
the relevant code.
Table:
db.define_table('ball_image',
Field('image_file', 'upload', uploadfield='picture_file'),
Hello all. I have the following function to display a smartgrid. My issue
is I am not able select a header to sort. It gives me a 404.
@auth.requires_login()
def manage_sheets():
if 'new' in request.args:
redirect(URL('new_sheet', args=[session.cust_id]))
elif 'edit' in
What have I done wrong with represent. it is still displaying none.
Field('bridge', 'string', length=5, represent=lambda v, r:
'' if v is None else v),
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
So sorry. I found it. I did not realize current_record was what I was
looking for.
On Friday, April 1, 2016 at 8:12:10 PM UTC-5, Jeff Riley wrote:
>
> All, So I have out smarted myself. I want to return all versions of a
> specific sheet from sheet_archive. Sheet_archive is a Web2
All, So I have out smarted myself. I want to return all versions of a
specific sheet from sheet_archive. Sheet_archive is a Web2py record
version table. I was expecting the archive table to have the sheet.id
column, but it appears it does not. So I am wondering how I would return
all
ient side and not in validator. There is no
> reason for the server to even know what the client representation of dates
> is.
>
> On Tuesday, 29 March 2016 12:44:54 UTC-5, Jeff Riley wrote:
>>
>> Mr. Pierro. I am embarrassed that was so easy.
>>
>> On Monday, Ma
Mr. Pierro. I am embarrassed that was so easy.
On Monday, March 28, 2016 at 11:09:32 PM UTC-5, Massimo Di Pierro wrote:
>
> look into views/web2py_ajax.html
>
> On Monday, 28 March 2016 16:09:39 UTC-5, Jeff Riley wrote:
>>
>> Hello everyone. I have the following fi
Hello everyone. I have the following field defined.
Field('due_date', 'date', requires = IS_DATE(format=T('%m-%d-%Y'))),
The date picker that comes up with this field is setting the date to
-MM-DD which is conflicting with the format I have defined above when I
his submit. How to I get
ession cookies is getting passed back and
> forth.
>
> On Monday, March 28, 2016 at 3:16:32 PM UTC-4, Jeff Riley wrote:
>>
>> Just an update. I have installed FireFox and it is not giving me the
>> same problems. It lets me stay logged in until I tell it to log me out.
Just an update. I have installed FireFox and it is not giving me the same
problems. It lets me stay logged in until I tell it to log me out. This
has to be some setting in both IE 11 and Chrome that I just cannot find.
On Monday, March 28, 2016 at 12:06:54 PM UTC-5, Jeff Riley wrote
Hello all. I have deployed on PythonAnywhere and everything is working
except anytime I leave the browser window to go to another tab or do
something else on the computer I have to log back in to my application. It
is doing this with every browser I have tried (IE 11, Chrome) except
Windows
Hello all,
I have defined the following TAG.button in a SQLFORM. These are working
great, but they are ugly. Is there an attribute to set within TAG.button
that will make the buttons use the same default Web2py style?
form=SQLFORM(db.sheet, this_sheet, buttons =
trouble
understanding how to grab the customer id and the sheet id.
Thank you,
Jeff Riley
--
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
Thank you all very much. This worked.
args=[request.args(2),request.args(5)]
On Friday, March 18, 2016 at 5:08:15 PM UTC-5, Jeff Riley wrote:
>
> Ah you are totally correct. The controller is default and manage_customers
> is the function. I am still getting used to these c
Sorry, edit is the function. This URL does not call view.
--
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
trouble
understanding how to grab the customer id and the sheet id.
Thank you,
Jeff Riley
--
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
trouble
understanding how to grab the customer id and the sheet id.
Thank you,
Jeff Riley
> On Mar 18, 2016, at 3:58 PM, Dave S <snidely@gmail.com> wrote:
>
>
>
>> On Friday, March 18, 2016 at 1:18:23 PM UTC-7, webm...@trytha.com wrote:
>> Maybe somethin
Ah you are totally correct. The controller is default and manage_customers is
the function. I am still getting used to these constructs.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
Hello All,
I am pulling my hair out. I am trying to redirect the view button on a
smartgrid. I can get the button to redirect to the view I want, but I
cannot parse the URL correctly to get the correct sheet id.
Here is my controller
@auth.requires_membership('manager')
def
Hello all,
I have the following SQLFORM.smartgrid defined.
form = SQLFORM.smartgrid(db.customer, linked_tables=['address', 'sheet',
'sheet_archive'],
searchable= dict(customer=True, address=False,
sheet=True),
create=True, paginate=20,
On Sunday, March 13, 2016 at 7:04:56 PM UTC-5, Jeff Riley wrote:
>
> Hello everyone,
>
> I am so close to having my project finished. I need to be able to
> override the URL in the SQLFORM.grid 'Add Record' button. I also have the
> added problem in that I have linked
Hello everyone,
I am so close to having my project finished. I need to be able to override
the URL in the SQLFORM.grid 'Add Record' button. I also have the added
problem in that I have linked tables in my grid and would like to override
their add buttons also. I have gone through almost all
68 matches
Mail list logo