On Oct 7, 2:41 pm, Aaron <[EMAIL PROTECTED]> wrote:
> I am using Django version 0.97 (latest development version), Python
> 2.5, Apache 2.0.61 and mod_python 3.3.1.
>
> I am getting the following mod_python error:
> ---
> Traceback
I am using Django version 0.97 (latest development version), Python
2.5, Apache 2.0.61 and mod_python 3.3.1.
I am getting the following mod_python error:
---
Traceback (most recent call last):
File
Greetings,
I was curious to hear if there are any Django-based browser games in
production or in progress. I'm particularly interested in anything
being openly developed.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Hello
Alibabaunion Co.,LTD greets and desires of success and wishes you
happy times.
This is professional export company from china who carry PAYPAL
payment and DROPSHIP .
We greated in 2003 year ,and now we become the one of best supplier
here because of we keep our credit standing .
Tim Chase wrote:
>> Thanks. Yes, using relative paths is the right idea - it's a shame that
>> the base url's have to be hard coded in the templates. I understand
>> from a web efficiency standpoint of Django not handling static content
>> but from an application development standpoint this
On 04-Oct-07, at 2:54 PM, Divan Roulant wrote:
> Is someone aware of a recent change in Django that would have modified
> the use of the nesh package?
there was something that broke - I remember facing the same problem,
but I dont remember what I did - yes, somewhere in there there is 'str
On Oct 3, 9:01 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> I actually got fed up, and nearly resolved to switch either
> frameworks(pylons, turbogears) or webhosts(webfaction, dreamhost).
[... big cut...]
Hi all,
i'm hosted at ASmallOrange and can't find a way to make feedjack[1]
work
Suppose ur project is project1, under /var/www/projects/, eg.
/var/www/projects/project1
/var/www/projects/project1/settings.py
The setting should be:
PythonPath "['/var/www/projects'] + sys.path"
So that the following works.
import project1.settings
Best,
V
On Oct 4, 12:34 pm, juampa
> Thanks. Yes, using relative paths is the right idea - it's a shame that
> the base url's have to be hard coded in the templates. I understand
> from a web efficiency standpoint of Django not handling static content
> but from an application development standpoint this is a real complexity
In your example,
self.fields[str(key)]=forms.CharField(initial=c[key])
isn't doing what you expect.
You are setting the initial attribute of a field, not creating
a BoundField. See django/newforms/forms.py, and look at the
comments for BaseForm and Form and the code for
BoundField.
On Oct
cjl wrote:
> John:
>
> I've added a section at the end of the first chapter of my tutorial
> that describes how to serve static content with the Django development
> server, which seems to be a frequently asked question. See:
>
> http://www.instantdjango.com/chapter1.html
>
> Check it out, and
The way mod_python reads request content is a bit broken and can screw
up in various ways, albeit rarely. This may be another example to add
to the existing ones. The other known examples are:
http://issues.apache.org/jira/browse/MODPYTHON-212
John:
I've added a section at the end of the first chapter of my tutorial
that describes how to serve static content with the Django development
server, which seems to be a frequently asked question. See:
http://www.instantdjango.com/chapter1.html
Check it out, and let me know if you have any
Am 06.10.2007 um 19:49 schrieb James Bennett:
> Personally, I wouldn't ever open up the template language to arbitrary
> users. It's asking for trouble.
I have some doubts too, altough there are not so many alternatives.
The other template engines for python I've seen support more
On Sat, 2007-10-06 at 11:24 +0200, Andreas Ahlenstorf wrote:
>
> Am 06.10.2007 um 00:24 schrieb Malcolm Tredinnick:
>
> > (or wrap it in a class that provides only an
> > iterator over the queryset's iterator and no access to the wrapped
> > object).
>
> Could you share a small code sample on
On Sat, 2007-10-06 at 03:23 -0700, Andreas Pfrengle wrote:
> Hello Djangonauts,
>
> I was making a form for a german language site, so any errors that are
> thrown during the validation of a newform *should* be translated into
> german. the request.LANGUAGE_CODE is 'de', and it's also working
On 10/6/07, James Bennett <[EMAIL PROTECTED]> wrote:
> > By the way, it would be nice to have a small (sub)chapter in the docs
> > that mentions all the things someone has to care of when exposing the
> > Django templates to arbitrary users.
>
> Personally, I wouldn't ever open up the template
On Sat, 2007-10-06 at 19:08 +, tim_perrett wrote:
> Thanks for the speedy reply Malcom...
>
> Ive taken a look at loaders.py in the latest trunk... I see what you
> mean; pretty interesting. I could just write my own loader, import any
> classes I needed to use (like the
screen shots here:
http://www.nc99.com/home/screen.shtml
features:
http://www.nc99.com/home/features.shtml
home page:
http://www.nc9.com
incredable price for such full featured products.
--~--~-~--~~~---~--~~
You received this message because you are subscribed
What's a VServer? Are you speaking about virtualization? In that case,
it doesn't make a difference. As for it working on windows and macos,
and not on linux, you might want to give us a few more details about the
setup.
El s�b, 06-10-2007 a las 10:13 -0700, niklas.voss escribi�:
> I have a
Thanks for the speedy reply Malcom...
Ive taken a look at loaders.py in the latest trunk... I see what you
mean; pretty interesting. I could just write my own loader, import any
classes I needed to use (like the django.http.HttpRequest so I can use
get_host()) and even use the ORM in the
On 10/6/07, Alessandro Ronchi <[EMAIL PROTECTED]> wrote:
> Is it possible to set a field value as the current user in the admin panel?
No.
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
--~--~-~--~~~---~--~~
You received this
On Sat, 2007-10-06 at 09:21 -0700, tim_perrett wrote:
> Hey everyone
>
> Im looking into changing the theme of the site based on the request
> that the project recivies:
>
> I dont want to do this with CSS and stylesheets before anyone suggests
> that :) - Ive been looking into adding a bit of
Hey everyone
Im looking into changing the theme of the site based on the request
that the project recivies:
I dont want to do this with CSS and stylesheets before anyone suggests
that :) - Ive been looking into adding a bit of middleware to do this,
and based on what i see in the locale setting
On Sat, 2007-10-06 at 15:20 +, Trey wrote:
> There are other people that have brought this up a little bit some
> time ago. I run a small to medium sized web application that takes
> profile pictures. By far my largest customer service issue is people
> not being able to upload their photos.
There are other people that have brought this up a little bit some
time ago. I run a small to medium sized web application that takes
profile pictures. By far my largest customer service issue is people
not being able to upload their photos.
For the most part I have played it down as their
Since the formatting is quite standard (eg: you'll be using img tags for
images and object tags for pdf's, etc...) you could assign it to a var
in the view. This might be a violation of the MVC pattern, but it's not
much worse than using the same template instead of separate ones,
extending a
Is it possible to set a field value as the current user in the admin panel?
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net - Il mio sito personale
http://www.soasi.com - Sviluppo Software e Sistemi Open Source
--~--~-~--~~~---~--~~
You
Hello Djangonauts,
I was making a form for a german language site, so any errors that are
thrown during the validation of a newform *should* be translated into
german. the request.LANGUAGE_CODE is 'de', and it's also working for
*some* of the errors, but not for all. To test this, I've put up a
Thank you Chris,
for the record, Satchmo changed
kw = kw.lower()
into
kw = kw.lower().encode('ascii')
in thumbnail.py. That was causing me trouble.
Thanks again!
Divan
On Oct 5, 12:40 pm, "Chris Moffitt" <[EMAIL PROTECTED]> wrote:
> We've made mods to the thumbnail
Hello,
I'm new to web development and Python. I helped a friend with his
website, which is written in PHP. But the source code is so bad, that I
decided to rewrite the hole page. So I found the djange webframework.I
like it and try to rewrite the page with it.
Now I have a litte question. I try
Am 06.10.2007 um 02:06 schrieb James Bennett:
> Although the problem of opening up the Django template language to
> arbitrary users runs much deeper; a site administrator needs to be
> *very* careful not only about what's passed in the context, but also
> about context processors and available
Am 06.10.2007 um 00:17 schrieb Jonathan Buchanan:
> http://www.djangoproject.com/documentation/templates_python/
> #rendering-a-context
My question is about built-ins, not about custom methods in the models.
Regards,
A.
--~--~-~--~~~---~--~~
You received this
Am 06.10.2007 um 00:24 schrieb Malcolm Tredinnick:
> (or wrap it in a class that provides only an
> iterator over the queryset's iterator and no access to the wrapped
> object).
Could you share a small code sample on how to do this efficiently?
Regards,
A.
Who would be interested in participating in a django-python-project?
If such a person or smaller company is close to Zurich or situated in
the Ukraine that would be fine.
Please feel free to contact me.
Markus
--~--~-~--~~~---~--~~
You received this message
It doesn't really matter where it is, as long as it's on the pythonpath
(eg. "import django" works). Putting it in site-packages is just a bit
cleaner, as that is a standard place for common-use python packages.
You still need to be able to set the pythonpath for your execution
environment,
hello,
wouldn't it simply be possible to put all the py files of django into a
directory and use "import" in your project instead of installing anything?
django looks really nice but most webhosters don't allow to install it. :)
--~--~-~--~~~---~--~~
You received
http://www.djangoproject.com/documentation/static_files/
You need to add information about your media directory to the url.py
On Oct 5, 5:59 pm, staff-gmail <[EMAIL PROTECTED]> wrote:
> I have read the docs on static files but cannot figure out how to
> specify an image when using the built-in
38 matches
Mail list logo