this is question of how list one element of a queryset in template.
can somebody help me, thanks!
On 9月20日, 下午2时04分, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> i have a templatetags as following:
>
> {% load bookmarks.templatetags.commrate %}
> {% rate_for_object suburb as rate_
On 9/20/07, cesco <[EMAIL PROTECTED]> wrote:
>
> Thanks for the clarification.
>
> Basically the view I was trying to test returns a list of list of
> querysets and, for some combination of parameters, the queryset is
> empty, that is, it returns a list containing an empty list. Shouldn't
> the co
Thanks for the clarification.
I understand now the problem regarding doctests and the comparison of
the same objects. The thing I'm still missing is how can the test fail
when I'm comparing a list containing an empty list with a list
containing an empty list as well. No model object is involved i
i have a templatetags as following:
{% load bookmarks.templatetags.commrate %}
{% rate_for_object suburb as rate_list %}
{% for rate in rate_list %}
rate: {{ rate.rate }}
{% endfor %}
it works well for me, but i want to list the element as
{{ rate_list[1].rate
I'm running into issues with the MEDIA_URL and that cursed trailing
slash. Here's what the documentation says about MEDIA_URL:
"Note that this should have a trailing slash if it has a path
component." Good examples given are: http://media.lawrence.com and
http://www.example.com/static/
I've foun
On 20-Sep-07, at 9:01 AM, Graham Dumpleton wrote:
>> one caveat here - if you are running a site on shared hosting with
>> soft RAM limit - like the 40 MB webfaction account, then it is wise
>> to bypass mod_python for media to avoid those nasty monday morning
>> mails about exceeding your limit
On Sep 20, 12:52 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 20-Sep-07, at 8:09 AM, Graham Dumpleton wrote:
>
> > All those warnings about using the same Apache to serve static
> > documents as Django are generally totally meaningless to the average
> > user. This is because the load on
hi,
I have choices like this:
HEALTH_CHOICES = (
('G',_("Good")),
('A',_("Average")),
('P',_("Poor")),
)
my site is english and finnish. These choices are used in several
models. When finnish is on, they get translated in the web interface.
I also generate reports in repo
I just realized that google groups totally mangled the linebreaks with
wordwrapping and similar.
Here's the same on dpaste: http://dpaste.com/20145/
jose
On Sep 19, 10:48 pm, [EMAIL PROTECTED] wrote:
> Hello, all.
>
> I have a login function for my site that is supposed to test for
> cookie sup
Thx a lot...I think I miss that chapter,sorry..
This problem has been solved..
-邮件原件-
发件人: django-users@googlegroups.com [mailto:[EMAIL PROTECTED]
代表 James Bennett
发送时间: 2007年9月20日 10:55
收件人: django-users@googlegroups.com
主题: Re: Where can I find the templatetag called "humanize" in Djan
On 9/19/07, beck917 <[EMAIL PROTECTED]> wrote:
> Where can I find the templatetag called "humanize" in Django application
> components "django-registration "
By looking at Django's documentation:
http://www.djangoproject.com/documentation/add_ons/#humanize
I thought I might finally be safe remo
On 20-Sep-07, at 8:09 AM, Graham Dumpleton wrote:
> All those warnings about using the same Apache to serve static
> documents as Django are generally totally meaningless to the average
> user. This is because the load on an average Apache site is no where
> near enough for it to be of concern.
Where can I find the templatetag called "humanize" in Django application
components "django-registration "
When I run the register page,there raise a error "'humanize' is not a valid
tag library: Could not load template library from
django.templatetags.humanize, No module named humanize"
I can't
Hello, all.
I have a login function for my site that is supposed to test for
cookie support with request.session.set_test_cookie() and friends, but
I cannot seem to get request.session.test_cookie_worked() to return
True.. ever... Just trying to print the value of
request.session['testcookie'] re
On Sep 20, 10:28 am, Steve Potter <[EMAIL PROTECTED]> wrote:
> > Django can be run fine under Apache 1.3 using mod_wsgi.
>
> > The only issue is whether they do really allow you to add additional
> > Apache modules to the installation.
>
> > Graham
>
> This is interesting... It is possible to in
On Sep 20, 12:16 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 20-Sep-07, at 12:23 AM, Steve Potter wrote:
>
> > I'm already quite sure I don't want to install mod_python on the
> > existing Apache after reading all of the warnings about using the same
> > Apache to serve static documents
WOW~~It's so cool...Great tutorial~!~thx~~~
2007/9/20, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
>
> Here's a good post I saw on vblogging: http://blog.go4teams.com/?p=56
>
> Hope it's helpful,
>
> - Lis
>
>
> >
>
--~--~-~--~~~---~--~~
You received this message beca
On 20-Sep-07, at 12:23 AM, Steve Potter wrote:
> I'm already quite sure I don't want to install mod_python on the
> existing Apache after reading all of the warnings about using the same
> Apache to serve static documents and Django.
I am not sure exactly what you mean by this. mod_python is th
Here's a good post I saw on vblogging: http://blog.go4teams.com/?p=56
Hope it's helpful,
- Lis
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-user
Mike B: I saw that earlier but, obviously, loved it!
On Sep 19, 6:08 pm, "Mike B." <[EMAIL PROTECTED]> wrote:
> RailsEnvy's outrageous
> parody:http://www.railsenvy.com/2007/9/10/ruby-on-rails-vs-django-commercial-7
>
> Sorry guys, but I couldn't resist...
>
> Cheers,
>
> Mike Blass
--~--~
This is great thanks! You were one step ahead of me on the display.
I'm still reading up on customizing the admin interface, but hopefully
something in there will help me adding any javascript if it is needed.
Thanks!
On Sep 19, 3:25 pm, jake elliott <[EMAIL PROTECTED]> wrote:
> hi kevin,
>
> yo
I'm using django 0.96 / python 2.5.1 / ubuntu 7.04 but I got the 00903
Oracle error and I'm trying to use the trunk version.
I follow the instruction on http://www.djangoproject.com/documentation/install/
But I got:
svn: Requisição REPORT falhou em '/svn/!svn/vcc/default'
svn: REPORT de '/svn/!s
On 9/20/07, Carlos Hanson <[EMAIL PROTECTED]> wrote:
>
> Greetings,
>
> I am using the current svn checkout of the trunk and would like to
> include the multiple-db-support branch. What is the best way to do
> this? I will understand if the answer is read the svn manual (it's on
> my list of thi
>
> Django can be run fine under Apache 1.3 using mod_wsgi.
>
> The only issue is whether they do really allow you to add additional
> Apache modules to the installation.
>
> Graham
This is interesting... It is possible to install additional modules
with cpanel, it just makes updating for new r
>
> 5. Use a different server.
>
> Unless you are on what cPanel calls the bleeding edge, you're running
> Apache 1.3 which is useless for serving Django. That leaves you with
> either #3 or #4. #3 has issues because cPanel wants to bind Apache to
> all IP addresses. I had issues (though I didn't
On 9/20/07, cesco <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'd like to test a query and the data returned by that query is a list
> containing a list of objects. For example:
> [[, , ..., ]]
>
> If I try testing using unittests I get the following error:
> AssertionError: [[]] != [[]]
> though to me
On 9/20/07, johnny <[EMAIL PROTECTED]> wrote:
>
> Problem installing fixture 'c:\mysite\apps\category\fixtures
> \initial_data.yaml': Invalid model identifier:
> 'apps.category.models.Category'
>
> initial_data.yaml
> [{
> "pk": "1",
> "model": "apps.category.models.Category",
>
On 9/20/07, johnny <[EMAIL PROTECTED]> wrote:
>
> this error is due to auto incremented primary key. you can't have
> empty fixture file.
The test suite doesn't currently check serialization of AutoFields.
However, this would be a valuable test to add. Please open a ticket
for this issue; if you
On 9/20/07, Richard Dahl <[EMAIL PROTECTED]> wrote:
> I believe that that is a known bug, thought I do not know details and have
> not had any problems myself, as I have never tried to serialize a decimal.
Known to who? I'm not aware of any current Decimal serialization
issues, and a quick search
On 9/19/07, Frank Peterson <[EMAIL PROTECTED]> wrote:
>
> TRIM would delete any whitespace from the string (tabs, newlines,
> spaces, ...). SPACELESS comes close as it will convert all the
> whitespace into just 1 space.
This behaviour has changed in the SVN version of Django. Now spaceless
will
Check it out:download free,stock information,knowledge base,hot
videos,hot games and hot tickets...
http://groups.google.com/group/all-good-things/web/very-useful-websites
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gro
Greetings,
I am using the current svn checkout of the trunk and would like to
include the multiple-db-support branch. What is the best way to do
this? I will understand if the answer is read the svn manual (it's on
my list of things to do).
Thanks.
Carlos Hanson
--~--~-~--~~
On Sep 20, 8:39 am, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]>
wrote:
> On 9/19/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
>
> > Not properly though.
>
> Indeed -- the auth handler has always been of "works-for-me" quality;
> I don't know nearly enough about Apache to write a proper one. I would
hi jeff -
django devs are in the process of moving servers so i think this is
probably just a temporary issue. fwiw i am able to 'svn up' right now
with no problem :|
best,
jake
jeffself wrote:
> I've never run into this problem before but all of a sudden its not
> working. My source is locat
On 9/19/07, jeffself <[EMAIL PROTECTED]> wrote:
>
> I've never run into this problem before but all of a sudden its not
> working. My source is located in /opt/django_src. I run 'sudo svn
> update' and I'm now getting errors.
>
> svn: PROPFIND request failed on '/svn/django/trunk'
> svn: PROPFIN
I've never run into this problem before but all of a sudden its not
working. My source is located in /opt/django_src. I run 'sudo svn
update' and I'm now getting errors.
svn: PROPFIND request failed on '/svn/django/trunk'
svn: PROPFIND of '/svn/django/trunk': Could not read status line:
Connect
On 9/19/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
> Not properly though.
Indeed -- the auth handler has always been of "works-for-me" quality;
I don't know nearly enough about Apache to write a proper one. I would
be thrilled and delighted if someone who did would step forward and
write som
On Sep 19, 10:46 pm, Robin Becker <[EMAIL PROTECTED]> wrote:
> Graham Dumpleton wrote:
>
> .
>
> >>> In 2.0 there seems no way to provide another
> >>> authorizer without writing an apache module.
> >> Correct.
>
> > Whoops. Not strictly true. You can write one with mod_python by
> > imple
On Sep 20, 8:03 am, "Peter Baumgartner" <[EMAIL PROTECTED]> wrote:
> On 9/19/07, Steve Potter <[EMAIL PROTECTED]> wrote:
>
> > I currently have a dedicated server running a Cpanel installation with
> > several virtual hosts. I would like to install Django on this server
> > and as far as I can t
I think I will incorporate his work as it's far more extensive than
the pirate list I used.
On Sep 19, 11:55 pm, Nowell <[EMAIL PROTECTED]> wrote:
> Jacob wrote something like this a while
> agohttp://toys.jacobian.org/misc/pirate.py.txt
>
> On Sep 19, 5:26 am, Scott Benjamin <[EMAIL PROTECTED]>
Florian Lindner skreiv:
> Hello,
> a common problem I have is that I have references in my main template like CSS
> or an background image:
>
>
>
> This template is used within different paths. Therefore I need to have the
> styles.css availabe in every path the template could be used.
> An alter
RailsEnvy's outrageous parody:
http://www.railsenvy.com/2007/9/10/ruby-on-rails-vs-django-commercial-7
Sorry guys, but I couldn't resist...
Cheers,
Mike Blass
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Dja
Hi,
I'd like to test a query and the data returned by that query is a list
containing a list of objects. For example:
[[, , ..., ]]
If I try testing using unittests I get the following error:
AssertionError: [[]] != [[]]
though to me the expected output and the one I get look identical.
If I tr
On 9/19/07, Steve Potter <[EMAIL PROTECTED]> wrote:
>
> I currently have a dedicated server running a Cpanel installation with
> several virtual hosts. I would like to install Django on this server
> and as far as I can tell, I have several options.
>
> 1. Add mod_python to existing Apache inst
On 9/19/07, Landlord Bulfleet <[EMAIL PROTECTED]> wrote:
...
>
> sum is property of a model object in our database
> (models.DecimalField(max_digits=7, decimal_places=2)) & f_c.rate is a
> Decimal constructed using Decimal(string) construction (Decimal is imported
> with "from decimal import Decima
FIX: "model": "category.Category",
NOT this: "model": "apps.category.models.Category",
--~--~-~--~~~---~--~~
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@goog
this error is due to auto incremented primary key. you can't have
empty fixture file.
--~--~-~--~~~---~--~~
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@googlegr
hi kevin,
you could convert to int in the model's save() method
class MyModel(models.Model):
def save(self):
self.hexval = int(str(self.hexval), 16)
super(MyModel, self).save()
or whatever hex->decimal method you need for how you have the hex val
stored.
but then how to get it
I believe that that is a known bug, thought I do not know details and have
not had any problems myself, as I have never tried to serialize a decimal.
-richard
On 9/19/07, robo <[EMAIL PROTECTED]> wrote:
>
>
> Hmm ... I tested these in non-Django templates and Django itself gave
> me no errors. Bu
I currently have a dedicated server running a Cpanel installation with
several virtual hosts. I would like to install Django on this server
and as far as I can tell, I have several options.
1. Add mod_python to existing Apache installation
2. Add FastCGI to existing Apache installation
3. In
Hmm ... I tested these in non-Django templates and Django itself gave
me no errors. But now that I've tested it on a Django template, it's
giving me "Decimal("0.00") is not JSON serializable" errors.
--~--~-~--~~~---~--~~
You received this message because you are
robo,
I think you may be looking at this the wrong way. The way I am using JSON
is to pass server generated data from django to my javascript callback on
the client. That is it. when I make a request from the client to the server
I do things exactly like I would do a "Web 1.0" application. When
Thanks Jonathan and Graham, that got me up and running.
--~--~-~--~~~---~--~~
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 t
from django.db import models
from django.contrib.auth.models import User
class Category(models.Model):
id = models.AutoField(primary_key=True)
parent_id = models.IntegerField()
name = models.CharField(maxlength=200)
Problem installing fixture 'c:\mysite\apps\category\fixtures
\initi
Richard, it still doesn't seem like Django can iterate through json.
All we can do is stuff data into div tags. In the "{% if form %}"
statement of yours, is "form" the object that you got from "var myobj
= response_obj.form;" ? If it is, then you might have something
special going on there that I
In the admin interface if someone enters a number in hex, then it
fails the validation test. I've managed to make it pass the validation
test, but now the number gets passed in hex to the back-end database
(which does not support hex). Any ideas on how I might be able to
convert the number to an i
On 9/19/07, Joe Holloway <[EMAIL PROTECTED]> wrote:
> On 9/19/07, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote:
> >
> > On 9/19/07, Joe Holloway <[EMAIL PROTECTED]> wrote:
> > > Anyone give me a nudge in the right direction?
> >
> > Posting the model you're working with is gonna help quite a bit.
>
On 9/19/07, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote:
>
> On 9/19/07, Joe Holloway <[EMAIL PROTECTED]> wrote:
> > Anyone give me a nudge in the right direction?
>
> Posting the model you're working with is gonna help quite a bit.
> Chances are you've got something wrong there.
You are right.
On 19 Wrz, 16:37, Rob J Goedman <[EMAIL PROTECTED]> wrote:
> Tomasz,
>
> The fixture is breaking with ' "2007-09-17 09:17:57.890755", ', after
> revision 6329 it either
> started to add the subseconds or can't read them anymore. Not sure if
> there are more instances
> of such a time format. Remov
> TRIM would delete any whitespace from the string (tabs, newlines,
> spaces, ...). SPACELESS comes close as it will convert all the
> whitespace into just 1 space.
Should TRIM delete *all* whitespace, or just leading/trailing
whitespace? Trim functions usually just remove leading/trailing
whi
Hello,
I've svn updated my working copy of django and started getting the
following error:
TemplateSyntaxError at /
Template u'../common/searchForm.html' cannot be extended, because it
doesn't exist
This is happening while processing another template, ie:
/myproj/templates/specific/searchForm.
Sure, we can do this, but this doesn't provide a nice
application-level way of adding this to the admin listing.
At the company I work for, we have over 100 websites we deploy for
(and we are just starting to transition to Django). We deploy each
application individually depending on a client's
Yes, I refering to that.
Many thanks,
Xan.
PS: There is a ticket for that, that "officially" say that you
say. ;-)
http://code.djangoproject.com/ticket/5534
On Sep 18, 8:27 pm, Horst Gutmann <[EMAIL PROTECTED]> wrote:
> You mean an error telling you that you need to set the
> DJANGO_SETTINGS_MOD
On 9/19/07, Joe Holloway <[EMAIL PROTECTED]> wrote:
> Anyone give me a nudge in the right direction?
Posting the model you're working with is gonna help quite a bit.
Chances are you've got something wrong there.
Jacob
--~--~-~--~~~---~--~~
You received this messa
I'm a little stumped on this one, though admittedly I'm still learning
to read python stacktraces so it could be something obvious to the
trained eye.
This happens with the latest development version of Django and also
with 0.96. I have an existing MySQL database and I used 'inspectdb'
to rever
Hi all,
I used to overwrite DEFAULT_DATETIME_INPUT_FORMATS in my settings.py,
to allow for french date formats.
It used to work perfectly, but since rev 6368, it raises a exception.
Anyone knows what's going on ?
Regards,
Olivier
settings.py:
import django.newforms.fields
django.ne
Tim,
Here is my Price class
class Price(models.Model):
name = models.DecimalField(max_digits=6, decimal_places=2)
price_cat = models.ForeignKey(PriceCategory)
def __str__(self,):
return str(self.name)
class Admin:
pass
//
I guess my 'return str(self
Hi,
> But I want it to be listed along with the rest of the admin listing
> for that app.
I may not have understood what you have in mind, but why don't you add
something after the line 39 of contrib/admin/templates/index.html (or
actually your copy of it):
{% for model in app.models %}
...
> I guess the order_by('price') is working. However, it's not
> working how I want it to. When I do the order_by on price
> django think that a price of 59.99 is greater than a price of
> 129.99. I guess it's looking at the first character and since
> a 1 is less than a 5 it puts the 129.99 pri
class Category(models.Model):
id = models.AutoField(primary_key=True)
parent_id = models.IntegerField()
name = models.CharField(maxlength=200)
Problem installing fixture 'c:\mysite\apps\category\fixtures
\initial_data.yaml': 'NoneType' object has no attribute 'anchor'
What is the iss
Hello,
For a project we're working on, we need a custom view that's available
only to administrators. It's not the traditional add/edit/delete
stuff, and the generic admin interface doesn't cut it. That's fine, I
can write my own view. (They need to upload a CSV file, which adds
and updates so
I guess the order_by('price') is working. However, it's not working
how I want it to. When I do the order_by on price django think that a
price of 59.99 is greater than a price of 129.99. I guess it's
looking at the first character and since a 1 is less than a 5 it puts
the 129.99 price first.
Tomasz,
The fixture is breaking with ' "2007-09-17 09:17:57.890755", ', after
revision 6329 it either
started to add the subseconds or can't read them anymore. Not sure if
there are more instances
of such a time format. Remove the .nn part to fix it.
I've been running on r6329 for several
TRIM would delete any whitespace from the string (tabs, newlines,
spaces, ...). SPACELESS comes close as it will convert all the
whitespace into just 1 space.
I'm stuck on 0.91 at work and I dont think they plan on upgrading
anytime soon (its beyond my control)
I'm not sure SPACELESS doesnt work
Hi,
> > Is there a way to switch django's relationship building from INNER
> > JOIN to LEFT OUTER JOIN ?
> > It causes unexpected behaviour when filtering on both parent and child
> > tables.
>
> Not really. There is a limited ability to control the join behaviour
> with Q objects, but this isn't
we´re having a site online for three days, where we use caching with
patch_vary_headers for about 10 different pages.
our cache statistics (memcache):
# memory usage: 205.2 MB
# keys in cache: 5196 of 41009
i´m a bit worried about the huge amount of different keys. how´s that
possible with only
yep,the new project name is newsite."Mysite" is my fault.I have tried
to make a directory in some other paths,however,the error is still
existing.
Perhaps I will install apache and mod_python.
2007/9/19, Ramiro Morales <[EMAIL PROTECTED]>:
>
> On 9/19/07, Hannus <[EMAIL PROTECTED]> wrote:
> >
> >
On 17 Wrz, 16:57, Tomasz Melcer <[EMAIL PROTECTED]> wrote:
> On 17 Wrz, 16:45, "Russell Keith-Magee" <[EMAIL PROTECTED]>
> wrote:> Perhaps I wasn't clear - I need the actual _data_ - that is, your
> > model, and a fixture file that can't load. I know how to load a
> > fixture - what I don't know i
Nis Jørgensen schreef:
>>
> What is "self" referring to? Can you give us a stack trace? And which
> version of Django are you running (it is especially important to know if
> it is before or after the unicode branch got merged).
>
> Nis
self is referring to an object that i made to construc
On 9/19/07, Hannus <[EMAIL PROTECTED]> wrote:
>
> Hi,guys
> After input the "manage.py runserver" ,there is the following
> errors,what's wrong?The process of installation was always followed
> the documents.My OS is winxp sp2,python is2.51.
> --
> Thanks for taking a look. Still feeling my way on what I need to post
> to be most helpful.
I'd say you did correctly, describing the problem and not
flooding the list with 20 diff. config files and code...if the
list needs more info, we usually ask for it :) However, for
future reference,
Hi,guys
After input the "manage.py runserver" ,there is the following
errors,what's wrong?The process of installation was always followed
the documents.My OS is winxp sp2,python is2.51.
---
---
On Sep 19, 10:18 pm, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
> > OK my code looks like the standard django/contrib/auth/modpython.py the
> > patch is
>
> > ***
> > *** 39,44
> > --- 38,54
>
> ># check the password and any permission given
> >if
Hi Alex,
I had the same problem and it almost drove me crazy. I even changed
from MySQL to PostgreSQL to rule out the MySQL-DB constraints issue.
But the solution was far more simple: the command 'syncdb' already
populates some tables, e.g. django_content_types and loaddata
therefore tries to up
On Sep 19, 10:05 pm, Robin Becker <[EMAIL PROTECTED]> wrote:
> Graham Dumpleton wrote:
> > On Sep 19, 3:05 am, Robin Becker <[EMAIL PROTECTED]> wrote:
> >> I find I can use django users and groups to authorize apache locations and
> >> directories using a modified version of modpython.py(I just ha
Graham Dumpleton wrote:
.
>>
>>> In 2.0 there seems no way to provide another
>>> authorizer without writing an apache module.
>> Correct.
>
> Whoops. Not strictly true. You can write one with mod_python by
> implementing a authzhandler(). You just need to know what you are
> doing. ;-)
>
We have the following weird problem, that we are unable to deliberately
replicate no matter what we try...
It seems to appears only when our server (running python2.5.1, daily updated
django svn, mod_python 3.3.1) has been running for at least maybe 4-5
hours...
After an apache restart there is no
Jacob wrote something like this a while ago
http://toys.jacobian.org/misc/pirate.py.txt
On Sep 19, 5:26 am, Scott Benjamin <[EMAIL PROTECTED]> wrote:
> Today I was looking for some middleware that would allow changing of
> the text of a site into Pirate Talk without effecting the content, as
>
Hello,
i've recently found out that django does not cache connections to the
database but connects for every request and disconnects afterwards. I
don't know if this is fine for postgresql/database servers on the same
machine. Maybe using pg_pool helps a lot for postgres. However, in our
setup, w
You need two separate VirtualHost definitions, one for each site. You
only have one. The ServerName directive in each VirtualHost should
match the respective site name.
Graham
On Sep 19, 7:37 pm, tonybanjo <[EMAIL PROTECTED]> wrote:
> I'm configuring a new server that needs to run a standard web
Graham Dumpleton wrote:
> On Sep 19, 3:05 am, Robin Becker <[EMAIL PROTECTED]> wrote:
>> I find I can use django users and groups to authorize apache locations and
>> directories using a modified version of modpython.py(I just hacked it to
>> check
>> for required groups).
>>
>> I have some diffi
On Sep 19, 3:05 am, Robin Becker <[EMAIL PROTECTED]> wrote:
> I find I can use django users and groups to authorize apache locations and
> directories using a modified version of modpython.py(I just hacked it to check
> for required groups).
>
> I have some difficulties with this simple scheme.
>
On 19-Sep-07, at 4:41 PM, Russell Keith-Magee wrote:
> However, it certainly
> isn't high on my list of priorities. In the meantime, you can always
> drop and rebuild the entire database, or fall back to raw SQL DROP
> TABLE statements, managed manually.
not a problem for me as this is only th
On 9/19/07, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
>
> hi,
>
> was trying sqlreset after a long time. It does not do the drop and
> create statements in the proper order:
It never has, and in its current form, it will be very difficult to
fix. sqlreset operates on a per-app basis; however,
hi,
was trying sqlreset after a long time. It does not do the drop and
create statements in the proper order:
say table foo has a foreign key to table bar, then foo must be
dropped first and then bar. In creation, bar must be created first
and then foo. Otherwise, in both cases the sql fai
On 9/19/07, tonybanjo <[EMAIL PROTECTED]> wrote:
>
> I'm configuring a new server that needs to run a standard website
> alongside a Django application. Everything is installed correctly but
> browsing to the site goes straight to the Django app, I can't see the
> main site at all as it seems Djan
Benedict Verheyen skrev:
> Hi,
>
> a while back i updated my python isntall to version 2.5.1. on a Windows
> 2000 server. It also runs Apache 2.2 & mod_python for Django.
> Since the python upgrade, i got this "unknown encoding cp0" error.
>
> I hadn't changed anything to the code. The errors alw
Linux is linux after all. The kernel remains largely the same, unless
you get a patchy distro.
The choice is all about your knowledge. If you know your way around in
linux, it doesn't really matters. If you're a bit *newer*, you might
want to go with a distro with strong repos and a good package
I'm configuring a new server that needs to run a standard website
alongside a Django application. Everything is installed correctly but
browsing to the site goes straight to the Django app, I can't see the
main site at all as it seems Django takes over.
What I'd like to do is have a URL like this
Today I was looking for some middleware that would allow changing of
the text of a site into Pirate Talk without effecting the content, as
today was Talk like a Pirate day. http://www.talklikeapirate.com/ .
There wasn't anything available for Django that would change site text
into "Pirate Talk".
1 - 100 of 106 matches
Mail list logo