I was developing the same feature for my website today, and this help me a
lot.
In my case I was using Dango Rest Framework, and I was using request.data
and parsing it to JSON, insted of using request.body.
But now it works, thank you about this conversation.
Em quarta-feira, 28 de fevereiro de
Hello,
This seems to work instead of what I was using previously:
"databases.py"
if not session.username and session.apikey:
redirect(URL('default', 'login'))
else:
dbaas = rs_auth.cloud_auth(session.username, session.apikey)
Now off to the other issue at hand.
--
Resources:
- http://
Hello,
I'm working on a personal project using Rackspace's "pyrax" bindings to
create a "Control Panel". I've made some progress however am confused on a
few things and could use some guidance.
1) Correctly storing authenticated user data.
e.g.
I have a module called "rs_auth.py" that takes
Hi,
My name is Patrick and I have been using web2py for a few months. I have a
few questions about user registration with email verification.
1) How do I create a custom verification email with my own template when a
user account is created?
2) How do I re-direct the user to a different page
visit:
http://127.0.0.1:8000/
use "kill -SIGTERM 8504" to shutdown the web2py server
I'm officially back to stuck and could use some pointers.
Thanks,
-p
On Saturday, August 9, 2014 4:33:58 PM UTC-10, Patrick Walters wrote:
>
> I have made much progress on this
eb2py[4552]: failed!
Have to run out but I'll be back online in a few hours and back at this...
if anyone has a suggestion still would love the help.
Thanks,
-p
On Saturday, August 9, 2014 1:12:41 PM UTC-10, Patrick Walters wrote:
>
> I'm setting up on a BeagleBone Black Rev C
Just wanted to let you know, I abandoned this install and started over...
I'm going to stick with the included rocket server since I have no need to
run anything elsewhere then on the BBB.
Just makes it easier to manage.
On Sunday, August 3, 2014 10:28:15 AM UTC-10, Patrick Walters
I'm setting up on a BeagleBone Black Rev C running Debian and following
along with the book where I can.
I should mentions I installed web2py using apt-get and my Debian is Wheezy.
I never use the desktop on my BBB, so I want everything to work without GUI.
I was able to run web2py from the CLI a
Anyone had success getting Web2Py running as the default site (port 80) on
a BB Rev C running debian?
I used the ubuntu install script from the Web2Py docs and seem to have a
conflict with the default website that comes pre-installed on the BBB Rev
C.
The script seems to have completed success
Wow, that was extraordinarily helpful! Thanks so much...
On Saturday, July 16, 2011 6:59:33 AM UTC-7, Vineet wrote:
>
> Hello List !
> I am trying to facelift my app by completely overriding the
> superfish.css.
> In most of the forms, the new-look menu is working superbly.
> But only in thos
attempts did not work right away and I also do not like the basic
idea behind it! I assume I could make them working but before I wanted to
ask if someone else maybe has a better suggestion?
Best regards
Patrick
--
ade-paths
>
> On Thursday, 1 November 2012 09:39:47 UTC-5, Patrick Büchler wrote:
>>
>> Dear All,
>>
>> I plan to use web2py for an internal wiki. I wanted to use SQL Server as
>> database, however, when I try to run my application I get:
>>
>> pyodbc.
i'm having a problem with just trying to get web2py to with mssql on the
latest version and the welcome comes with the wiki pluggin insdtalled as a
default. Is there a way to delete this? there seem to be no delete button.
127.0.0.1.2012-11-01.16-48-29.12584d3d-101f-4883-a762-2a9ed0f109d4
('4
IGN KEY constraint
> 'wiki_page_modified_by__constraint' on table 'wiki_page' may cause cycles$
What should I do? I could switch to my sql but maybe someone knows a quick
solution whic allows me to keep sql server?
Thanks for the efforts
Patrick
--
phlod wrote:
>
> What are you expecting from a "raw request" ? Doesn't request.env suffice ?
>
> On Wednesday, October 24, 2012 11:33:52 PM UTC+2, patrick moon wrote:
>>
>> is it possible to get a raw "request" from a browser in web2py? right
&
is it possible to get a raw "request" from a browser in web2py? right now
it looks like some of the request information is converted to
gluon.storage.Storage. I'm doing a parallel compare with django and am
trying to keep the code base comparison as close as possible. Thanks
--
This survey couid inspire someone
http://snarfed.org/workflow_software_survey
--
examples application. Has superfish been replaced with something new in
Web2py 2.0 , and if so, what is the new default _class for the MENU()
helper? I'm not well acquainted with css, so any info would be extremely
appreciated!
>> Thanks,
>> Patrick
>>
>> --
>>
>>
>>
>
> --
>
>
>
>
--
Thanks, Massimo. I studied the ticket a little more closely, and it looks
like it was a problem with the controller.
I had:
*friends = db(Link.target==me).select(orderby=alphabetical)*
But the "alphabetical" variable stores a query that references
db.auth_user, so I changed it to:
*friends = db
No dice. I think I'm going to take your original advice and build a
reference table, though. Thanks again for your help.
On Fri, Mar 30, 2012 at 9:13 PM, Derek wrote:
> I see what you mean. In that case, you don't want to reference the other
> table, since you don't have a many to many table.
>
I've been able to get everything working...jquery/json/
web2py..ect...however, I can't seem to connect to the webserver from
another computer. Everything is working locally right now.
Can someone point me to possible steps to take to figure this out?
Thanks
I'm able to connect to mssql using python and in test mode.
but I'm getting the 500 internal server errroris there a way to
figure out what the problem is?
log looks pretty messy. I'm was trying to get json back from mssql.
Was successful under mysql. json format does not seem to be
any
Brian:
You're the man...said the right thing. I didn't know pyodbc did not
ship with web2py.
Download and dropped it in the same folder as web2py (don't know if
this was mentioned in doc.)
Works like a beauty. Thanks all again.
On Aug 31, 7:36 pm, Brian M wrote:
> What version of python are yo
I tried to run from the source but this is what I get.
Module use of python25.dll conflicts with this version of Python.
Is there a way around this? Thanks
On Aug 31, 12:14 pm, Willoughby wrote:
> Also check to make sure it's loading the MSSQL database driver.
> You have to run from source, th
I'm using the doc suggested connection string:
db = DAL('mssql://shxxx:shaxxx@POPE:1433/xPAC')
and this is the error I'm getting:
Traceback (most recent call last):
File "gluon/restricted.py", line 192, in restricted
File "C:/_dev/temp/web2py/applications/welcome/models/db.py", line
18, in
view I use :
...
{{=form.custom.begin}}
..
{{=form.custom.widget['all_back']}}
{{=form.custom.submit}}
{{=form.custom.end}}
...
--
Patrick Installé (pinsta...@gmal.com)
in advance for your response.
--
Patrick Installé (pinsta...@gmal.com)
On May 7, 12:32 pm, waTR wrote:
> I was just wondering if there are plans to open the book wiki to
> editing to everyone (even if you don't create an account). There is no
> danger in doing that...there are plenty of people who will clean up
> any garbage...
You would be surprised. Many sites t
On May 6, 3:15 pm, Mathieu Clabaut wrote:
> Really nice !
>
> Thank you for publishing it... I'll try this soon...
> -Mathieu
>
>
>
> On Thu, May 6, 2010 at 20:19, Thadeus Burgess wrote:
> > The documentation will now live on the cheeseshop.
>
> >http://packages.python.org/web2py_utils/
>
> > Y
On May 6, 12:37 am, Anthony wrote:
> I am brand new to web application development, and I'm looking for a
> good web framework to learn in order to build a new web application
> (sort of a personal task/project management system). I want it to look
> (and act) like a serious, polished, state-of-
On May 5, 8:34 am, Richard wrote:
> I would like to send a registration confirmation with:
>
> Hi ,
> click to activate your account.
>
> is a HTML link - currently the confirmation emails are sent
> plain text so embedding links is not possible.
> and would use the auth_user field - currentl
On May 4, 1:07 pm, ScOut3R wrote:
> Hey There!
>
> My first web2py application started as a learning course and the
> application was designed for personal use but I thought that maybe the
> public would be interested in it. Is this the right place to
> "advertise" a web2py based app which might
On Apr 28, 8:02 pm, Thadeus Burgess wrote:
> I have decided to share some of the libraries that I have found useful
> when creating web2py apps.
>
> This contains lots of goodies, and some nice shortcuts.
>
> * Common shortcuts
> * Widgets
> * py2jquery module
> * Heirarchical ca
On Apr 23, 10:42 am, gluegl wrote:
> Does Web2Py support ao.social ?
>
> http://pypi.python.org/pypi/ao.social/1.0.1
> ao.social 1.0.1
> Social networking middleware for Facebook, Twitter, LinkedIn and
> Google (OpenID + Buzz)
> About the middleware
> ao.social is a social networking middleware
Bookmarked.
On Apr 22, 1:24 pm, Thadeus Burgess wrote:
> I just wrote a blog post on this!
>
> http://groups.google.com/group/web2py/browse_thread/thread/1a522db61b...
>
> --
> Thadeus
>
>
>
> On Thu, Apr 22, 2010 at 1:12 PM, Patrick wrote:
>
> > On Ap
On Apr 22, 10:18 am, Thadeus Burgess wrote:
> I wrote a blog post on fixutres and pre-loading your database with default
> data.
>
> http://thadeusb.com/weblog/archive/2010/4/21/using_fixtures_in_web2py/36
>
> I am looking for an implementation to load YAML files that consists of
> one file (it
On Apr 22, 12:18 pm, Jonathan Lundell wrote:
> On Apr 22, 2010, at 9:32 AM, Patrick wrote:
>
> > I'm sorry your solution *does* work, I misread it in the reply, the
> > formatting got off and I was treating it like a separate variable. So
> > it works! When you fir
On Apr 21, 4:32 pm, Patrick wrote:
> I have been learning web2py and decided to create a simple ticket
> system. Thus far I've been able to read the book/documentation or look
> at others code and been able to hack my way through most issues.
> However in my situation I need
On Apr 22, 11:03 am, mdipierro wrote:
> ticket_master = db.auth_user.insert(first_name=fname,
> last_name=lname,
> email=maile,
>
> password=db.auth_user.password.requires[0](passwd)[0]))
>
> unless you have a custom auth_user mod
On Apr 21, 10:09 pm, Jonathan Lundell wrote:
> On Apr 21, 2010, at 7:09 PM, mdipierro wrote:
>
> > NO. You cannot use
>
> > password=IS_CRYPT()(passwd)[0])
>
> > You must use
>
> > password=db.auth_user.password.requires[0](passwd)[0])
>
> > the reason is that IS_CRYPT() by default uses MD5 whil
On Apr 21, 10:41 pm, mdipierro wrote:
> It is crytical that the my_hmac_key in your example be the same as
> auth.settings.hmac_key
>
> On Apr 21, 10:09 pm, Jonathan Lundell wrote:
>
>
>
> > On Apr 21, 2010, at 7:09 PM, mdipierro wrote:
>
> > > NO. You cannot use
>
> > > password=IS_CRYPT()(pas
I have been learning web2py and decided to create a simple ticket
system. Thus far I've been able to read the book/documentation or look
at others code and been able to hack my way through most issues.
However in my situation I need to have a default user created for
default administrative purposes
42 matches
Mail list logo