Here is what google wants for smtp settings:
[image: image.png]
For web2py you need to set
server = "smtp.gmail.com:465" # assuming you're using ssl
sender = "your_email_address"
login = "username:password" # where password is a gmail app password,
assuming you have 2FA enabled on your
It should be the same as auth.settings.hmac_key, probably set in db.py
auth.settings.hmac_key = (
"sha512:whatever-your-has-string-is" # before define_tables()
)
On Thu, Aug 18, 2022 at 7:44 AM lucas wrote:
> but how do you generate the hash string from the regular text string?
>
> On
If you look at your page source can you see what is being rendered for
[[=results]] in your script section?
Jim
On Thu, Dec 23, 2021, 6:38 PM Dave S wrote:
>
> On Tuesday, December 21, 2021 at 1:05:08 PM UTC-8 Jim S wrote:
>
>> I wish I could help, but I'm not javascript guru. That's why
Yes, I would suspect the image off that is the main thing that changed.
Jim
On Fri, Dec 17, 2021, 11:13 AM mostwanted wrote:
> This is happening on a live app, its live, hosted on pythonanywhere. I am
> starting to suspect something though, I recently received an email from
>
Is it possible your were no longer logged in or that you cleared your
browser cache before this happened?
Sense really weird. Have you tried with a fresh install of web2py?
Jim
On Fri, Dec 17, 2021, 5:56 AM mostwanted wrote:
> But that's just the thing, I wasn't trying pass any data, i just
What is wrong with using the example you provided?
-Jim
On Tue, Jan 26, 2021 at 10:45 PM Muhammad Atif Ayaz
wrote:
> Thank you Jim, it works.
>
> Do you think a way that can help dynamically making a list of all fields
> of a table and then we can remove specific fields from it.
> Like the
So, are you trying to pass a company name through a URL? Seems to me that
would be problematic.
If that is what you're doing maybe you need to look at urllib
unquote_plus. I use that in some cases to build valid URLs where the text
can be unpredictable.
Is there anything else you could pass
So, if you would do a for look around 'lists' and print out the field
values, what would that look like? Also, is there a difference if you also
print it out with the XML function wrapped around it?
On Wed, Jan 20, 2021 at 2:03 PM Omi Chiba wrote:
> here's the controller for enduser_index
I thought you were trying to get it working in this html tag:
View<
I don't see the 'list' variable in the controller...
Where is that coming from?
-Jim
On Wed, Jan 20, 2021 at 1:49 PM Omi Chiba wrote:
> I'm not sure how to check...
>
> This is my controller for view page
>
> def
I don't think it will help to change the controller side.
In the controller can you print out the values and also print out the
XML(value) and see what the difference is?
-Jim
On Wed, Jan 20, 2021 at 10:36 AM Omi Chiba wrote:
> I added XML. It doesn't show the error but cannot get the value
Can you test that?
Jim
On Sat, Nov 7, 2020, 10:30 PM mostwanted wrote:
> I dont think i wrote this *$(data('id') == id)* properly but data('id')
> is supposed to return the data-id attribute of the hidden span i'm trying
> to show
>
> On Saturday, November 7, 2020 at 10:32:53 PM UTC+2 Jim S
Can you remove the _onclick from that element and add that function call to
the end of your listener defined in document ready?
-Jim
On Wed, Nov 4, 2020 at 8:29 PM mostwanted wrote:
> _onclick="updatelivesearch(jQuery('#res%s').html())" % c.service_name
>
> This is a function that displays
Very happy that you found the solution.
Jim
On Mon, Oct 19, 2020, 1:04 AM T.R.Rajkumar wrote:
> Dear Jim S
> I found the error to be in the database in one of the tables. When I
> corrected the form worked nicely. It was all a programming error on my
> part. Thank you so much for your
the grid seems inconsistent to me.It took me time to
>>> figure this out - now that I know how this works, I simply have the
>>> try/except to solve it - this makes practical sense, as it solves the
>>> problem, but it makes no logical sense. Do you know what I mean? Anybody
&
I think that is a result of having a left join specified. With the left
join you now have to specify which table the field is in as well.
Or, am I missing something?
-Jim
On Wed, Oct 7, 2020 at 9:13 PM Eliezer (Vlad) Tseytkin <
westgate6...@gmail.com> wrote:
> Jim,
>
> Thank you for the
You still have migrate set to False in your appconfig.ini.
-Jim
On Wed, Aug 26, 2020 at 10:14 AM Andrea Fae' wrote:
> Thank you for your suggestions...Like this (see attaached files)?
> but, no way, no .tables created...I don't know why...
>
> Il giorno mercoledì 26 agosto 2020 14:46:05 UTC+2,
Thanks Andrew, but for my situation I need to use a dal query. I'm going to
give the previous suggestion a try in the morning.
Jim
On Thu, Aug 20, 2020, 9:56 PM AGRogers wrote:
> I have just resorted to pure SQL using db.executesql (I know that doesnt
> help you). Can't get much faster than
Thanks Jose, I never thought of that. I was trying to go straight
javascript not remembering that I have the opportunity to do more in the
controller when errors are returned.
I'll try it out tomorrow and report back.
-Jim
On Wed, Jul 8, 2020 at 5:41 PM Jose C wrote:
> Hi Jim,
>
> Just got
Then either you're not loved in our not running in a controller function
I'd guess
On Sat, Jun 13, 2020, 10:01 AM Константин Комков
wrote:
> Yes, I thought about it, but if auth.user_id is None for me in
> auth.user.id I got error: 'NoneType' object has
> no attribute 'id'.
>
> суббота, 13
Can you share the code for the user function in default.py?
How do you know that the session timed out?
Jim
On Wed, May 6, 2020, 5:58 PM Maurice Waka wrote:
> After clicking the login, that's when the error comes in.
> No I haven't set the timer. I left the same time length in default.
>
Yes, but I need that value on the next time through the method. Therefore
I have to save it to my session and grab it the next time in. Am I missing
something?
On Thu, Apr 30, 2020 at 12:19 PM Scott Hunter wrote:
> Since the value in question is part of the current submission, isn't the
>
I was hoping to avoid those tricks. I too have done this by storing values
in the session to be redisplayed. I was hoping that the keepopts argument
to SQLFORM would allow you to specify which fields to keep, but it seems
that is used for something else.
On Thu, Apr 30, 2020 at 11:48 AM Scott
Clemens
Thank you for this. I hope to get to reinstalling my servers this week and
will use this and the web2py document as a base. FWIW, my goal will be to
build an Ansible playbook for my install.
Thanks again and enjoy the rest of the weekend. It's a beautiful day here
in Wisconsin!
-Jim
That is your default.py, correct?
Which function are you trying to protect with authorization? I'm guessing
it's the index or show.
First off, I'd get rid of the user and download functions you added. They
are already in place as they should be (the ones at the bottom are what you
want).
If
Jon
What does your controller look like?
-Jim
On Wed, Apr 22, 2020 at 5:13 PM Jon Paris wrote:
> Yes - I can see that now - but that was in the original scaffolding.
>
> I moved stuff around and now have this at the start:
>
> from gluon.contrib.appconfig import AppConfig
> from gluon.tools
Jon
You're redefining db right above your define_table for 'image'. db is
already assigned/defined higher up in the db.py file. We don't want to
redefine it.
I've just been looking at the tutorial you're following and see that it
seems a bit out-dated.
-Jim
On Wed, Apr 22, 2020 at 4:39 PM
I'm guessing if at the top, they are getting called before db is defined.
Are you able to share your db.py?
-Jim
On Wed, Apr 22, 2020 at 4:09 PM Jon Paris wrote:
> Well there's not error message right now - but if I move these two lines:
>
> auth = Auth(db)
> auth.define_tables(username=True)
I'm happy you got it working.
-Jim
On Wed, Apr 22, 2020 at 1:39 PM L c wrote:
> oh i forgot i have hollowed your advice, updating pymysql
> thanks again
>
> Le mercredi 22 avril 2020 20:38:09 UTC+2, L c a écrit :
>>
>> for now it works i don't know why (i have insttalled mysql connector but
>>
Is the DB on a separate server from the web application?
Jim
On Tue, Apr 21, 2020, 5:59 PM L c wrote:
> New server
> same app
> same credentials
> thank you
>
>
> Le mardi 21 avril 2020 22:04:43 UTC+2, Jim S a écrit :
>>
>> Is this all running on the same machine?
>>
>> I'm assuming you
Jon
When you say 'getting started' section, can you share the url you are
looking at? I'm looking around the docs and such and don't see anything
called 'getting started'.
-Jim
On Tue, Apr 21, 2020 at 11:11 AM Jon Paris wrote:
> Mac Catalina.
>
> Yes Python 2 and 3.
>
> The binary from Nico
include in layout.html. Then I'd remove
the html, head and body tags from this html file and only add the necessary
script and style tags.
Make sense?
-Jim
On Thu, Apr 2, 2020 at 12:45 PM Jim Steil wrote:
> Same effects, yes, but what error messages are you seeing in the console?
>
Same effects, yes, but what error messages are you seeing in the console?
-Jim
On Thu, Apr 2, 2020 at 9:55 AM Lovedie JC wrote:
> I did that, without the layout.html but still getting the same effects.
> Regards
>
> On Thu, Apr 2, 2020, 17:42 Jim S wrote:
>
>> You are including layout.html at
What is your browser console showing for errors? Can you post the entire
.html file with no web2py requirements?
-Jim
On Thu, Apr 2, 2020 at 9:55 AM Lovedie JC wrote:
> I did that, without the layout.html but still getting the same effects.
> Regards
>
> On Thu, Apr 2, 2020, 17:42 Jim S
But have you looked at the browser JavaScript console to see what it is
telling you?
In Firefox press F12 and then click on the console tab. That will tell you
what JavaScript errors are occurring in the browser.
Jim
On Wed, Apr 1, 2020, 9:35 PM Maurice Waka wrote:
> On page reload it should
Is there a reason why you aren't just pip installing it?
python3 -m pip install --upgrade py4web
Jim
On Mon, Mar 2, 2020, 7:22 PM lyn2py wrote:
> Try me (install from source)
>>
>> git clone https://github.com/web2py/py4web.git
>> cd py4web
>> make assets
>> make test
>> make install
>>
Sounds like a great app to do in py4web.
1. You are already comfortable with javascript.
2. You're not using grid/smartgrid.
3. Are you using the web2py auth system with permissions? If only using
groups (roles) then this would be great to do with py4web.
4. Much faster and you
Yes, that did the trick!
Thanks Massimo
On Wed, Jan 22, 2020 at 12:21 AM Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> can you try this?
>
> form = Form()
> if not form.submitted: form.vars.update({field.name:field.default for
> field in form.table if field.default})
>
> Maybe I
Thanks Massimo. I was hoping to avoid having to pass something to the view
every time. I'm lazy, right? I'm assuming that this is the same if I used
response instead of session. In web2py you didn't have to pass response to
the view, it was automatically available.
-Jim
On Tue, Jan 21, 2020
I tried using URL() but then the login page didn't work. I think there was
an error starting Vue.
-Jim
On Tue, Jan 21, 2020 at 1:04 AM Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> Good question. Not sure there is a way that is best.
> You are free to use URL everywhere but often it
Thank you very much. I will look into this.
What I was hoping for was an auto-reload the way Flask does it. If you're
in a dev environment it auto-reloads for you, no extra work on my part.
But, I'll check this out, it should save me quite a few extra keystrokes
-Jim
On Mon, Jan 20, 2020 at
I should re-state my problem. With web2py I wasn't using session, but
response. I added a couple of attributes that always got added to the
response object. Not sure how to mimic that in py4web, or would I even
want to?
-Jim
On Fri, Jan 17, 2020 at 11:16 AM Jim S wrote:
> Hi
>
> I'm trying
That fixed it.
Thanks Massimo
On Thu, Dec 26, 2019 at 2:17 AM Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> Please try delete apps and then rerun "py4web-start apps". I suspect you
> have an older _dashboard.
> You may also try delete only apps/_dashboard and run "py4web-start -c
>
I'm still using redis for caching, but not for sessions.
Per the web2py book, I'm storing sessions in the database now. The
redis_session module is where the problem is.
Jim
On Wed, Nov 27, 2019, 10:31 PM Krishna Bavandlapally <
b.krishna2...@gmail.com> wrote:
> Thank you Jim S for your
I found my problem.
One of my sub-modules was silently failing to install. Fixed that and now
all importing fine.
On Fri, Nov 8, 2019 at 8:33 AM Jim S wrote:
> I'm having the same problem. Not with the google package but with my own.
>
> I'm trying to import:
>
> from qlf import util
>
>
I will confirm that it was redis 3 that broke this.
Jim
On Mon, Sep 9, 2019, 6:57 PM rastafarien
wrote:
> It seems that redis3 introduced a couple of nasty breaking changes.
>
> Yes it "used to" work with python2 as well, but more testing is welcomed !
>
> Stephane
>
>
> Le mardi 10 septembre
Is it backward compatible as well?
-Jim
On Mon, Sep 9, 2019 at 4:54 PM Joe Barnhart wrote:
> YES. This seems to work fine in my case. It permits me to save both
> sessions and cache data to redis using Python3. Maybe we can get it
> accepted and blessed for the next release.
>
> Joe
>
> On
I agree
I submitted a patch but it got rejected for some reason. I don't recall
why.
-Jim
On Mon, Sep 9, 2019 at 11:27 AM Joe Barnhart wrote:
> I sure wish somebody could fix this. It's a real bottleneck to Python3
> adoption for my site. I tried using local storage for sessions but the
>
I would remove that and retry it.
On Tue, Jul 16, 2019 at 8:16 AM Maurice Waka wrote:
> Nope. Web2py example
>
> On Tue, 16 Jul 2019, 14:38 Jim Steil wrote:
>
>> Did you take that server directive out of the nginx.conf file?
>>
>> Jim
>>
>>
>> O
Did you take that server directive out of the nginx.conf file?
Jim
On Tue, Jul 16, 2019, 3:01 AM Maurice Waka wrote:
> Used the link as you directed
>
> posted this:
> # file /etc/nginx/sites-available/web2py
> server {
> listen 80;
> server_name 165.22.57.107;
>
scripts folder I believe there is a script
to install web2py on ubuntu 16 and later using nginx and uwsgi that should
work.
-Jim
On Thu, Jul 11, 2019 at 10:46 AM Maurice Waka wrote:
> I do cd web2py, then python3 web2py.py
>
> On Thu, 11 Jul 2019, 18:41 Jim Steil wrote:
>
>&g
Ok, how are you starting your web2py server in this environment?
On Thu, Jul 11, 2019 at 10:37 AM Maurice Waka wrote:
> Unfortunately, they cant be opened with text editor
>
> On Thu, Jul 11, 2019 at 6:28 PM Jim Steil wrote:
>
>> Can't you open the files with a text ed
ders but can't show them.
>>
>> On Thu, 11 Jul 2019 at 17:27, Jim Steil wrote:
>>
>>> Can you show:
>>>
>>> /etc/nginx/sites-enabled/web2py
>>>
>>> and
>>>
>>> /etc/uwsgi/web2py.ini
>>>
>>> -Jim
>>>
Can you show:
/etc/nginx/sites-enabled/web2py
and
/etc/uwsgi/web2py.ini
-Jim
On Thu, Jul 11, 2019 at 9:21 AM Lovedie JC wrote:
> Web2py works well on the local machine. But when I follow the steps shown
> on the links, I get the error message.
>
> On Thu, 11 Jul 2019 at 17:1
Does it work on your local Ubuntu install?
-Jim
On Thu, Jul 11, 2019 at 9:08 AM Lovedie JC wrote:
> I'm using Ubuntu 18.04 web2py, python 3.6.
> I was trying to deploy to digital Ocean
>
> On Thu, 11 Jul 2019, 16:28 Jim Steil wrote:
>
>> On Windows? Linux? Digital Oce
On Windows? Linux? Digital Ocean?
On Thu, Jul 11, 2019 at 8:26 AM Maurice Waka wrote:
> The problem is with the welcome app. I haven't tried any other app.
>
>
> On Thu, 11 Jul 2019, 16:23 Jim Steil wrote:
>
>> Sorry then, I'm having trouble following what your problem i
Sorry then, I'm having trouble following what your problem is. The first
link you gave references a question on a windows machine having SSL
errors. The traceback here is on a linux machine and the link at the
bottom references installing on Digital Ocean.
Could you state the problem you're
I believe mine was because I had an older version installed. I should have
removed the old version first.
-Jim
On Tue, Jul 9, 2019 at 7:51 AM Carlos Costa wrote:
> I was able to install, start and create app without problems on Ubuntu 19.4
>
> Em ter, 9 de jul de 2019 às 09:43,
Works for me now. I deleted myapps and retried. Didn't work, got a
database error (unfortunately, I didn't copy it). Then python3 -m pip
install --upgrade web3py. Worked after that.
-Jim
On Mon, Jul 8, 2019 at 11:44 PM Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> please delete
Yes
On Mon, Jul 1, 2019 at 10:23 AM Áureo Dias Neto
wrote:
> You have routes.py only in web2py folder?
>
> Em seg, 1 de jul de 2019 12:07, Jim S escreveu:
>
>> My routes.py with multiple domains. I don't really see any difference.
>> Are you sure you're using the right domains? I also have
I think you need to check the web2py errors that are being generated. That
should tell you what is going on.
Jim
On Mon, Jun 17, 2019, 5:04 PM Cristina Sig wrote:
> I'm having the same datatables warning: ajax error so I guess it might be
> the referenced field that is causing the error
Yes, you can search through multiple columns. I just happened to write the
sample on a table with one column. The key is in building the DAL query
properly.
Jim
On Fri, Jun 14, 2019, 6:13 PM Cristina Sig wrote:
> @Jim
>
> I tried the app and it works!! but I have a question, is it possible to
Glad to help, this is the only way I know manage the routing, I'd forgotten
about the routes_in.
-Jim
On Fri, Jun 14, 2019 at 2:05 PM Eliezer (Vlad) Tseytkin <
westgate6...@gmail.com> wrote:
> Oops I didn't know that domains can be there!
> Thank you!!
>
> On Fri, Jun 14, 2019, 3:02 PM Jim S
I've attached the 'packed' file of the app.
The app:
-uses your table setup (I took the uppercase characters out of your table
names - I'm not preaching, but in my experience you don't want to do this)
-puts some test data into the degree table
-added a page to list the degrees using
Have you tried python3 with web2py and python-redis 2?
My problem was going to python-redis 3 using python2 and web2py.
Would it help to change that line to:
if 'unique_key' in self and rtn['unique_key'] == self.unique_key:
-Jim
On Sat, May 18, 2019 at 3:47 AM rastafarien
wrote:
> Hello
Massimo - thanks for that info. This won't help in my case as I'm using
the RESTful API to get access to another of my server-side python
packages. But, I can see the power of the DBAPI. I'm waiting for you to
stabilize web3py before I jump in. I'd love to get involved in more
testing but I
Val
I just created a test app based on the code in the book and all is working
as it should. Must be something else in my other app that is causing the
trouble.
I'll check it out later. Also looking into JWT...
On Mon, May 13, 2019 at 8:38 PM Jim Steil wrote:
> Val
>
> Thank
Val
Thanks so much for the references. However, I'm really a bit lost.
Using login_bare()?? Where does that come in to play? And then a custom
decorator?
Am I doing something wrong that is preventing the sample in the book from
working? Not sure why mine is just redirecting.
Any samples
Thanks Joe
Not what I wanted to hear, but the right answer. I'm just going to have to
keep redis back leveled for now.
Jim
On Sun, Mar 31, 2019, 10:40 PM Joe Barnhart wrote:
> Looking at the rest of globals.py I don't think this approach will work.
> For one, it affects storing sessions in
Just change it to
Field('sn', label=T('SN'), writable=False)
Doesn't that work?
Jim
On Sat, Mar 30, 2019, 2:31 PM João Matos wrote:
> This is my code
> form = SQLFORM.factory(
> Field('equipment_id',
> label=T('Equipment'),
>
Can you show some code? Mine is working fine without a db and specifying
writable=False.
-Jim
On Fri, Mar 29, 2019 at 4:02 PM João Matos wrote:
> It is readable and editable.
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> -
Is readable set to True?
-Jim
On Fri, Mar 29, 2019 at 3:32 PM João Matos wrote:
> Tried that, doesn't work.
> With writable=False the field isn't shown.
>
>
> sexta-feira, 29 de Março de 2019 às 20:12:45 UTC, Jim S escreveu:
>>
>> Set writable=False
>>
>> Field('end', 'date',
Leonel - what's the process to get this fixed in web2py? I don't think I
know enough about the redis library to offer a fix. I also found a couple
bugs in the ubuntu/nginx/uwsgi install script.
Would it make sense to make these install scripts version specific?
-Jim
On Fri, Dec 7, 2018 at
WooHoo! I think I finally figured it out.
Python redis package was at a different level on the other machine.
Python redis 2.10.6 works
Python redis 3.0.1 does not. Seems to only want strings passed to it.
On my new server I -> pip install redis==2.10.6and now it works.
By default it is
Thanks Ben
On Thu, Dec 6, 2018 at 3:42 PM Ben Duncan wrote:
> Controller Code:
>
> def company_login():
>
> form = SQLFORM.factory(
> Field('username', label = 'User Name', requires=IS_NOT_EMPTY()),
> Field('password', 'password', label =
>
Yes, it should be, but I believe when I ran it the first time I had
fake_migrate = True.
On Tue, Dec 4, 2018 at 4:51 PM Leonel Câmara wrote:
> Humm that should be a simple matter of running it with migrate=True.
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book
Rahul
Let's try this a different way.
Attached is a simple multi-tenant app with one table.
Does this do what you need?
1. Create a new project in web2py
2. Replace db.py in your models dir with this one
3. Replace default.py in your controllers dir with this one
4. Replace index.html in
Can you show the entire db.py, default py and index.html?
Jim
On Fri, Oct 26, 2018, 1:44 AM Rahul wrote:
> Nope - doesnt help. I commented out all the user functions defined in the
> controller and
>
>
> # User functions ---
> '''def login(): return dict(form=auth.login())
> def
Rahul
First, what I was referring to was common_filters, not common fields. Here
is the scenario as I see it.
In you auth_user table you have a workspace field. Then in other tables
that are workspace-specific you also have a workspace field to show which
workspace they relate to
Here is how
Anthony, as always, thanks for correcting me
Jim
On Sat, Jun 16, 2018, 9:35 AM Anthony wrote:
> On Friday, June 15, 2018 at 12:57:54 PM UTC-4, watr wrote:
>>
>> Here is my links code:
>>
>> links = [
>> dict(header='Balance', body=lambda row: row.po.amount -
>>
I would think you could manage that by conditioning response.flash messages
with auth.is_member tests.
Also, have you played around with the user method of default.py?
Jim
On Feb 15, 2018 3:14 AM, "icodk" wrote:
> It is getting muddy...
> What about the different messages
So, then maybe you just add users and they all get departmental access and
then have a button on the site where they can request admin access?
Then you can add them to an admin group that would give access to all
features.
Would that help?
Jim
On Feb 14, 2018 4:38 PM, "icodk"
Great news
Just noticed a message at the top of the nssm download page saying that if
you're using windows 10 Creators Update that you need to use the
pre-release build.
http://www.nssm.cc/download
I'm guessing that might have something to do with your problem.
-Jim
On Fri, Feb 9, 2018 at
Ok, that helps. Are you having a particular problem?
-Jim
On Fri, Feb 9, 2018 at 2:36 PM, Andrea Fae' wrote:
> https://www.youtube.com/watch?v=dHu8O1gZOl0
>
> there are 4 parts in youtube
>
> Il giorno venerdì 9 febbraio 2018 20:51:11 UTC+1, Jim S ha scritto:
>>
>> Could you
Could you provide a link to the tutorials that you're talking about?
-Jim
On Fri, Feb 9, 2018 at 1:47 PM, Andrea Fae' wrote:
> every
>
> Il giorno giovedì 8 febbraio 2018 21:44:13 UTC+1, Jim S ha scritto:
>>
>> Which tutorials?
>>
>> Are you running into a particular problem?
PyCharm Community is free.
-Jim
On Fri, Jan 26, 2018 at 12:57 PM, Andrea Fae' wrote:
> Thanks a lot, but I'd like free IDE, without cost.
>
>
> Il giorno venerdì 26 gennaio 2018 13:32:14 UTC+1, Jim S ha scritto:
>>
>> Great post Mirek!
>>
>> I can confirm that paid PyCharm
That is to be expected because you didn't clear the database. It is trying
to build the auth_user table, but it already exists.
-Jim
On Tue, Jan 23, 2018 at 11:43 AM, SR wrote:
> I deleted the auth tables from the /databases folder in my MYSQL and tried
> to rebuild
We use internal servers for all of our apps. Our web service is 8 cores on
VMWare with 16GB of ram. Our DB (MySQL) server is 4 cores with 16GB of
ram. We routinely query tables with one million + records and have great
response time.
-Jim
On Wed, Nov 29, 2017 at 10:27 AM, Áureo Dias Neto
Ok, still a little confused. You have 3 {{pass}} statements in the file
but only 2 conditional (for) statements. Is the other {{pass}} ending a
for or if started in the main template, layout.html?
Also, I'm seeing things confusing me further. For example, you have these
2 statements:
{{for
Thanks, I'll work through this and post my code once I get to the office
this morning.
-Jim
On Wed, Oct 4, 2017 at 4:25 AM, Dave S wrote:
>
>
> On Tuesday, October 3, 2017 at 5:08:27 PM UTC-7, Dave S wrote:
>>
>>
>>
>> On Tuesday, October 3, 2017 at 4:48:52 PM UTC-7, Jim
Thanks everyone. Time for me to call it a night. I'll give it a run
tomorrow morning.
-Jim
On Tue, Oct 3, 2017 at 9:46 PM, Limedrop wrote:
> What about something like this...
>
> import datetime
> now = datetime.datetime.now()
> the_future = now +
I don't think that will do it. The date stored in the database would be
10/15/1980, or 10/21/1993.
Those should both show a birthday in the month of August. But, I don't want
just a matching month. I want it for the next 30 days.
So, on December 15th I should see all birthdays between December
I don't know if it has anything to do with the problem, but am curious why
you have your checksession() function and don't use the web2py decorators
for ensuring a user is logged in.
http://web2py.com/books/default/chapter/29/09/access-control#Decorators
Is there a common use pattern in the 20+
g fine now i moved all the code to a fresh app
>
> On Fri, Jul 21, 2017 at 3:51 PM, Jim Steil <ato.st...@gmail.com> wrote:
>
>> I'm assuming you're talking about a primary key made up of multiple
>> fields. Is that correct.
>>
>> I've never done that, but I d
I'm assuming you're talking about a primary key made up of multiple
fields. Is that correct.
I've never done that, but I don't see how it would change anything other
than the 'left' setup.
-Jim
On Fri, Jul 21, 2017 at 5:54 AM, 'Matthew J Watts' via web2py-users <
web2py@googlegroups.com>
Yes, the goal is to only load the table definitions that you need.
http://web2py.com/books/default/chapter/29/04#markmin_conditional_models
we use a form of conditional models along with lazy tables ->
Our redis server only has 8GB of ram. We load balance primarily for
redundancy, not load. We only have about 100 users actively using our
system. It is an internal app for our business.
-Jim
On Thu, Jul 20, 2017 at 11:46 AM, Chinh Dang wrote:
> Our app starts small
Nothing happening. Got sidetracked and haven't looked at it for a couple
months.
-Jim
On Thu, Jul 20, 2017 at 7:12 AM, António Ramos wrote:
> Hello @Jim
> any news on your
>
> DAL and ibm_db_dbi withing an iseries?
>
>
> regards
>
> 2017-04-30 15:22 GMT+01:00 'DenesL'
Please, let's give Massimo and the team the time to do it right.
Massimo said 'maybe some code will be release at the end of April'. I
didn't view that as an announcement.
-Jim
On Sun, Apr 30, 2017 at 10:31 PM, Muhammad Hashim Malik <
has...@rehmansoft.com> wrote:
> Badly waiting for web3py.
Yes, I was able to get it to connect and the DAL created my tables, but not
it won't access them because it is looking for lower case table names and
evidently when the tables were created the names became upper case. Since
I'm working with this in a Litmis space I don't have full access to do
I would love to do some work on this if there was a mentor out there
willing to help me get started.
-Jim
On Fri, Apr 21, 2017 at 5:34 AM, António Ramos wrote:
> Maybe Massimo will read this and give us some hints on how to make DAL
> use the ibm_dbi
>
> Regards
>
>
>
1 - 100 of 541 matches
Mail list logo