Title: [1893] trunk/turbogears/command/base.py: merge 1892 from 1.0
Revision 1893
Author elvelind
Date 2006-09-17 17:05:16 -0500 (Sun, 17 Sep 2006)
Log Message
merge 1892 from 1.0
Modified Paths
trunk/turbogears/command/base.py
Diff
Modified: trunk/turbogears/command/base.py (1892
Title: [1894] branches/1.0/turbogears/qstemplates/qsbase/+package+/static/css: fix #1113
Revision 1894
Author elvelind
Date 2006-09-17 17:43:12 -0500 (Sun, 17 Sep 2006)
Log Message
fix #1113
Modified Paths
branches/1.0/turbogears/qstemplates/qsbase/+package+/static/css/style.css
#1079: Toolbox doesn't work with quickstarted SQLAlchemy+identity-project
-+--
Reporter: joshua |Owner: elvelind
Type: defect | Status: closed
Priority: normal |Milestone: 1.1
Sad the image resolution is so low, but great stuff!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this
I received the following answer of Eric Viara, EyeDB.org:
We planned to introduce soon a plugin mechanism to facilitate the way
to write language bindings such as PHP5, Python, PERL and so on. But we
do not know yet if the Python binding will be written by the core
staff.
We do not plan to
Jorge Godoy wrote:
Rezand [EMAIL PROTECTED] writes:
Yet, it appears to have installed python to /usr/bin and /usr/lib. As a
result, when I try to use any of the turbogears installers, I get an
error (pasted at the end of this post) as it tries to install to the
site-packages directory
thanks, Ksenia. I just write a default identity model with
assign_mapper by ref the active_mapper version, but I'm very new to SA,
so if someone would help me to check this I'd be very appreciative.
-
from datetime import datetime
from sqlalchemy import *
from sqlalchemy.ext.assignmapper import
On 9/16/06, Matt Good [EMAIL PROTECTED] wrote:
Karl Guertin wrote:
On 9/15/06, Adam Jones [EMAIL PROTECTED] wrote:
I am not familiar with Django's error reporting. Could you provide a
link or description?
You get a nicely formatted error page showing the line of code where
the
I read that in order to extend identity or have custom identity models
I would have to use extend SO-provider and use subclassing. I took a
look at Fasttrack and this is also what they did.
But I also took a look at the latest model.py which seems to natively
support user attribute extensions.
Hi,
I saw in the old posts that there seems to be an extra line of code
required in both the tutorials on the TurboGears website. The posts
relating to this are one year old (and are closed) so I'm posting here.
If you are running the todo list tute with MySQL you get the folloowing
when you
I guess this is more of a MySQLDB Question, I am trying to use MySQL
with TurboGears on a Mac Pro.
and I get this error when I try: import MySQLdb
ImportError: Inappropriate file type for dynamic loading
I get the same error when running tg-admin sql create
I installed the pkg from
Hi I've followed the identity tutorial, and also took a look at the
Fasttrack code.
I can't seem to be able to log-in and be authenticated properly.
I used catwalk to populate an admin user. I try to login with proper
credentials but the page always still shows me as a guest
Hi,
Our company is currently in the process of speccing a new web
application. We are looking to get a proof of concept prototype built
by external developers and ideally we'd like that to be done using
TurboGears.
The application is concerned with the aggregation and manipulation of
specific
I already could let my tg-app run, but I still have no idea how to let
people connect my site. RewriteRule to a paticular port won't work and
there's no fastcgi, too. their supporter told me there's no way to
deploy TG or CherryPy site on their host, but I saw someone deploy
successfully on TG's
On Sep 17, 2006, at 2:00 PM, Olli Wang wrote:
I already could let my tg-app run, but I still have no idea how to let
people connect my site. RewriteRule to a paticular port won't work and
there's no fastcgi, too. their supporter told me there's no way to
deploy TG or CherryPy site on their
I believe that too rsrsr. But my firefox is not showing the svg image
properly. The text is all mixed up! Is it showing ok there?
My Firefox is the 1.5.0.7v
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
On 9/17/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Is the old way now deprecated? Can I just add more variables to the
'user' class in model.py if i wanted to add a picture field for
instance?
You can either extend or just add fields. I personally just add fields.
Italo Maia [EMAIL PROTECTED] writes:
I believe that too rsrsr. But my firefox is not showing the svg image
properly. The text is all mixed up! Is it showing ok there?
I use inkscape for SVG...
--
Jorge Godoy [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You
Kevin Dangoor wrote:
On Sep 17, 2006, at 2:00 PM, Olli Wang wrote:
I already could let my tg-app run, but I still have no idea how to let
people connect my site. RewriteRule to a paticular port won't work and
there's no fastcgi, too. their supporter told me there's no way to
deploy
On 9/17/06, Matt Good [EMAIL PROTECTED] wrote:
Elvelind Grandin wrote:
On 9/16/06, Matt Good [EMAIL PROTECTED] wrote:
Karl Guertin wrote:
On 9/15/06, Adam Jones [EMAIL PROTECTED] wrote:
I am not familiar with Django's error reporting. Could you provide a
link or
I figured it out. I needed to add:
identity.soprovider.model.user=x.model.User
etc.
:-)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears group.
To post to this group, send email to
Hi,
I'm using TurboGears 1.0b1. I've run into a problem when using
validation with SQLAlchemy.
Test cases:
SQLObject:
(1) I've quickstarted a project testerrso using SQLObject and without
identity.
(2) I've changed class Root in controllers.py to:
class Root(controllers.RootController):
You have tg_error in first example and tg_errors in second example, I
think this is the problem.
Ksenia.
On 9/17/06, Jan Niklas Fingerle [EMAIL PROTECTED] wrote:
Hi,
I'm using TurboGears 1.0b1. I've run into a problem when using
validation with SQLAlchemy.
Test cases:
SQLObject:
(1)
Hi,
Jan Niklas Fingerle wrote:
SQLAlchemy:
(1) I've quickstarted a project testerrsa using SQLObject and
s/SQLObject/SQLAlchemy/
sorry,
--Jan Niklas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
On Sun, 17 Sep 2006, Olli Wang wrote:
I already could let my tg-app run, but I still have no idea how to let
people connect my site. RewriteRule to a paticular port won't work and
there's no fastcgi, too. their supporter told me there's no way to
deploy TG or CherryPy site on their host, but
Hi,
Ksenia Marasanova wrote:
You have tg_error in first example and tg_errors in second example,
I think this is the problem.
yes, it seems i misspelled it when creating the small test cases, but
no, it doesn't solve the problem... :-(
Cheers,
--Jan Niklas
I went through the form widgets but it doesn't seem like I can template
the form elements. Or can I?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears group.
To post to this group, send email to
Is it possible to hide the parameters passed to the URI? And yet be
able to use those parameters as input?
So instead of seeing this:
localhost:8080/index?p1=0p2=0...
This would be displayed as:
localhost:8080/index
--~--~-~--~~~---~--~~
You received this
[EMAIL PROTECTED] [EMAIL PROTECTED] writes:
I went through the form widgets but it doesn't seem like I can template
the form elements. Or can I?
You can. Just pass a template when instantiating the widget or subclass it
and change its template.
--
Jorge Godoy [EMAIL PROTECTED]
[EMAIL PROTECTED] [EMAIL PROTECTED] writes:
Is it possible to hide the parameters passed to the URI? And yet be
able to use those parameters as input?
So instead of seeing this:
localhost:8080/index?p1=0p2=0...
This would be displayed as:
localhost:8080/index
Use POST instead of GET.
Hi,
A patch for this is posted, #1116:
http://trac.turbogears.org/turbogears/ticket/1116
it's against the trunk as it was 10 minutes ago.
HTH!
--isaac
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears
How do I do a post redirect?
This is the code I have now but it seems to do a get:
@expose()
def page(self, *args, **kw):
redirectParams=?
for param in kw:
redirectParams+=param+=+kw[param]+
raise
Hi,
im thinkimg about building an open source modular ERP application with
TG.
I did some analisis work and its a huge project so im looking for
support and comments about this idea.
Wektor
--~--~-~--~~~---~--~~
You received this message because you are
I got my new user signup stuff working. I also got the login process
working, but I can't seem to tie them together in one step.
If user signs up and form is validated with an okay, they should
automatically be logged in. Otherwise, they shouldn't.
Looking at the default login code it seems
A simliar question, if the log-in authentication fails, how can I tell
if the username failed or the password failed?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears group.
To post to this group, send
On 9/17/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
How do I do a post redirect?
User agents aren't allowed to automatically fetch a resource with any
method other than HEAD or GET, without user intervention (see RFC
2616).
What's the reason you need to hide the parameters? Knowing this
[EMAIL PROTECTED] [EMAIL PROTECTED] writes:
A simliar question, if the log-in authentication fails, how can I tell
if the username failed or the password failed?
You don't want to give that kind of information. It leaks too much
information for an attacker. If he doesn't know what failed he
[EMAIL PROTECTED] [EMAIL PROTECTED] writes:
If user signs up and form is validated with an okay, they should
automatically be logged in. Otherwise, they shouldn't.
Hmmm... This is one of the approaches, yes. There are other such as
requiring some sort of approval for the subscription,
why not just do a return? instead the raise? @expose()def page(self, *args, **kw):redirectParams=?for param in kw:redirectParams+=param+=+kw[param]+
return page2(redirectParams)RegardsOn 9/17/06, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:How do I do a post redirect?This is the code I have now
Sorry I've missed a small detail: return page2(**redirectParams)On 9/17/06, Julio Oña [EMAIL PROTECTED]
wrote:why not just do a return? instead the raise? @expose()
def page(self, *args, **kw):redirectParams=?for param in kw:redirectParams+=param+=+kw[param]+
return
Tim Lesher [EMAIL PROTECTED] writes:
User agents aren't allowed to automatically fetch a resource with any
method other than HEAD or GET, without user intervention (see RFC
2616).
They shouldn't, but that's not what happens. Usually using GET wouldn't
modify anything and using POST would,
Julio Oña [EMAIL PROTECTED] writes:
why not just do a return? instead the raise?
He probably want the URL changed... I believe it is a multi-page form, but
Tim suggested a different thing. Lets see what the problem is when the OP
answers. :-)
--
Jorge Godoy [EMAIL PROTECTED]
Tim Lesher wrote:
On 9/17/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
How do I do a post redirect?
User agents aren't allowed to automatically fetch a resource with any
method other than HEAD or GET, without user intervention (see RFC
2616).
What's the reason you need to hide the
On 9/17/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
A simliar question, if the log-in authentication fails, how can I tell
if the username failed or the password failed?
Unfortunately, Identity makes it really hard to do this--the provider
is defined as returning either the identity, or
Hello!
An idea is good and executable, but requires heap of time.
---
Привет!
Идея хорошая и выполнимая, но требует
много времени.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
On 9/17/06, Jorge Godoy [EMAIL PROTECTED] wrote:
Tim Lesher [EMAIL PROTECTED] writes:
User agents aren't allowed to automatically fetch a resource with any
method other than HEAD or GET, without user intervention (see RFC
2616).
They shouldn't, but that's not what happens. Usually
Hi Tim,
How would I check on failure? Do you have code?
All, I am looking for a direct login directly following a signup
registration. Similiar to http://youtube.com/signup.
Also another strange thing while looking at the default login code,
looks like the user_name and password parameters
Thanks for the replies guys.
Here is what I was trying to do:
I'm working on a login/signup thing similiar to
http://youtube.com/signup. Originally I had the login page at
localhost:8080/l/login. (since my site is complex, I didn't want too
many pages/controllers at the root level). An alias I
Hey,
Sorry for the OT post, but I know some of you are interested in
deploying TurboGears behind Nginx. If so you may want to visit
http://wiki.codemongers.com/Nginx
Most of the documentation has been translated (some of it, ahem...
loosely), but you'll find this to be the best place to
49 matches
Mail list logo