Hi GoogleGroups,
I am running django (version 0.91) on the locale computer.
It works fine.
Now our group needs to have it working with Apache and
mod_python on a production server. Apache 2.2/mod_python
3.3 are installed and the file http.conf is edited
according to the
documentaiion "How t
i still have to do some testing with different browsers.
after that, i will add the script/manual to the wiki.
patrick
Am 18.05.2006 um 20:29 schrieb lcaamano:
>
> You should add these dojo info to the cookbook mentioned above.
>
> http://code.djangoproject.com/wiki/CookBookAdminTools
>
> --
>
> 1. the pretty django layout disappears;
It's something about the medias path (templates, css) for the admin.
This should help:
http://www.djangoproject.com/documentation/static_files/
> 2. now it is not possible to save the date in a database
> (Mysql, version 4.0.24)
I can't hel
Ivan Sagalaev wrote:
> Is it necessery that moveNode is called before get_validation_errors?
> If not, I think this should go into manipulator.save(). If yes, why?
No it's not necessary ... I see, so I should override
manipulator.save() then? Does this mean subclassing manipulator?
--~--~-
Bug? Or something I'm doing wrong?
In tutorial part 2, just after adding
date_hierarchy = 'pub_date'
to my Poll.Admin class, when I reload the /admin/polls/poll/ page, I
get:
ProgrammingError at /mysite/admin/polls/poll/
(1064, "You have an error in your SQL syntax near
'(DATE_FORMAT
Thanks for the reply, Ian.
I have those libraries installed. I'm sure it's just some configuration
I've done improperly.
I've sent you a gmail contact (scottanderson42); since you're in
Australia I'm sure I'll have to wait for the daylight terminator to come
back round your way again. :-)
Regar
Does anyone use Django with WSGI ?
I have a problem with my script if there is a heavy load.The server
stop responding.
This week it happens 3 times.
Is it a problem of Django running on WSGI?
Or is it a problem my webhosting provider ( Dreamhost.com)?
Any suggestions?
Thank you
L.
--~--~--
Hello Alexandre,
thanks for the help. Now I am trying to correct.
With regards
Liudmila
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@google
2006/4/5, Rudolph <[EMAIL PROTECTED]>:
I would like to add another good reason: Another nice effect languagecodes in the URL is that search engine crawlers can easily get all yourcontent.My customers often want something like this:
www.example.com -> site in the main language of your visitorswww.ex
Hi again,
I guess it's time to start experimmenting then :)
thanks for the help
Cheers
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@google
I received a reply from Dreamhost:
"
However, I
have been on the browser and your website is working now. So it doesn't
sound
like there is a configuration problem on the server, but I suspect that
there may be an intermittent high load issue. Normally the system
admins
correct high load i
>>> import sys
>>> print sys.path
['',
'/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python23.zip',
'/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3',
'/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-darwin',
'/System/Library/Frame
So I have a model that looks like this:
class FirmwareUpload(models.Model):
# represents a POSTed VSSL file
firmwarefile = models.FileField(upload_to="uploads/")
tweaks = models.FileField(upload_to="uploads/")
postreleasetweaks = models.FileField(upload_to="uploads/")
creation
Never mind, I solved it. My problem was my MEDIA_URL. I had:
localhost:8000/site_media
but it looks like I needed:
http://localhost:8000/site_media/ (notice that I also needed that
backslash at the end)
Jay P.
--~--~-~--~~~---~--~~
You received this message b
On 5/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> >>> import sys
> >>> print sys.path
> ['',
> '/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python23.zip',
> '/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3',
> '/System/Library/Frameworks/Python.fr
Stirman$ echo $PYTHONPATH
/Users/Stirman/Library/Frameworks/Python.framework/Versions/2.4:/Users/Stirman/Development/django_src
still same issue?!
On #2, I assume you were referring to the PYTHONPATH, not the PATH,
right?
Thanks,
Stirman
--~--~-~--~~~---~--~~
Y
PythonistL wrote:
> I received a reply from Dreamhost:
>
> "
>
> However, I
> have been on the browser and your website is working now. So it doesn't
> sound
> like there is a configuration problem on the server, but I suspect that
> there may be an intermittent high load issue. Normally t
On 5/19/06, Joseph Kocherhans <[EMAIL PROTECTED]> wrote:
> 2 problems.
>
> 1. python isn't picking up your PYTHONPATH. Try
>
>echo $PYTHONPATH
>
> at the command line. Are your sure it's set?
PYTHONPATH on OS X has issues.
See this, and associated thread:
http://mail.python.org/pipermail/pyth
On 5/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> On #2, I assume you were referring to the PYTHONPATH, not the PATH,
> right?
Right.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
On 5/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Stirman$ echo $PYTHONPATH
> /Users/Stirman/Library/Frameworks/Python.framework/Versions/2.4:/Users/Stirman/Development/django_src
>
> still same issue?!
>
> On #2, I assume you were referring to the PYTHONPATH, not the PATH,
> right?
Ye
Hmm, that thread is a little above my head...
I think my system is just too messy with both versions of django
installed, and two version of Python, heh.
Maybe the best course of action would be to remove Python 2.4, if I
can, remove both installs of django, and try to start over, just using
Py
I get an AttributeError on deleting an object with a
ManyToManyField('self'). The error is below. My Django is an svn
checkout from yesterday.
I understand that there should be no mediaset_set attribute because the
many-to-many relationship is symmetrical, as documented here:
http://www.djangop
On 5/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hmm, that thread is a little above my head...
...
> Shame, I think we were close!!!
Hmmph, if you're frustrated, introducing a bunch of new variables
isn't going to help. :)
In a terminal, do this:
echo `$HOME/Development/django_src`
Only error on last line:
electric-boogaloo:~/Development Stirman$ echo
`$HOME/Development/django_src` >>
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/django.pth
-bash: /Users/Stirman/Development/django_src: is a directory
electric-boogaloo:~/Development Sti
nice idea & nice realization.
congrats!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send e
On 5/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> echo
> `$HOME/Development/django_src` >>
> /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/django.pth
...
Sorry, I'm a dork. I did ` instead of " before.
Try this:
echo "$HOME/Development/django_src"
no errors this time...
electric-boogaloo:~/Development Stirman$ echo
"$HOME/Development/django_src" >
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/django.pth
electric-boogaloo:~/Development Stirman$ python
Python 2.3.5 (#1, Mar 20 2005, 20:38:20)
[GCC 3.3 2
On 5/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> no errors this time...
> I assume that's a good thing?
It means your django environment is now sane.
You should run through the tutorial again, since some incompatible
changes were made between 0.91 and trunk, but otherwise, you should
--SOLUTION---
> Anyway, let us know if you find something and I'll keep this turning
> over in the back of my mind.
I've been continuing to pull my hair out on this one & by chance was
perusing the django-dev mailing list and saw this link -
http://groups.google.com/group/django-developers/browse
On Friday 19 May 2006 10:07, tomass wrote:
> Hi Folks,
>
> I'm sure there's a better solution for this, just not sure what it
> is...
>
> I have a 4 step form and I'm currently capturing all posted data
> between each step and then re-posting it through hidden input fields
> and recapturing it at
mazurin wrote:
>No it's not necessary ... I see, so I should override
>manipulator.save() then? Does this mean subclassing manipulator?
>
>
Yes.
I didn't quite understand from your email if you are going to write a
custom manipulaor anyway or you want to mix new code into an automatic
manipul
I've done an helper function that strips the selected language from the
current url and return it... Usefull to make a language change button..
All you have to do is to make a link to the url with '/fr' for example
in front of the value given by the function:
from django.conf import settings
def
For what it's worth, I have a similar concept in storing the contents
of a shopping cart. I created a 'ShoppingCart' object which can hold
items and their quantities, plus it adds some convenience methods like
getting the list of items, the total cost, etc. I store this object in
the user's sess
Hi.
Is it possible to get a list of just the instance IDs of a specific
class, instead of the entire list of objects?
I want to add a random picture component to an album app I'm building.
So I have a class Picture. I want to choose ten to twenty random
pictures out of all pictures submitted.
Ob
>
> For what it's worth, I have a similar concept in storing the contents
> of a shopping cart. I created a 'ShoppingCart' object which can hold
> items and their quantities, plus it adds some convenience methods like
> getting the list of items, the total cost, etc. I store this object in
> the
On Wed, 17 May 2006 14:12:23 -0700
"pbx" <[EMAIL PROTECTED]> wrote:
>
> > ValueError: year is out of range
> >
> > I'm not sure why "year is out of range" is a problem - maybe
> > because the table has TIMESTAMP column types?
>
> It's probably because you have invalid data (like -00-00) in
On 5/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Is it possible to get a list of just the instance IDs of a specific
> class, instead of the entire list of objects?
Hey Daniel,
Yes, indeed! You're looking for get_values().
For version 0.91 and earlier:
http://www.djangoproject.com/do
According to the docs, serving the css in the admin is best done
via:
1. Create a symbolic link to the admin media files from within your
document root. This way, all of your Django-related files -- code
and templates -- stay in one place, and you'll still be able to svn
update your code to get t
Reviewing my own application, I realized there are much my view has to
take care of that doesn't need to delay HttpResponse to the user.
For instance, I need to
- extract the newly uploaded PDF file to extract and index its text.
- create PDF docs for new orders
- Resize uploaded image, etc
All
39 matches
Mail list logo