Re: Feature like "acts_as" in Django ORM or contrib ?

2008-10-21 Thread [EMAIL PROTECTED]
On 21 oct, 08:37, Daniel Roseman <[EMAIL PROTECTED]> wrote: > > acts_as is a Ruby design pattern rather than a Python one. However, > for the specific higher/lower functionality, look into > django-mptt:http://code.google.com/p/django-mptt/ Very good. Do you know something

Spliting a single result from a db

2008-10-21 Thread [EMAIL PROTECTED]
jango users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Setting up Django on CentOS5 with flup and fastcgi

2008-10-21 Thread [EMAIL PROTECTED]
Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Setting up Django on CentOS5 with flup and fastcgi

2008-10-21 Thread [EMAIL PROTECTED]
yes i have read that.. it seems that the .fcgi file does not read correctly. it just returns the actual text in the fcgi file. and when i try and run a development server you just get a timeout. On Oct 21, 5:05 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Tue, Oct 2

Permissions in template tags

2008-10-21 Thread [EMAIL PROTECTED]
. --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit thi

admin.site.register errors (due to user mistake)

2008-10-21 Thread [EMAIL PROTECTED]
user error. But the error message Django displayed didn't help guide me to the problem. Worthy of a ticket or no? Derek Willis [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&

Re: Spliting a single result from a db

2008-10-22 Thread [EMAIL PROTECTED]
d 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Setting up Django on CentOS5 with flup and fastcgi

2008-10-22 Thread [EMAIL PROTECTED]
4 pm, Adam Nelson <[EMAIL PROTECTED]> wrote: > I've had great luck with wsgi. > > http://code.djangoproject.com/wiki/django_apache_and_mod_wsgihttp://code.google.com/p/modwsgi/wiki/IntegrationWithDjango > > This article relates how to reverse proxy that with Nginx if you&#

problem with Form, but ModelForm works fine?

2008-10-23 Thread [EMAIL PROTECTED]
---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: problem with Form, but ModelForm works fine?

2008-10-23 Thread [EMAIL PROTECTED]
Sorry, I realized my own mistake a few hours later. The problem was that I copied and pasted the fields from my Model. The entities in my Form class were: django.models instead of django.forms Changing this solved the problem. On Oct 23, 1:37 pm, "[EMAIL PROTECTED]" <[EMAIL PROT

Exception thrown from django.test.client.Client

2008-10-23 Thread [EMAIL PROTECTED]
t throws the same error regardless of which path I try to get, or if I use c.post instead. Can anyone figure this out? --~--~-~--~~~---~--~~ 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 uns

Re: Mercurial or Git

2008-10-23 Thread [EMAIL PROTECTED]
ecause 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Exception thrown from django.test.client.Client

2008-10-23 Thread [EMAIL PROTECTED]
e test client be setting this value? Is there something in my code or configuration that needs to change to set that? On Oct 23, 9:17 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I found this problem while trying out the django test client: > > $ ./manage.py she

Python Script bugs.

2008-10-23 Thread [EMAIL PROTECTED]
~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Setting up Django on CentOS5 with flup and fastcgi

2008-10-23 Thread [EMAIL PROTECTED]
t to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Limit Number Of User Sessions

2008-10-23 Thread [EMAIL PROTECTED]
ality? --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more

Ordering M2M field?

2008-10-24 Thread [EMAIL PROTECTED]
hey appear? --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit

Multi-Table Inheritance

2008-10-24 Thread [EMAIL PROTECTED]
ango-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Setting up Django on CentOS5 with flup and fastcgi

2008-10-25 Thread [EMAIL PROTECTED]
the pythonpath as a permenant thing rather than just for that session? On Oct 23, 9:41 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > thanks for all the suggestions... > > I've managed to to kinda get it working with flup and fcgi although > i'm no

Uploaded Files -> Don't appear in folder, but no errors

2008-10-26 Thread [EMAIL PROTECTED]
, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Exception thrown from django.test.client.Client

2008-10-27 Thread [EMAIL PROTECTED]
Thank you, that seems to have done it. I didn't know you could set REMOTE_ADDR explicitly in the constructor. On Oct 23, 12:16 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Thu, Oct 23, 2008 at 11:41 AM, [EMAIL PROTECTED] < > > [EMAIL PROTECTED]> wrot

Re: Donation Application

2008-10-27 Thread [EMAIL PROTECTED]
I don't know of any applications for this specifically, however you can probably steal various parts of Satchmo, specifically all the payment stuff. On Oct 27, 9:03 pm, unklbeemer <[EMAIL PROTECTED]> wrote: > I did some searching and found nothing. I was wondering if anyone knew &

Re: REQ: Help with row-level perms and model (item, user) method problems.

2008-10-28 Thread [EMAIL PROTECTED]
[1] http://code.google.com/p/django-granular-permissions/ cheers Matthew http://wadofstuff.blogspot.com On Oct 27, 3:26 am, jfine <[EMAIL PROTECTED]> wrote: > Hi > > I'm now doing serious (for me) work with Django (which I like a lot) > and have come up against a problem

Email notification on updates?

2008-10-29 Thread [EMAIL PROTECTED]
-~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Email notification on updates?

2008-10-29 Thread [EMAIL PROTECTED]
g it for my purposes. --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this grou

content type

2008-10-30 Thread [EMAIL PROTECTED]
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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/gr

Syndication Feed-Problem

2008-10-30 Thread [EMAIL PROTECTED]
rInfo: listOfItems.append(selectedItem.item) return listOfItems --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Execute a java program

2008-10-30 Thread [EMAIL PROTECTED]
ers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: content type

2008-10-30 Thread [EMAIL PROTECTED]
_view' definition. You need to generate a > HttpResponse object, set the response mimetype to the correct type of > file you're serving, and then set the 'Content-Disposition' key to > something like it says. Notice you can also set the filename if you > need to. > &g

FileField doesn't repopulate after a ValidationError on another field

2008-10-30 Thread [EMAIL PROTECTED]
s" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: FileField doesn't repopulate after a ValidationError on another field

2008-10-30 Thread [EMAIL PROTECTED]
, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Thu, Oct 30, 2008 at 10:52 AM, [EMAIL PROTECTED] < > > > > [EMAIL PROTECTED]> wrote: > > > Hello, > > > I've having a problem with FileField and ImageField. Basically, I have > > a f

Re: User.email

2008-10-31 Thread [EMAIL PROTECTED]
On Oct 31, 11:01 am, Daniel Roseman <[EMAIL PROTECTED]> wrote: > On Oct 31, 9:51 am, "Alfredo Alessandrini" <[EMAIL PROTECTED]> > wrote: > > > > > Hi, > > > I've this model: > > > from django.contrib.auth.models import User >

Re: User.email

2008-10-31 Thread [EMAIL PROTECTED]
On Oct 31, 1:32 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Oct 31, 11:01 am, Daniel Roseman <[EMAIL PROTECTED]> > wrote: > > > > > On Oct 31, 9:51 am, "Alfredo Alessandrini" <[EMAIL PROTECTED]> > > wrote: > > &

Re: Execute a java program

2008-10-31 Thread [EMAIL PROTECTED]
On Oct 31, 2:21 pm, varikin <[EMAIL PROTECTED]> wrote: > On Oct 30, 5:12 am, "[EMAIL PROTECTED]" > > > > <[EMAIL PROTECTED]> wrote: > > Hi everyone I am newbie to django and I am italian so excuse me for my > > english :P > > I have to exec

Using Django

2008-10-31 Thread [EMAIL PROTECTED]
o users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Response is sent before post body arrives

2008-10-31 Thread [EMAIL PROTECTED]
mail to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

HttpRequest with chunked encoding is not buffered

2008-10-31 Thread [EMAIL PROTECTED]
---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at

Installing an app in a sub-directory of another site (urls question)

2008-11-01 Thread [EMAIL PROTECTED]
s, Lorenzo --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more

Re: HttpRequest with chunked encoding is not buffered

2008-11-01 Thread [EMAIL PROTECTED]
any workaround? If mod_python does not work, what should I use? (My goal is to be able to receive chunked requests in some normal way in my django application). On Nov 1, 10:28 am, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > On Nov 1, 10:40 am, "Tomáš Brambora" <[EMAIL PROTE

Keeping track of online users

2008-11-01 Thread [EMAIL PROTECTED]
p. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Password Field Form

2008-11-02 Thread [EMAIL PROTECTED]
Hi Nick, you can do this by passing the widget parameter to a CharField. A little example: password = forms.CharField(label=_(u'Password'),widget=forms.PasswordInput(render_value=False)) Lukas On Nov 2, 5:58 pm, nkulmati <[EMAIL PROTECTED]> wrote: > How com

Re: Using Django

2008-11-03 Thread [EMAIL PROTECTED]
0 am, "Low Kian Seong" <[EMAIL PROTECTED]> wrote: > Finding out a bit about urls.py and how it functions would do a world > of good. It is very flexible and powerful once you learn how to wield > it. > > Low Kian Seong > > http://lowkster.blogspot.com > > > &

Re: Forms Question

2008-11-03 Thread [EMAIL PROTECTED]
Yep, you need to do the if is_valid() stuff, but other than the save() method it works like a normal form, more or less. On Nov 3, 8:07 pm, Robocop <[EMAIL PROTECTED]> wrote: > I tried that earlier but i failed terribly at syntax.  Should it be: > > f = ModelForm(request.POST) &g

Where can I find the "What's new" in detail in django's doc 1.0?

2008-11-04 Thread [EMAIL PROTECTED]
ooglegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Using Django

2008-11-04 Thread [EMAIL PROTECTED]
n Nov 3, 4:10 pm, Steve Holden <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > I understand the mapping of urls.py but I guess I'm not clear on a few > > things to begin with, like what is the equivalent to an index.html > > page in django? I know that the syste

redirection 2 links back after signing up?

2008-11-05 Thread [EMAIL PROTECTED]
le Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: redirection 2 links back after signing up?

2008-11-05 Thread [EMAIL PROTECTED]
s the best way to do this? --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more

Oracle Clob Field type

2008-11-05 Thread [EMAIL PROTECTED]
bed 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Keeping track of online users

2008-11-05 Thread [EMAIL PROTECTED]
On Nov 3, 12:07 am, JoeJ <[EMAIL PROTECTED]> wrote: > Are you looking for something like 'django-tracking' ?? >  http://code.google.com/p/django-tracking/ > > I was just perusing this last night, for use on a site of mine. > > -- joe excuse

Django Using Multiple Databases in a Web Application

2008-11-06 Thread [EMAIL PROTECTED]
settings.py If anyone can give me a step by step to create additional sqlite databases that I want to refer to in a Django Application it would be most appreciated. Kind Regards David Thomson [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message

Re: Installation of django in user account

2008-11-06 Thread [EMAIL PROTECTED]
No one? On Nov 5, 6:18 pm, "Tim O'Toole" <[EMAIL PROTECTED]> wrote: > Hi all, > > I was wondering how feasile it is it to install Django in a user > account without root access. I followed the instruction at: > > http://docs.djangoproject.com/en/dev/topics

Re: Using Django

2008-11-06 Thread [EMAIL PROTECTED]
[L] Here is my directory structure: home/USERNAME/ www.mysite.com/ www.anothersite.com/ www.yetanothersite.com/ projects/ django/ flup/ django_templates/ media/ mysite/ On Nov 5, 5:56 pm, AndyB <[EMAIL PROTECTED]> wrote: > http://wiki.dreamhost.co

Re: Using Django

2008-11-06 Thread [EMAIL PROTECTED]
/2006/may/11/django-dreamhost/ which is where I heard about the Gordon Tillman fix. Thanks for the help thus far and any related to my new problem. Jason On Nov 6, 9:56 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I used the Gordon Tillman > setup:http://www.gordonti

Re: Oracle Clob Field type

2008-11-07 Thread [EMAIL PROTECTED]
5, 9:06 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Wed, Nov 5, 2008 at 5:54 PM, [EMAIL PROTECTED] < > > > > [EMAIL PROTECTED]> wrote: > > > Noob here... > > > I have an existing table with two Clob fields. While defining the >

How to order a list with a self-referential foreign key? (a category list)

2008-11-07 Thread [EMAIL PROTECTED]
return False super(Category, self).save(force_insert, force_update) def __unicode__(self): return self.get_full_name() --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" grou

Re: How to order a list with a self-referential foreign key? (a category list)

2008-11-08 Thread [EMAIL PROTECTED]
roups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

has more than 1 ForeignKey to

2008-11-10 Thread [EMAIL PROTECTED]
gle Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Browser access to manage.py / django command extensions

2008-11-10 Thread [EMAIL PROTECTED]
Maybe a button with a drop-down list for the commands he wants? Could be part of the admin. On Nov 10, 12:50 pm, Joe Murphy <[EMAIL PROTECTED]> wrote: > Hi all, > > Boss wants browser access to a couple custom django command extensions > -- wants it to be simple to admini

django.db.models.Q

2008-11-09 Thread [EMAIL PROTECTED]
u 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

using Etags or http response code 304 (not modified)

2008-11-10 Thread [EMAIL PROTECTED]
email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Using Django

2008-11-10 Thread [EMAIL PROTECTED]
nt the next line to enable the admin: (r'^admin/(.*)', admin.site.root), # LINE 21 ) Thanks for all the help, Jason On Nov 7, 7:32 am, Blu3ness <[EMAIL PROTECTED]> wrote: > 500 error will generate a error log in your ~/logs/ directory, do a > little research on it, or m

Re: Sending mass, yet personalised email newsletters using Django

2008-11-11 Thread [EMAIL PROTECTED]
Hello Patrick, On Nov 11, 1:53 am, "Patrick J. Anderson" <[EMAIL PROTECTED]> wrote: > > Some of the main requirements are: > > * Personalised HTML/text messages > * Manual delivery twice a week > * Message logging/archiving > * Amount of newsleter issues: ~5

Re: using Etags or http response code 304 (not modified)

2008-11-11 Thread [EMAIL PROTECTED]
Feedburner fetcher when there's no new content. -pranav. On Nov 10, 7:39 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Mon, Nov 10, 2008 at 4:14 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > I've tried using the USE_ETAGS=true in my p

TemplateDoesNotExist

2008-11-11 Thread [EMAIL PROTECTED]
--~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Performing an operation

2008-11-12 Thread [EMAIL PROTECTED]
this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: TemplateDoesNotExist

2008-11-12 Thread [EMAIL PROTECTED]
This is running on Dreamhost, who doesn't allow running independent servers, so I am currently unable to test using the development server. I'll set something up on my local machine and see what happens. Thanks, Jason On Nov 11, 8:49 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>

Re: Performing an operation

2008-11-12 Thread [EMAIL PROTECTED]
Thanks for your help Daniel! I havent got hosting sorted yet so its something Ill have to set up later. I guess I can set up the custom command and do it manually for now. Phil On Nov 12, 5:29 pm, Daniel Roseman <[EMAIL PROTECTED]> wrote: > On Nov 12, 5:02 pm, "[EMAIL PROTE

Re: TemplateDoesNotExist

2008-11-12 Thread [EMAIL PROTECTED]
s import Poll from django.http import HttpResponse def index(request): latest_poll_list = Poll.objects.all().order_by('-pub_date')[:5] t = loader.get_template('polls/index.html') c = Context({ 'latest_poll_list': latest_poll_list, }) return Http

Re: TemplateDoesNotExist

2008-11-12 Thread [EMAIL PROTECTED]
The directory structure is: /home/USERNAME/projects/django_templates/SITENAME/polls - index.html - base.html I'm sure it's my fault, I just don't see it. On Nov 12, 6:10 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Wed, Nov 12, 2008 at 1:39 PM, [EMAIL P

Re: TemplateDoesNotExist

2008-11-12 Thread [EMAIL PROTECTED]
fferent posts, one referencing the directory structure for the initial problem on Dreamhost and the test I did on my local machine using the development server - which also returned the same error. On Nov 12, 10:29 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Wed, 2008-11-12 at 22

Using FilteredSelectMultiple with Ajax

2008-11-13 Thread [EMAIL PROTECTED]
HTML? Thanks L. --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at

Improvement: documentation example for extra Manager methods

2008-11-13 Thread [EMAIL PROTECTED]
sage 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Improvement: documentation example for extra Manager methods

2008-11-13 Thread [EMAIL PROTECTED]
a filtered queryset :-) --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more opti

Re: Book or documentation first

2008-11-13 Thread [EMAIL PROTECTED]
rsion. --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more

Re: TemplateDoesNotExist

2008-11-14 Thread [EMAIL PROTECTED]
I think the problem was a combination of an incorrect template directory and forgetting to touch dispatch.fcgi, in any case, it seems to be working now. Thanks for the help, Jason On Nov 13, 4:32 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Thu, 2008-11-13 at 11:12 -0800

Templates and method arguments for thumbnails

2008-11-15 Thread [EMAIL PROTECTED]
e 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Multithreaded Dev Server

2008-11-15 Thread [EMAIL PROTECTED]
http://www.oebfare.com/blog/2008/nov/03/writing-custom-management-command/ The CherryPy WSGI server should make this really, you could probably even deploy on it if you wanted. On Nov 16, 1:15 am, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > On Nov 16, 4:40 pm, Chris <[EMAIL PROTE

Re: Post/redirect/get pattern for file upload with confirmation

2008-11-16 Thread [EMAIL PROTECTED]
URL. Thanks Stefan On Nov 16, 1:16 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sun, 2008-11-16 at 12:58 +0100, Stefan Wallner wrote: > > p,,,[ > > > My basic idea would be to use the same URL and view/template for   > > getting the directory listing an

Caching and I18n

2008-11-16 Thread [EMAIL PROTECTED]
E_MIDDLEWARE_ANONYMOUS_ONLY = True --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Post/redirect/get pattern for file upload with confirmation

2008-11-16 Thread [EMAIL PROTECTED]
Hi Malcolm, thanks for the fast response. I had thought about both approaches, but both didn't feel 100% right (more a gut feeling than anything). On Nov 16, 1:16 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sun, 2008-11-16 at 12:58 +0100, Stefan Wallner wrote: >

Re: Post/redirect/get pattern for file upload with confirmation

2008-11-16 Thread [EMAIL PROTECTED]
at won't happen anytime soon. On Nov 16, 1:51 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi Malcolm, > thanks for the fast reply. > > What is the downside of sticking this kind of information into a > session, just that the session backend needs to ca

Re: Caching and I18n

2008-11-16 Thread [EMAIL PROTECTED]
=utf-8 Content-Language: de 200 OK I'm lost. Maybe Beegee from the other thread found a solution in the meantime. On Nov 16, 10:33 pm, "Ramiro Morales" <[EMAIL PROTECTED]> wrote: > On Sun, Nov 16, 2008 at 10:51 AM, [EMAIL PROTECTED] > > > > > > <[

Re: Multithreaded Dev Server

2008-11-16 Thread [EMAIL PROTECTED]
group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

serving static file via django

2008-11-18 Thread [EMAIL PROTECTED]
. --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more opti

Re: serving static file via django

2008-11-18 Thread [EMAIL PROTECTED]
david, can you illustrate how ? sorry -- havent worked with django signals earlier thnx, -p On Nov 18, 7:06 pm, "David Zhou" <[EMAIL PROTECTED]> wrote: > On Tue, Nov 18, 2008 at 6:22 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > my requirement is that I n

Re: serving static file via django

2008-11-18 Thread [EMAIL PROTECTED]
s, -p On Nov 18, 10:23 pm, "David Zhou" <[EMAIL PROTECTED]> wrote: > On Tue, Nov 18, 2008 at 9:40 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > david, > > > can you illustrate how ? sorry -- havent worked with django signals > > earlier >

Re: serving static file via django

2008-11-18 Thread [EMAIL PROTECTED]
yes..its just a transparent gif...i'm thinking of writing my own view, which will get the visitor data and then just call the static serve method provided by django. just dont know it its ok inproduction env though.. On Nov 19, 12:53 am, "David Zhou" <[EMAIL PROTECTED]> wro

Re: Creating formsets through AJAX

2008-11-19 Thread [EMAIL PROTECTED]
On 20 nov, 05:01, "Brian Rosner" <[EMAIL PROTECTED]> wrote: > On Wed, Nov 19, 2008 at 8:59 PM, Brian Rosner <[EMAIL PROTECTED]> wrote: > > On Wed, Nov 19, 2008 at 8:43 PM, Luper Rouch <[EMAIL PROTECTED]> wrote: > >> For django to save the for

Re: Creating formsets through AJAX

2008-11-19 Thread [EMAIL PROTECTED]
On 20 nov, 05:33, "Brian Rosner" <[EMAIL PROTECTED]> wrote: > On Wed, Nov 19, 2008 at 9:14 PM, [EMAIL PROTECTED] > > > > <[EMAIL PROTECTED]> wrote: > > > On 20 nov, 05:01, "Brian Rosner" <[EMAIL PROTECTED]> wrote: > >>

Re: Creating formsets through AJAX

2008-11-19 Thread [EMAIL PROTECTED]
On 20 nov, 06:01, "Brian Rosner" <[EMAIL PROTECTED]> wrote: > On Wed, Nov 19, 2008 at 9:53 PM, [EMAIL PROTECTED] > > <[EMAIL PROTECTED]> wrote: > > > I use a fake queryset because it's the only way that I found to > > populate the fo

Re: django site within 7 hours (a day)

2008-11-20 Thread [EMAIL PROTECTED]
lthough the submit button at the top doesn't seem to work... --~--~-~--~~~---~--~~ 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

Re: Creating formsets through AJAX

2008-11-20 Thread [EMAIL PROTECTED]
On 20 nov, 06:54, "Brian Rosner" <[EMAIL PROTECTED]> wrote: > On Wed, Nov 19, 2008 at 10:23 PM, [EMAIL PROTECTED] > > > > <[EMAIL PROTECTED]> wrote: > > > On 20 nov, 06:01, "Brian Rosner" <[EMAIL PROTECTED]> wrote: > >> On W

Re: Creating formsets through AJAX

2008-11-20 Thread [EMAIL PROTECTED]
On 20 nov, 14:31, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On 20 nov, 06:54, "Brian Rosner" <[EMAIL PROTECTED]> wrote: > > > > > On Wed, Nov 19, 2008 at 10:23 PM, [EMAIL PROTECTED] > > > <[EMAIL PROTECTED]> wrote: &

change in admin template django/contrib/admin/templates/widget

2008-11-21 Thread [EMAIL PROTECTED]
group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

New Django user: How do I return the server's IP address?

2008-11-21 Thread [EMAIL PROTECTED]
;Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: 'QuerySet' object has no attribute '_meta'

2008-11-21 Thread [EMAIL PROTECTED]
You can pass modelformset_factory a kwarg form which should just me the form class you want to use(aka make a ModelForm with the changes to the widgets). Alex On Nov 21, 7:25 pm, ayayalar <[EMAIL PROTECTED]> wrote: > Karen, > > On this note, is it possible to customize the widget

UnicodeEncodeError using mysql as db

2008-11-23 Thread [EMAIL PROTECTED]
rds, Luis --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit

Re: help, ORM memory problems

2008-11-23 Thread [EMAIL PROTECTED]
Try doing Legacy.objects.all().iterator(), this isn't technically the public API, but this grabs the results at a lower level, so it doesn't get cached. On Nov 23, 5:44 pm, derek73 <[EMAIL PROTECTED]> wrote: > I have written a management script to migrate data from an exist

Re: redirection 2 links back after signing up?

2008-11-23 Thread [EMAIL PROTECTED]
irected to what is specified in next.. fill out a form, yada yada yada. after success of that I then do this. return HttpResponseRedirect(request.session['last']) hope this helps. On Nov 5, 11:08 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > That is the prob

Re: redirection 2 links back after signing up?

2008-11-23 Thread [EMAIL PROTECTED]
23, 9:51 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I just solved this issue. I did by using using sessions. > > I initialize this in a couple of views. > > request.session['last'] = request.get_full_path() > > If a user tries to do something

  1   2   3   4   5   6   7   8   9   10   >