Re: [web2py] Re: bye bye T, welcome pluralize

2019-04-27 Thread Elisha Bere
When can i get the new we3py? or its not out yet? On 27 Apr 2019 23:05, "Massimo Di Pierro" wrote: > The T that ships with web2py got to be too complicated. I can never > remember what T.M does or what T("??word?word0[number]") does. > I gave up on poring that. I think the new one is more

Re: [web2py] Re: Using Http.Client module in my controls

2019-02-27 Thread elisha bere
How do i fix that? Http.client is not my module. How do i implement so this code can work?? On 27 Feb 2019 14:35, "黄祥" wrote: > seems can't found the module applications/welcome/modules/http.py > > best regards, > stifan > > -- > Resources: > - http://web2py.com > - http://web2py.com/book

Re: [web2py] Re: Using Http.Client module in my controls

2019-02-27 Thread elisha bere
import http.client def send(): conn = http.client.HTTPConnection("api.msg91.com") msg = " This is the test message i want to send though later it will be changed" my_list = msg.split() final_text = "%20".join(my_list) conn = http.client.HTTPConnection("api.msg91.com")

Re: [web2py] Web2py Windows edition with 3.x Interpreter

2019-02-27 Thread elisha bere
Hie, Is it possible to change from 2.7 to 3.x in my web2py app On 17 Feb 2019 20:57, "Jitun John" wrote: > "It requires Python 2.6 (no more supported), Python 2.7 (stable) or > Python 3.5+ (*recommended for new projects*) already installed on your > system. > There are also *binary packages

[web2py] Using Http.Client module in my controls

2019-02-26 Thread elisha bere
Hello, I am trying to implement Http.client so i can send bulk sms using my web2py app. If i just import Http.Client i get an error. Please assist i have been trying for weeks now but still no luck. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Send form data as email

2018-11-27 Thread elisha bere
Hie, I would like to send form data as email how do i go about that in web2py -- 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

Re: [web2py] Re: ADDING MODULE TO CONTROL

2018-09-26 Thread elisha bere
i have done this and when i type python in my cmd it opens python shell On Wed, 26 Sep 2018 at 11:30, 黄祥 wrote: > the steps : > 1. download either one of this : > *python* > https://www.python.org/downloads/windows/ > *miniconda* > https://conda.io/miniconda.html > *anaconda* >

Re: [web2py] Re: ADDING MODULE TO CONTROL

2018-09-26 Thread elisha bere
the steps of installing python 3 are not that clear ... i use windows 7 can some give me step by step instructions on how to install python 3 On Wed, 26 Sep 2018 at 09:06, 黄祥 wrote: > Ok , so how can i change my web2py python version to 3.7 ? >> > > think you can install it via system (ubuntu

Re: [web2py] Re: ADDING MODULE TO CONTROL

2018-09-26 Thread elisha bere
Ok , so how can i change my web2py python version to 3.7 ? and also is it possible to install using pip when using web2py? On Tue, 25 Sep 2018 at 18:11, Nico de Groot wrote: > I should have added that the module depends on the Python version you are > using. Python 3.7 can use this module but

Re: [web2py] Re: ADDING MODULE TO CONTROL

2018-09-25 Thread elisha bere
I am getting the error below if i import http.client 1. 2. 3. 4. 5. 6. 7. 8. 9. Traceback (most recent call last): File "G:\my web2py project\gluon\restricted.py", line 219, in restricted exec(ccode, environment) File "G:/my web2py project/applications/smsonline/controllers/default.py"

Re: [web2py] CUSTOMIZING WEB2PY FORMS

2018-09-25 Thread elisha bere
i am not understanding it On Fri, 7 Sep 2018 at 20:07, Javier Pepe wrote: > In docs you have example. > > > http://web2py.com/books/default/chapter/29/07/forms-and-validators#Custom-forms > > El vie., 7 de sep. de 2018 a la(s) 07:02, elisha bere ( > elishabe...@gmail.co

Re: [web2py] Re: Customising my views

2018-09-25 Thread elisha bere
ok let me try that On Mon, 24 Sep 2018 at 18:44, Leonel Câmara wrote: > Don't use relative paths for inline styles. Use something like this > > > > That way web2py will put the absolute url to the file there and it will > work. > > -- > Resources: > - http://web2py.com > -

Re: [web2py] Re: ADDING MODULE TO CONTROL

2018-09-24 Thread elisha bere
Can you maybe show me a simple example of how i can import the http.client module in my cotrols On Sat, 22 Sep 2018 at 09:43, Dave S wrote: > > > On Thursday, September 20, 2018 at 6:49:23 AM UTC-7, Leonel Câmara wrote: >> >> The module I'm referring to is obviously the one you mentioned >>

Re: [web2py] Re: Customising my views

2018-09-24 Thread elisha bere
what if the css is embeded in my html folder like wrote: > An url in css is relative to the place where you have the stylesheet. > Assuming you have it in static/css then the correct url would be > url(../images/byo.jpg) > > -- > Resources: > - http://web2py.com > - http://web2py.com/book

Re: [web2py] Re: ADDING MODULE TO CONTROL

2018-09-20 Thread elisha bere
which module is in python 3 and i would also like to know if i can use python 3 in web2py On Thu, 20 Sep 2018 at 15:15, Leonel Câmara wrote: > Well you can simply use python 3 which does have that module. In python 2 > the module you want is httplib. > > -- > Resources: > - http://web2py.com >

[web2py] ADDING MODULE TO CONTROL

2018-09-20 Thread elisha bere
Goodday friends, How can i add the http.client python module in my application? please help -- 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

[web2py]

2018-09-20 Thread elisha bere
i would like to import http.client and i am getting the error below . 2. 3. 4. 5. 6. 7. 8. 9. Traceback (most recent call last): File "C:\Users\RAS\Desktop\my web2py project\gluon\restricted.py", line 219, in restricted exec(ccode, environment) File "C:/Users/RAS/Desktop/my web2py

[web2py] Customising my views

2018-09-20 Thread elisha bere
I am using web2py to create an online system but when it comes to the UI i am failing to load images that are used in stylesheets and thes images are located in static folder in the images folder. i used the image in a style hseet like this >>> -style="background-image:

Re: [web2py]

2018-09-13 Thread elisha bere
ok. thanks but is it safe ? On Thu, 13 Sep 2018 at 15:25, sandeep patel wrote: > You can use *request.vars *in your controller function you will get your > form input values under the Storage class. > > Best > > > > On Thu, Sep 13, 2018 at 6:41 PM elisha bere wrote:

[web2py]

2018-09-13 Thread elisha bere
Hie, i would like to know how i can create a form in html and then get the input as variables in my controls. NB: i already know how to create a form using SQLFORMS but i would like to know if i can make a form in html and get values that i would use in my logic -- Resources: -

[web2py] CUSTOMIZING WEB2PY FORMS

2018-09-07 Thread elisha bere
Hie guys, how do i customize the buttons on the forms if i add =form to my web page? -- 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

Re: [web2py] Re: SYTLING

2018-07-17 Thread elisha bere
you proceed. > > Anthony > > On Monday, July 16, 2018 at 10:50:01 AM UTC-4, elisha bere wrote: >> >> Hie friends, >> >> I have created my web 2py app and i would like to style the {{=form}} n >> my web how do i do that? and if i want to creat my own fo

[web2py] SYTLING

2018-07-16 Thread elisha bere
Hie friends, I have created my web 2py app and i would like to style the {{=form}} n my web how do i do that? and if i want to creat my own forms how do i pass input from the forms i made to my backend? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

Re: [web2py] Re: how do i import a module in my controller?

2018-06-18 Thread elisha bere
python 3 is already installed on my computer On 18 June 2018 at 13:08, Anthony wrote: > On Monday, June 18, 2018 at 6:56:30 AM UTC-4, elisha bere wrote: >> >> i am using python 2 i guess , i do not know how i can use python 3 >> > > http.client is Python 3 only (it

Re: [web2py] Re: how do i import a module in my controller?

2018-06-18 Thread elisha bere
i am using python 2 i guess , i do not know how i can use python 3 On 18 June 2018 at 12:52, Anthony wrote: > Are you using Python 2 or Python 3? What does your import statement look > like? > > Anthony > > On Monday, June 18, 2018 at 3:41:07 AM UTC-4, elisha bere wrote: >

[web2py] HOW DO I SET UP EMAIL RESET SETTIONGS IN MY MODELS ?

2018-06-18 Thread elisha bere
# create all tables needed by auth, maybe add a list of extra fields # - auth.settings.extra_fields['auth_user'] = [] auth.define_tables(username=False, signature=False) #

[web2py] how do i import a module in my controller?

2018-06-18 Thread elisha bere
i want to import http.client and it it giving me an error (ImportError("Cannot import module 'applications.fproject.modules.http'",), ) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

Re: [web2py] Re: Making my custom layouts

2018-06-18 Thread elisha bere
it determine the inclusion point, > where extending views are placed. > > On Tuesday, 5 June 2018 15:53:01 UTC+2, elisha bere wrote: >> >> how can i make my own layouts on web2py? >> please help >> > -- > Resources: > - http://web2py.com > - http://web2py.com

Re: [web2py] Re: ADD TO CART BUTTON

2018-06-06 Thread elisha bere
ok thank you sir ... i am still new to web2py On 5 June 2018 at 16:17, Anthony wrote: > db.define_table('products', >> Field('product_name'), >> Field('current_price', 'float'), >> Field('image', 'upload'), >> Field('description', type='text'), >>

[web2py] Making my custom layouts

2018-06-05 Thread elisha bere
how can i make my own layouts on web2py? please help -- 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

[web2py] ADD TO CART BUTTON

2018-06-05 Thread elisha bere
Hie , i am a new developer from Zimbabwe and the logic i used for my add to cart is giving me an error how can i handle this? MODEL CODE: db.define_table('products', Field('product_name'), Field('current_price', 'float'), Field('image', 'upload'), Field('description',