On Apr 21, 2006, at 10:24 PM, Mathieu Blondel wrote:Hi all,Maybe I'm missing something but I can't find how to specify the numberof objects (lines) per page in the admin.The default is 100 which is too much for me.Thanks,In 0.91, you need to edit DEFAULT_RESULTS_PER_PAGE in contrib/admin/views/main
Currently I am using MySQL version 4.0.24. Looking at all the answers
the best thing to do is to try MySQL v5. I will do some testing over
the weekend and post my experiences.
Thanks very much for your help.
Berry
--~--~-~--~~~---~--~~
You received this message
Hi all,
Maybe I'm missing something but I can't find how to specify the number
of objects (lines) per page in the admin.
The default is 100 which is too much for me.
Thanks,
Mathieu.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
You were correct in the "guessing" at what I meant :-) It would have
been more precise to state 0-1 to many. In either case I tried the
blank=True method and it seemed to get me a runtime error. Then again
it was late in the day and so the gremlines might have taken ahold.
Thanks for the quick
Former Military Air Traffic Controller Claims Comet Collision with
Earth on May 25, 2006
To: National Desk
Contact: Dr. Michael Salla of the Exopolitics Institute, 808-323-3400,
[EMAIL PROTECTED]
KEALAKEKUA, Hawaii, April 13 /U.S. Newswire/ -- Eric Julien, a former
French military air traffic c
On Fri, 2006-04-21 at 17:55 -0700, [EMAIL PROTECTED] wrote:
> Is there such an animal out there in Django?
I am not sure you are using the same terminology as everybody else here;
a zero-to-many relationship is not a common phrase in relational
database vocabulary.
Guessing slightly at what you
Is there such an animal out there in Django?
--~--~-~--~~~---~--~~
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, s
On 4/21/06, Rafael Jorge <[EMAIL PROTECTED]> wrote:
On 4/21/06, Eugene Lazutkin <
[EMAIL PROTECTED]> wrote:
Make sure you use one connection per thread.How can I do this? can you explain?I apply the ticket #1442 [1] and this appear solve my problem, now I have 50 thread running nice :), now I want
Yes, I've disabled it now, and all is good!
--~--~-~--~~~---~--~~
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, se
Do you have SELinux enabled? Check /var/log/audit/audit.log and/or try
disabling it by editing /etc/sysconfig/selinux and rebooting.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
> I started to rev back mod_python and ran into a few dependency problems. I'll
> keep trying and see if that helps. Will let you know...
The REAL problem between my working (openhosting.com virtual) Fedora
system and this one was SELinux. Aarrgghh!
And of course I didn't have any problems in s
Hi Berry,
Beegee wrote:
> This is a part from the manual of MySQL: "In MySQL 4.0, the query cache
> is disabled within transactions (it does not return results). Beginning
> with MySQL 4.1.1, the query cache also works within transactions when
> using InnoDB tables (it uses the table version numb
On 4/21/06, Eugene Lazutkin <[EMAIL PROTECTED]> wrote:
Make sure you use one connection per thread.How can I do this? can you explain?-- SDM - www.Garimpar.com/noticias
http://sdm.zapto.org/--"Orientacao a Objeto sempre existiu, mas no final tudo acaba em ponteiros" - Eliel Souza
--~--~-~-
You can configure FastCGI to start up a set number of processes when apache starts and keep them running. Something like this in your httpd.conf should suffice:FastCgiConfig -idle-timeout 90 -restart -minProcesses 5
FastCgiServer /path/to/django.fcgi -processes 5On 4/21/06, tsnyder <[EMAIL PROTECT
On 4/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I'm trying to validate fields for a comments app I'm working on. As
> part of the model I have a few non-editable fields, IP address and date.
> Can non-editable fields be validated or even saved when using a
> manipulator?
By "non-edi
Thanks for the replies everybody. This is good info and I need to know
more about apache in general.
Unfortunately it doesn't solve the problem! I am using the vanilla
Fedora rpm for httpd which builds in prefork.c and has generally
default module directives. The funny behaviour is that it runs f
Make sure you use one connection per thread.
Thanks,
Eugene
[EMAIL PROTECTED] wrote:
> Hi, my name is Rafael Jorge, I'm from Brazil
> Well, I was search in the GMane [1] for something like this, but I
> haven't found anything that could help me.
>
> I'm trying run a script that throws (nearly)
Hi Tamara,
tsnyder wrote:
> I am extremely new to all of this, so if my question is stupid I'm sorry. I
> couldn't find the answer after
> doing some searches. I suspect that is because the answer is obvious, and I
> apologize if it is.
No, it's a small hell when you first do that coming fo
Perhaps I'm going about this the wrong way...
I'm trying to validate fields for a comments app I'm working on. As
part of the model I have a few non-editable fields, IP address and date.
Can non-editable fields be validated or even saved when using a
manipulator?
Here is the code I'm working wi
On 4/21/06, Richie Hindle <[EMAIL PROTECTED]> wrote:
> For what it's worth, I think this advice should be in the documentation.
> The documentation says "Apache with mod_python currently is the preferred
> setup for using Django on a production server" but it doesn't explain
> which MPM.
Good cal
On Fri, Apr 21, 2006 at 09:38:56AM +0400, Ivan Sagalaev wrote:
> You use it then like this:
>
> {% product bestOffer %}
>
> ... and bestOffer will be passed in product.html by the name 'product'.
And
On Fri, Apr 21, 2006 at 10:16:29PM +0800, limodou wrote in re:
Subject: New call tag
> I
Hi, my name is Rafael Jorge, I'm from Brazil
Well, I was search in the GMane [1] for something like this, but I
haven't found anything that could help me.
I'm trying run a script that throws (nearly) 50 threads (like robots,
daemons), and this script never finish (yes, this is right), but each
th
I've been running django (trunk and M-R) on apache prefork with no problems. I recently switched to the worker MPM, and so far, everything seems to work fine (with better memory usage, I might add). I did have a problem on a separate installation, however, related to memcache. I think there may
[Jacob]
> I'd suggest switching to the "prefork" MPM for Apache
For what it's worth, I think this advice should be in the documentation.
The documentation says "Apache with mod_python currently is the preferred
setup for using Django on a production server" but it doesn't explain
which MPM.
--
Luke Plant wrote:
> On Wednesday 19 April 2006 14:53, njharman wrote:
>
>>[Sorry if this should be on django-developer instead]
>>
>>r2714 of the magic-removal branch
>>
>>I have models/* and not a models.py in my app directory.
>>
>>#myapp/models/__init__.py
>>from adventure import Story
>>class
Oh My!
my bad. yes that should read..
" are not going to achieve *great* performance on DREAMHOST."
I just meant to say that dreamhost has nice price / feature ration but
it's just a little unreliable to host a *critical* site on it.
Isn't it great that you could just read through my mistake (a
And enlightenment descends ;)
Cheers for the pointer Ivan!
Tone
--~--~-~--~~~---~--~~
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 unsubscri
On 4/21/06, arthur debert <[EMAIL PROTECTED]> wrote:
> But at any rate you are not going to achieve
> *great* performance on django.
I assume you left "...on Dreamhost" off that sentence by mistake. I've
had fantastic performance on Django on several servers (both Linux and
Solaris). Frankly, it
Luke,
Thanks for your reply.
I'll checki it today if it works.
skink
--~--~-~--~~~---~--~~
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 unsu
On Wednesday 19 April 2006 14:53, njharman wrote:
> [Sorry if this should be on django-developer instead]
>
> r2714 of the magic-removal branch
>
> I have models/* and not a models.py in my app directory.
>
> #myapp/models/__init__.py
> from adventure import Story
> class Foo(models.Model):
>
On 4/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Maybe I missed something in the docs or the FAQ, but...
> Is there a way to pass different variables to an {% include %}?
>
> Say I want to have a reusable component, included via {% include %},
> which renders a product. So I only have
I am extremely new to all of this, so if my question is stupid I'm sorry. I
couldn't find the answer after
doing some searches. I suspect that is because the answer is obvious, and I
apologize if it is.
If I run django as fastcgi with apache, then, as I understand it, there is a
fastcgi pro
skink wrote:
> Hi,
>
> I'd like to model the following situation:
>
> 1. there are a writers (instance of MyUser class) who can write several
> Note's
> 2. each Note can have several readers (instances of MyUser class)
>
> eg. we have user1, user2, user3 and user4
>
> user1 writes note1 that n
Clint, I believe this is a fcgi thing. Dreamhost kills it after a
perdiod of inactivity, which means that the first request after a few
minutes of stillness has to load django & everything else.
Later request should respond better. There are mixed reviews on
dreamhost and django on this list, qui
On Friday 21 April 2006 08:15, skink wrote:
> class MyUser(meta.Model):
> name = meta.CharField(maxlength=30)
>
> def __repr__(self):
> return self.name
>
> class Note(meta.Model):
> noteText = meta.CharField(maxlength=100)
> writer = meta.ForeignKey(MyUser)
> publicat
On Apr 21, 2006, at 12:06 AM, oggie rob wrote:
> Any ideas what I am facing here? Or how to debug this?
I'd suggest switching to the "prefork" MPM for Apache; I've always
seen better performance and stability running Django under it as
opposed to the threaded one. Don't know if that's you're
On Apr 21, 2006, at 7:45 AM, Clint Ecker wrote:
> Hey everyone, I'm not considering this a "problem" so much as it's
> annoying. I moved a project I'd been running locally under
> mod_python to a
> shared server (on Dreamhost) using fcgi. I've noticed that when I
> first
> visit the site, it
Hey everyone, I'm not considering this a "problem" so much as it's annoying. I moved a project I'd been running locally under mod_python to a shared server (on Dreamhost) using fcgi. I've noticed that when I first visit the site, it takes somewhere between 1-10 seconds to actually load the index
tonemcd wrote:
>I don't understand why a more generic form of this tag isn't available;
>
>{% datatofillinthetemplate "templates/macrosnippet.html" %}
>
>Is there a philosophical reason why this doesn't exist
>
>
Inclusion tag doesn't always just renames context vars. It can (and very
often do
Hi BeeGee,
My impression is that your first statement is correct, but not your
second:
To use the query-cache with MySQL, you either need to use MyISAM tables,
or if you use InnoDB tables and transactions, then you need to use at
least MySQL version 4.1.1
This is not related to Django.
-Or
I don't know if this is helpful at this point, but on my MySQL 5 server,
the query cache hit count is quite high for Django queries.
--Ned.
Beegee wrote:
> This is a part from the manual of MySQL: "In MySQL 4.0, the query cache
> is disabled within transactions (it does not return results). Beg
I don't understand why a more generic form of this tag isn't available;
{% datatofillinthetemplate "templates/macrosnippet.html" %}
Is there a philosophical reason why this doesn't exist?
Cheers,
Tone
--~--~-~--~~~---~--~~
You received this message because you
Ivan,
that *does* look like EXACTLY what I need. Great!
Thanks a lot for your detailed response -- I will try it out as soon as
I'm off work and back to my pet project :-)
Cheers,
Daniel
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Hi,
I'd like to model the following situation:
1. there are a writers (instance of MyUser class) who can write several
Note's
2. each Note can have several readers (instances of MyUser class)
eg. we have user1, user2, user3 and user4
user1 writes note1 that needs to be read by user2 and user3
44 matches
Mail list logo