[web2py] Re: GET queries other than ID

2017-04-30 Thread David Shavers

Hey, Anthony

here is the finished product of what i was working on. It's an android app 
that lets you rent out your property to strangers. The payments and 
database are handled by web2py.

https://play.google.com/store/apps/details?id=com.jbtus.daybyday=en=downloadatoz.com

Also, how do i do POST methods? I'm looking at the web2py slice now, but 
that's one of the only example i can find 

-- 
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-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Open Sourced dating website

2017-04-28 Thread David Shavers
Bump

-- 
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-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: GET queries other than ID

2017-04-24 Thread David Shavers
Sweet, thanks!

-- 
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-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: GET queries other than ID

2017-04-24 Thread David Shavers
Hey Anthony, 

Thanks for replying. So what you're saying is that the auto generated value for 
cost_per_night is trying to get me to put in two integers and that the 
resulting json will be a range withing those two? For example: the link you 
posted would give me all of the values between 25 and 30?

-- 
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-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Open Sourced dating website

2017-04-24 Thread David Shavers
I've been trying to keep spam accounts to a minimum, but I do agree that I 
should provide a test account for other developers to browse.

Username: alex101
Password: alex101 

-- 
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-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] IMPORTANT - WEB2PY CONSULTING

2017-04-24 Thread David Shavers
Hey Richard, 

I've been trying to keep spam accounts to a minimum, but I do agree that I 
should provide a test account for other developers to browse.

Username: alex101
Password: alex101 

-- 
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-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] IMPORTANT - WEB2PY CONSULTING

2017-04-24 Thread David Shavers
Hi, I have a dating website that uses a lot of web2py features. I know android 
and web2py and can help bring people up to speed if they need. 

www.jbtus.com 

Contact - www.facebook.com/shaversapps

-- 
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-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] GET queries other than ID

2017-04-24 Thread David Shavers
Bump

-- 
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-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] GET queries other than ID

2017-04-21 Thread David Shavers
Hi, 

How do I GET data by using the "cost-per-night" url? ID works fine, but that's 
the only thing that does. 


www.example.com/app/default/api/patterns gives me this: 

/room_owner[room_owner]
/room-owner/id/{room_owner.id}
/room-owner/id/{room_owner.id}/:field
/room-owner/cost-per-night/{room_owner.cost_per_night.ge}/{room_owner.cost_per_night.lt}
/room-owner/cost-per-night/{room_owner.cost_per_night.ge}/{room_owner.cost_per_night.lt}/:field


Desired result -
 www.example.com/app/default/api/room_owner
 
Desired result - 
www.example.com/app/default/api/room-owner/id/1.json 

NOT Desired - 
www.example.com/app/default/api/room-owner/cost-per-night/25.json 

How do I make the last query work?

-- 
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-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Open Sourced dating website

2017-04-21 Thread David Shavers
Haha thanks a lot Massimo, your acknowledgement makes me want to code better 

-- 
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-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Open Sourced dating website

2017-04-16 Thread David Shavers
Includes forum, feed similar to that of Facebook, user to user messaging, 
gender sorting, preference sorting, sexual orientation sorting, group chats, 
picture uploading, user profiles, etc

-- 
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-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Open Sourced dating website

2017-04-16 Thread David Shavers
Bump, 

Fully featured dating website. If you have any ideas of what you would like to 
see added let me know and I will try to do it and then open source it. 

-- 
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-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Open Sourced dating website

2017-02-27 Thread David Shavers
Glad you liked!

-- 
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-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Open Sourced dating website

2017-02-25 Thread David Shavers
Good Evening, 

I made a dating website when i was heavily into web2py. My original goal 
was to overthrow Plenty of Fish. Didn't happen lol. Currently I'm into 
android development and release new apps almost weekly. My dating website 
has over 300 users and it's still growing even though i don't advertise or 
put any effort into marketing. If you are interested/single/curious/looking 
for love/etc, it's http://www.jbtus.com 


About an hour ago, i open sourced it on github because i figured some other 
developer may be trying to overtake pof too and would need a jumpstart to 
help them get past all of the arbitraries. I'm also looking for employment! 
The website has many features such as: user to user messaging, a forum, a 
user feed similar to that of Facebook, bootstrap slideshow, jumbotrons, 
sorting based on gender/preference, stripe(payment) integration, featured 
users, user login page, and much more! This website is easily customizable 
and i did most of the hard work for you. Also, this app uses NO PLUGINS! 
Enjoy!


https://github.com/frontEndDevv/dating_website





PS.. if you encounter any issues that you aren't able to fix, please 
contact me so i can try my best to help!  And if you are into android 
development, let me know and we can collaborate or swap ideas or something

-- 
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-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: make your app name show first

2017-01-07 Thread David Shavers
I haven't tried that before today, but it still didn't work. I appreciate the 
suggestion though. Do you have any more?

-- 
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-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: make your app name show first

2017-01-03 Thread David Shavers
I hadn't tried that previously, but after you recommended it. Tried it and 
it was still the same result. 

Also, my app is named JBTUS and that's the name that i used in routes.py as 
well. Should it be lower case?

On Tuesday, January 3, 2017 at 5:50:32 PM UTC-6, 黄祥 wrote:
>
> had you already hit "reload routes" button in web2py admin app?
>
> best regards,
> stifan
>

-- 
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-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: make your app name show first

2017-01-03 Thread David Shavers
I posted this:

routers = dict( 
BASE = dict( 
default_application='MyApp', 
) 
) 

 into routes.py that i created in Applications/web2py/. I changed MyApp to 
the name of my app and i also am hosted on python anywhere. i saved the 
file and reloaded my domain bye pressing the green button that's located on 
the web tab. Init was still the first app the popped up. Should i delete 
routes.example.py?

What am i doing wrong? 


On Monday, January 2, 2017 at 1:48:12 AM UTC-6, David Shavers wrote:
>
> Hi, I have an app and I had to name it 'init' because the 'welcome' app 
> kept coming up first. How can I make it so that a different app (e.g. 
> 'jbtus') comes before 'init?'

-- 
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-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: make your app name show first

2017-01-03 Thread David Shavers
Thanks! That was exaclty what i was looking for! but what if i have 
multiple web2py websites? For instance, one app will be on jbtus.com and 
Another app will have a domain of jbtus2.com


Should i just copy the whole web2py program and make two different 
routes.py? 

On Tuesday, January 3, 2017 at 1:51:04 AM UTC-6, Dave S wrote:
>
>
>
> On Monday, January 2, 2017 at 1:03:42 PM UTC-8, David Shavers wrote:
>>
>> I've read both links that you guys have sent and now I know what code I 
>> need to put into the routes.py file, but It's still not clear to me where I 
>> should place it. By "in the /web2py folder," do you mean in the folder that 
>> contains the downloaded web2py application?
>>
>>
>> For instance, on mac.. mac/user/downloads/web2py/routes.py?
>>
>>
> Quick answer:  yes
>
> Better answer:  it goes in the directory where web2py.py lives; this is 
> also the parent directory to the applications directory.  If you happen to 
> have installed web2py under the ~/downloads directory, then that is where 
> it goes.  Web2py does not need its directory to be in ~/downloads, but it's 
> okay to have it there (for a development environment; production 
> environments may require a different organizing scheme).
>
> /dps
>
>  
>
>> On Mon, Jan 2, 2017 at 1:44 PM, Anthony <abas...@gmail.com> wrote:
>>
>>> Use routes.py and specify your app as the default app (you can also 
>>> remove the welcome app if you don't want it to be shown). The routes.py 
>>> file goes in the /web2py folder, and there is no need to name your app 
>>> "init" in this case. See 
>>> http://web2py.com/books/default/chapter/29/04/the-core#Parameter-based-system
>>> .
>>>
>>> Anthony
>>>
>>>
>>> On Monday, January 2, 2017 at 2:48:12 AM UTC-5, David Shavers wrote:
>>>>
>>>> Hi, I have an app and I had to name it 'init' because the 'welcome' app 
>>>> kept coming up first. How can I make it so that a different app (e.g. 
>>>> 'jbtus') comes before 'init?'
>>>
>>> -- 
>>> 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 a topic in the 
>>> Google Groups "web2py-users" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/web2py/gyyLcQzs24g/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> web2py+un...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
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-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] make your app name show first

2017-01-01 Thread David Shavers
Hi, I have an app and I had to name it 'init' because the 'welcome' app kept 
coming up first. How can I make it so that a different app (e.g. 'jbtus') comes 
before 'init?'

-- 
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-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.