|
Posted
over 16 years
ago
by
[email protected]
(Benigno)
Hi, I am getting the error specified in the title on the code below at models. Also, I get the following error, if trying to do it with db_add () instead: init__() got an unexpected keyword argument 'parent' (but parent in db_add definition is set to None as default). Am I missing to import something?. What do I need to do to be able to use
|
|
Posted
over 16 years
ago
by
[email protected]
(Dave)
Hi All, I'm loving the media converter but still having trouble getting my head wrapped around using it for images. As example I've added SilkSprite in as an application(similiar to the way blueprint is already in the demo project). So I've setup: /apps /apps/sprites __init.py__ settings.py
|
|
Posted
over 16 years
ago
by
[email protected]
(Perica Zivkovic)
Hi there, I'm using {{ MEDIA_URL }} for the first time and like in that sample [link] I created "media" folder in my app and dropped egg image from sample in myApp/media folder. When I try to display that image with <img src="{{ MEDIA_URL }}myApp/eggB.jpg" alt="eggB.jpg"
|
|
Posted
over 16 years
ago
by
[email protected]
(Benigno)
Hello, I am not sure if last post was correctly submited, if so, I am afraid I copied the wrong error. This is the one I dont know what to look for: TypeError at /bt/add_org/ 'str' object is not callable Request Method: GET Request URL: [link] Exception Type: TypeError
|
|
Posted
over 16 years
ago
by
[email protected]
(Benigno)
Hello, I have just started with app-engine-patch, and I must admit I am pretty new at Django itself. I have been running through the examples and it all seems to go fine until I get to the part of views. As soon as I access an URL that is processed through a view (vs sent directly to template), I am
|
|
Posted
over 16 years
ago
by
[email protected]
(Jay)
I can't quite figure this out. My question is unrelated to combining media. How is it that MEDIA_URL is available in all templates? What secret sauce is used to make that happen? I would like to define my own variable of the sort but I would prefer to not edit settings_pre or settings_post.
|
|
Posted
over 16 years
ago
by
[email protected]
(Thomas Robitaille)
Hi, When using google account authentication in app-engine-patch, how does one specify which google account can log in as an admin? Thanks, Thomas
|
|
Posted
over 16 years
ago
by
[email protected]
(Arkaitz)
Hi all, Just upgraded to 1.1RC1 copying the common folder and I'm having some unexpected redirects on some views. The only error I can see in the log is : DEBUG:root:Access to module file denied: /usr/lib/pymodules/python2.5/j son.py I'm 95% sure the error wasn't there before. Any hint? Thanks
|
|
Posted
over 16 years
ago
by
[email protected]
(John Gardner)
Is anyone able to use a StringProperty with choices in the admin module? E.g. with a model property like: gender = db.StringProperty(choices=set( ["male", "female"])) it fails for me. It looks to me like there's a problem on line 180 of patch.py. It works when patched as follows: @@ -177,7 +177,7 @@
|
|
Posted
over 16 years
ago
by
[email protected]
(Paolo Moretti)
Hi list, I'm having troubles set a different time zone. (http:// docs.djangoproject.com/en/dev/ ref/settings/#time-zone). On settings.py i've tried to add: TIME_ZONE = 'Europe/Rome Europe/San_Marino Europe/Vatican' or TIME_ZONE = 'Etc/GMT+2'
|