On 7/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> An analogous operation would be:
> playlist_aggregates = PlaylistAggregation.objects.order_by('-count')
> playlists = [p.playlist for p in playlist_aggregates]
The query itself looks like it's just a query over Playlist objects
where
Good point, that's actually kind of embarassing. I don't actually
expect to be able to use that syntax but I thought it would be
constructive.
Let me try again:
I have a QuerySet of PlaylistAggregation objects. Each
PlaylistAggregation object is related to one Playlist object. I want
to
On 7/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> This may sound like a strange inquiry, but is there any way using
> Django's ORM to "shift" a queryset? To explain my question, I'll
> provide an example.
...
> Now, I want to "shift" my queryset to be a queryset of JUST the
Ah nice. That will do the trick. Thanks!
--~--~-~--~~~---~--~~
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
Hello,
This may sound like a strange inquiry, but is there any way using
Django's ORM to "shift" a queryset? To explain my question, I'll
provide an example.
class Playlist(models.Model):
title = models.CharField(maxlength=256, null=True, blank=True)
user = models.ForeignKey(User)
Thanks for the help.
That's going to save me heaps and heaps of time.
Thanks again.
Goran
On Jul 25, 10:01 am, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> On 7/24/07, gorans <[EMAIL PROTECTED]> wrote:
>
>
>
> > I though that there could be a way to trick Django into reading
> > special
YML:
Thanks for the follow up bug report. It looks like I was using
ExeMaker incorrectly.
In the utilities folder is a file named 'update.bat'. Change the
following line:
exemaker %CD%\Utilities\django-admin.py %CD%\Utilities
To read:
exemaker -i %CD%\Python25\python.exe
hi,
Here's another newbie stupid question ... I've heard testing
everywhere from software development world, and the testing I know is
to run the application I am developing and do all the possibilities
that I user might do to make sure that the application behaves how it
should be.
I am
You might want to look at #4115, which adds a thumbnail filter:
http://code.djangoproject.com/ticket/4115
Using this, instead of making multiple copies of the image when you
upload it, you simply upload the original highest-quality image. When
the thumbnail filter is used in a template, it
Thank you all for the constructive, informative and supportive posts.
I think more time and study will put me right.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
Hello everyone,
On 7/25/07, Andrey Khavryuchenko <[EMAIL PROTECTED]> wrote:
> Yes, I read carefuly your question and thought the answer was
> straighforward. I don't understand why you don't want decorators, but you
> could just check the decorator definition to read what it does and copy
>
On 7/25/07, Toby Dylan Hocking <[EMAIL PROTECTED]> wrote:
> However, I thought that the contrib/ subdirectory of the django
> distribution would be the most natural place to install it, since it is an
> add-on app that is meant to be used by other apps. Can you suggest another
> location that
On 7/25/07, Sebastian Macias <[EMAIL PROTECTED]> wrote:
>
> When I run the app with the development server everything is fine, I
> can go to http://localhost:8000/accounts/login/ and I get no errors
> but when I test it using apache/mod_python I get the following error.
>
> ImportError at /
> No
On 7/25/07, Przemyslaw Wegrzyn <[EMAIL PROTECTED]> wrote:
>
> I'd like to use fixtures to initialize all my authentication data, so
> I'd like to disable this question as well:
...
> Is there any option to do it ? Well, I have not enough time to check the
> sources myself :-/
Yes. You can use
On 7/25/07, Peter Melvyn <[EMAIL PROTECTED]> wrote:
>
> On 7/25/07, Przemyslaw Wegrzyn <[EMAIL PROTECTED]> wrote:
>
>
> > Thanks! I overlooked the 'fixtures' feature, I'll give it a try.
>
> I don't know wjhat kind of SQL server do you use, but If I'm not
> mistaken, fixtures are not fully
On 7/24/07, gorans <[EMAIL PROTECTED]> wrote:
>
> I though that there could be a way to trick Django into reading
> special development settings for me, something like having a settings
> 'package' import separate settings files:
No need for any special handling - just use the --settings option
Hi list!
In the last past hours I've been thinking about how
to include images into my django blog application.
At first, I added a new field to my "Entry" django
model and named it "image". This worked but I decided that
(maybe) I want to include more than one image in a blog
entry. So I
Today I had issues getting django registration to work in my django
project without having to modify every namespace inside django
registration. Basically what I ended up having to do is adding django
registration to my site-packages folder so I don't get errors like "No
module named
On 7/24/07, omat <[EMAIL PROTECTED]> wrote:
> Why does direct_to_template require a database at all?
>
It doesn't directly require it. You must be using something that does.
Are you using sessions?
It does use RequestContext, which runs TEMPLATE_CONTEXT_PROCESSORS,
which includes
Hi Russ,
Thanks for the advice. I can certainly change the name to
django-dataplot.
However, I thought that the contrib/ subdirectory of the django
distribution would be the most natural place to install it, since it is an
add-on app that is meant to be used by other apps. Can you suggest
Unfortunately, this doesn't work without a primary key needed for many-to-
many relations that are used in the model.
Previous tip with modifying base fields before instantiating a form
object works better.
On Tue, 24 Jul 2007 22:37:06 +, Patrick wrote:
> Seems like an elegant and
Seems like an elegant and logical solution. Thanks, Michael!
On Tue, 24 Jul 2007 21:04:50 +, Michael wrote:
> When I came across the same issue (model default values not being
> selected), I simply stopped using form_for_model for new forms and
> instead created an instance of my model in
Maybe you could do something like this?
filterargs = {}
filterargs[fieldname] = some value
# or for other types of filtering
filterargs["%s__istartswith" % fieldname] = somevalue
mdl.objects.filter(**filterargs)
You might also want to take a look at the function get_model()
from
walterbyrd wrote:
>
> On Jul 19, 4:08 pm, FrankW <[EMAIL PROTECTED]> wrote:
>> in your shell, if you cd into /home/walterbyrd/django.niche-software/
>> django
>> and type ./dispatch.fcgi, what do you get?
>>
>
>
> ./dispatch.fcgi
> WSGIServer: missing FastCGI param REQUEST_METHOD required by
On 7/25/07, Przemyslaw Wegrzyn <[EMAIL PROTECTED]> wrote:
> Thanks! I overlooked the 'fixtures' feature, I'll give it a try.
I don't know wjhat kind of SQL server do you use, but If I'm not
mistaken, fixtures are not fully supported on MySQL with InnoDB
engine.
> You can specify it upon form creation. Here is an example of how you
> could use prefixes for multiple model forms:
Thanks, Nathan.
That's very useful.
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
This is half solving the problem. with your fix in the start.bat now
when i launch python it start python on the memory stick but for some
reasons dajngo-admin.exe call python installed on my computer not the
one in your package.
However this is working fine "E:\instant_django\django>python
Hello group,
I have some models in my app that have several fields. First, my code
picks dynamically one of the models from a string-variable, sth. like:
mdl = eval(model_name), where model_name contains the name the model.
Then, I want to lookup a field in that model, but again I also only
got
You can specify it upon form creation. Here is an example of how you
could use prefixes for multiple model forms:
In your views:
from django import newforms as forms
from django.http import HttpResponseRedirect
from django.shortcuts import render_to_response
from yourproject.yourapp.models
Andrey Khavryuchenko wrote:
> PW> One option I see is to add custom statements to one of SQL files used to
> PW> initialize my application's model. Yet it's a bit ugly, isn't it ?
>
>Create this data in console or in the script and then use
> manage.py dumpdata
>to save then in json format.
I think I mentioned earlier in this thread, that I do have my take on
creating a blog here -
http://www.satchmoproject.com/trac/browser/satchmoproject.com/satchmo_website/apps
It's pretty full featured right now and makes use of the tagging and
comment_utils libraries. It still needs the feeds
Don't use a ChoiceField, but do use the select widget.
class TF(forms.Form):
blah=forms.IntegerField(widget=forms.Select(choices=((1,'one'),
(2,'two'))), initial = 2)
post = {'blah': 42}
form = TF(post)
form should validate. It would be up to you to make sure that the
Integer value is
On Jul 23, 12:40 pm, Horst Gutmann <[EMAIL PROTECTED]> wrote:
> What exactly have you done so far? It took me quite some time but now
> Django is (so far) working veeery realiably on my Dreamhost account.
>
I have asked for, and recieved, help before, but I was still unable to
solve the problem.
Hello,
In my admin interface I upload a picture of a product. We'll in my
website I will show that picture in 3 separate pages.Each page
shows the picture with different dimensions. I know that I can apply
a width and height attribute to my img tag. However, that causes the
pictures to be
johnny wrote:
> import re
> from BeautifulSoup import BeautifulSoup
> import urllib2
> from os import environ
> #from settings import *
>
> def myfunction() :
>
> environ['DJANGO_SETTINGS_MODULE'] = "mysite.settings"
> from settings import *
>
> I get an error:
> myscript.py:22:
When I came across the same issue (model default values not being
selected), I simply stopped using form_for_model for new forms and
instead created an instance of my model in memory then used
form_for_instance... for eg:
p = Post()
PostForm = form_for_instance(p)
That way the default values
Przemyslaw,
PW> I'm just trying to do is using django.contrib.auth framework.
PW> What I'd need is the possibility to create initial set of groups, users
PW> and user-group assignements, when 'syncdb' is performed.
PW> One option I see is to add custom statements to one of SQL files used
This sounds great. I created a project on Google Code:
http://code.google.com/p/django-blog-engine/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
Thanks a lot. I guess, I was not reading it well.
On Jul 24, 4:55 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On 7/24/07, akk <[EMAIL PROTECTED]> wrote:
>
> > Traceback (most recent call last):
> > File "", line 1, in
> > File
On 7/24/07, akk <[EMAIL PROTECTED]> wrote:
> Traceback (most recent call last):
> File "", line 1, in
> File "/usr/lib/python2.5/site-packages/django/db/models/base.py",
> line 40, in __new__
> model_module = sys.modules[new_class.__module__]
> KeyError: '__console__'
You'll need to
import re
from BeautifulSoup import BeautifulSoup
import urllib2
from os import environ
#from settings import *
def myfunction() :
environ['DJANGO_SETTINGS_MODULE'] = "mysite.settings"
from settings import *
I get an error:
myscript.py:22: SyntaxWarning: import * only allowed at module
One solution is to add an extra import at the bottom of your
settings.py:
try:
from localsettings import *
except ImportError:
pass
Then put localsettings.py in your svn:ignore, and override whatever
settings you need to on a per-installation basis.
On Jul 24, 2007, at 8:41 AM,
Hi!
I'm just trying to do is using django.contrib.auth framework.
What I'd need is the possibility to create initial set of groups, users
and user-group assignements, when 'syncdb' is performed.
One option I see is to add custom statements to one of SQL files used to
initialize my
Hi,
I started walking myself through exercises in django book. At chapter
V - Interacting with a database: Models. I keep getting error when I
try to create class. Otherwise my db connectivity seems fine. I can
run from
>>> django.db import connection
>>> cursor = connection.cursor()
(fine)
Awwh, Yes! Brainfart! Thank you so much. I'm glad new django doesn't
use this method anymore.
Thanks again.
On Jul 24, 2:22 pm, oggie rob <[EMAIL PROTECTED]> wrote:
> With 0.91, you use the "magic" name for db-api operations, rather than
> the model name. For example:
>
> from django.models
On Tue, 24 Jul 2007 11:51:36 -0700, Doug B wrote:
> I don't know how others have approached it, but I have a 'settings' file
> with defaults defined in one place and reference those values via
> imports in the form file and model file. For values specific for the
> app, I stick them in the
On 7/24/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote:
> You're not the first to suggest insert() and update() methods that
> explicity do SQL INSERT and UPDATE calls. I have a vague recollection
> that a decision was made about adding these calls, but a quick search
> in the ticket database
On 7/24/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote:
> You're not the first to suggest insert() and update() methods that
> explicity do SQL INSERT and UPDATE calls.
FYI: both, SQLite and MySQL support REPLACE statement to do this automatically.
I don't know how others have approached it, but I have a 'settings'
file with defaults defined in one place and reference those values via
imports in the form file and model file. For values specific for the
app, I stick them in the models file.
models.py
-
POST_DEFAULTS =
Thanks again for the bug report, I have found the problem.
Change the 'path' section of start.bat to read:
path = %CD%\Python25;%CD%\Utilities;%CD%\Utilities\svn-
win32-1.4.4\bin;%CD%\Utilities\exemaker-1.2-20041012;%CD%\Utilities
\npp.4.1.2.bin;%CD%\Utilities\sqlite-3_4_0;%PATH%
I had %PATH%
With 0.91, you use the "magic" name for db-api operations, rather than
the model name. For example:
from django.models import my_model_module
my_model_module.somemodels.get_object(...)
I think sometime before 0.91 was finished, the directory structure
changed, so you might access your models
I have considered it, but the first project is rather large and we
wanted to keep it on its own server with a separate database. I am
still at the high level design stage of the second project so it may
end up bundled with the first.
--~--~-~--~~~---~--~~
You
> Maybe the problem is with the depth parameter, but since I have a self
> reference in the offer model, I have to use depth parameter. I have
> increased the depth prameter, but I get the same error.
Sounds like it could be bug 4789, which I recently tripped over myself.
Can you increase the
> - When you instantiate your form, pass in prefix='form1' as an
> argument - all the fields on the form will get that prefix, which will
> keep the two forms distinct in the POST dictionary. This will only be
> an issue if there is an overlap in the field names on the two forms,
> but it's
hotani wrote:
> I'm about to build a new project using django that will have the same
> users as a previous project. I would like to avoid duplicating the
> existing user table. Is there a way to authenticate into the new
> project with the current user list?
The users are in the db. Unless you
That's one of the reasons I like django better than rails - Because
there's so little magic. It's all pretty straightforward.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
Michal,
MK> I suppose you read my question attentively and therefore you know that
MK> I searched the web (and django documentation of course including the
MK> transaction page). And I suppose you know that I was looking for
MK> example how to use transactions without decorators.
MK> The
> Your example is correct, and you aren't violating any 'Django principles'.
Really? Should not be there something like this?
enter_transaction_management()
try:
managed(True)
try:
...
except:
transaction.rollback()
raise ...
else:
I'm about to build a new project using django that will have the same
users as a previous project. I would like to avoid duplicating the
existing user table. Is there a way to authenticate into the new
project with the current user list?
--~--~-~--~~~---~--~~
You
> I don't think there are pre-made components that will provide you with
> all of those things, and being somewhat new to django I can only point
> you to one bit of documentation and code that I found helpful for
> pagination:
>
> http://code.djangoproject.com/wiki/PaginatorTag
Thanks. Finally
On 7/22/07, Greg <[EMAIL PROTECTED]> wrote:
>
> Is there any documentation on how to send form data to a Authorize.net
> from within a Django view?
I've done this from a Java webapp we have here. It's mostly just XML
datagram forming and parsing, using standard HTTP libs for POSTing. I
don't
I think my post got lost last night... So here's my question again:
- Original Message -
From: django-users@googlegroups.com
To: Django users
Sent: Mon Jul 23 20:53:49 2007
Subject: Trouble with last bit of Tutorial
I'm
Hi,
I develop Django sites on my mac and then publish them to another web
server. In between, they live in a happy SVN repository on my
development server.
Each time I make a change to the project's settings.py I have to then
go over and modify the live file version (in respect to the database
Russell Keith-Magee escribió:
> On 7/24/07, Chris Hoeppner <[EMAIL PROTECTED]> wrote:
>
>> Well... Actually, what I need is the same as form_for_instance, but for
>> more than a single model.
>
> Why not use multiple forms? There is nothing stopping you from putting
> multiple forms into a
Dear All,
I have a simple question, but can' find the answer in the docs.
I have two classes, a & b, in my model.py file, related via a OneToOne.
When I create an a, I would like to display its UID in the admin interface.
I've tried adding
idNumber = model.AutoField(primary_key=true)
and
YML:
Thank you for the bug report.
I thought I had tested this use case, but obviously I missed
something. I'll check into it, and get back to you with an answer.
Thanks again,
cjlesh
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Hello,
I have downloaded your package and launch the start.bat
Then in that console I have entered: "django-admin startproject
test_admin"
Unfortunatly the system raises this error message:
"""
Traceback (most recent call last):
File "E:\instant_django\django\Utilities\django-admin.py", line
Hi!
I'm starting to use newforms for most of my forms, but I run into a
problem, which I'm hope has a DRY solution, but I haven't found it yet.
Here's my model chunk:
class Post(models.Model):
status = models.CharField(
maxlength = 15,
OK, I can try it but it will require a correction because I'm not a
native speaker.
Michal
On 24/07/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote:
>
> On 7/24/07, Michal Konvalinka <[EMAIL PROTECTED]> wrote:
> >
> > The problem is that there's no example how to use transactions without
> >
La nosrta società cerca programmatori python con le seguenti conoscenze:
- Python2.4 o superiori
- Django
- PostgreSQL, MySQL, Ajax
- PHP (non indispensabile)
Coloro che fossero interessati possono inviare il CV al seguente indirizzo:
[EMAIL PROTECTED]
Saluti,
Vittorino.
On 7/24/07, Michal Konvalinka <[EMAIL PROTECTED]> wrote:
>
> The problem is that there's no example how to use transactions without
> decorators in the documentation, there's no example here in this
> mailing list... I found the example in
> django.db.transaction.py
This is a problem that should
I now believe this 'uncaught exception' just means that the return
from the query http://mydomain.com/admin/upload_progress/?0 was not
correctly parsable xml.
If I try http://mydomain.com/admin/upload_progress/?0 by hand it
returns OperationalError at /admin/upload_progress/
(1048, "Column
Hi Andrey,
I suppose you read my question attentively and therefore you know that
I searched the web (and django documentation of course including the
transaction page). And I suppose you know that I was looking for
example how to use transactions without decorators.
The problem is that there's
Better yet, don't mix your js in with your other stuff, separate out
your script and say
document.getElementByID("id_whatever").onchange = do something
On Jul 24, 3:47 am, Thomas Guettler <[EMAIL PROTECTED]> wrote:
> Am Dienstag, 24. Juli 2007 10:32 schrieb Thomas Guettler:
>
> > Hi,
>
> > how
Hello,
I have this following model structure
model category : name & description fields
model seller : name & some address fields...
model offer: category (FK to category table), name, picture, etc...
model offer_seller: offer (FK to offer), seller (FK to seller), price,
amount, etc
the
On 7/24/07, Chris Hoeppner <[EMAIL PROTECTED]> wrote:
> Well... Actually, what I need is the same as form_for_instance, but for
> more than a single model.
Why not use multiple forms? There is nothing stopping you from putting
multiple forms into a context, and populating multiple forms from a
Hi there!
I need to get a form done. The 'long' way.
Well... Actually, what I need is the same as form_for_instance, but for
more than a single model.
The actual form_for_instance is a bit too advanced for my poor python
knowledge. Any way to get this a bit easier than creating the form by
On 7/24/07, PyMan <[EMAIL PROTECTED]> wrote:
>
> Can anyone tell me why Django do this while using save()? :
The behavior comes from the Object relational mapping (key word -
Object). Since save() is an operation on an Object relational mapper,
it was established as an unambiguous mechanism to
On Mon, 23 Jul 2007 16:57:42 -0700, to_see wrote:
> Snippet #26 solved my problem, essentially in two lines. I could not
> write those lines for myself now, and I'm not certain I'll ever be able
> to do so.
I'm going to assume it's the Python code itself that is confusing you,
rather than the
MK> Hi,
MK> I would like to use transactions (in MySQL and InnoDB). I know there
MK> are decorators but I don't want to use them now. Is there any example
MK> how to use transactions without decorators? I couldn't find anything
MK> on django website, this user-group...
Quick google on
On 7/24/07, Michal Konvalinka <[EMAIL PROTECTED]> wrote:
> It works but I would like to ask If I am violating some Django
> principles or not.
Your example is correct, and you aren't violating any 'Django principles'.
Django provides decorators because it can be convenient to wrap a
whole
On 7/23/07, Chris Hoeppner <[EMAIL PROTECTED]> wrote:
> Hi there!
>
> I was wondering if this is even possible (perhaps, some middleware?).
> I'd like to have a closer look into the context that is getting rendered
> in each view, including the data I get from the RequestContext.
You might want
to_see skrev:
> "Any sufficiently advanced technology is indistinguishable from
> magic."
> Arthur C. Clarke, "Profiles of The Future", 1961 (Clarke's third
> law)
>
> Snippet #26 solved my problem, essentially in two lines. I could not
> write those lines for myself now, and I'm not
Hi,
I would like to use transactions (in MySQL and InnoDB). I know there
are decorators but I don't want to use them now. Is there any example
how to use transactions without decorators? I couldn't find anything
on django website, this user-group...
Is this correct?
def update_something(self,
On 7/24/07, Toby Dylan Hocking <[EMAIL PROTECTED]> wrote:
>
> If any of you are interested in creating data graphics for your web apps,
> try checking out the new version of my plotting framework,
> django.contrib.dataplot. Here is an example of what it can do:
Hi Toby,
Looks like a great app!
On 7/24/07, Andreas Ahlenstorf <[EMAIL PROTECTED]> wrote:
>
> Am 24.07.2007 um 04:43 schrieb Kenneth Gonsalves:
>
> > The current versions of those manuals do not seem to
> > have those sections any more - so how can you trust a group that is
> > rewriting it's history?
>
> You're always right
On Jul 24, 8:30 pm, Gábor Farkas <[EMAIL PROTECTED]> wrote:
> Graham Dumpleton wrote:
> > So, the question is, what are you trying to achieve or want? Was there
> > a specific reason for the question? Knowing what you are really trying
> > to do, might be able to suggest others things you can
Am Dienstag, 24. Juli 2007 01:57 schrieb to_see:
> "Any sufficiently advanced technology is indistinguishable from
> magic."
> Arthur C. Clarke, "Profiles of The Future", 1961 (Clarke's third
> law)
>
...
> Am I having a fairly normal introduction to a web framework? I cannot
> see this as
Graham Dumpleton wrote:
> On Jul 24, 6:28 pm, Gábor Farkas <[EMAIL PROTECTED]> wrote:
>> hi,
>>
>> how does it work exactly, when i have multiple django sites running in
>> one apache server using mod_python?
>>
>> for example, imagine that i have 10 django sites running in one apache
>> server.
On Jul 24, 8:08 pm, Eratothene <[EMAIL PROTECTED]> wrote:
> I ran into the problem of Host-based url dispatch.
>
> I need to make something like this:
> urls.py:
>
> if request.META["HTTP_HOST"] = 'blogs.example.com'
> urlpatterns += (Some patterns)
>
> if request.META["HTTP_HOST"] =
Hi all,
If any of you are interested in creating data graphics for your web apps,
try checking out the new version of my plotting framework,
django.contrib.dataplot. Here is an example of what it can do:
http://www.ocf.berkeley.edu/~tdhock/dataplot-example/
There are builtin plots that you
Am 24.07.2007 um 04:43 schrieb Kenneth Gonsalves:
> The current versions of those manuals do not seem to
> have those sections any more - so how can you trust a group that is
> rewriting it's history?
You're always right and never wrong, eh?
Sorry, but such statements as yours are plain FUD.
I ran into the problem of Host-based url dispatch.
I need to make something like this:
urls.py:
if request.META["HTTP_HOST"] = 'blogs.example.com'
urlpatterns += (Some patterns)
if request.META["HTTP_HOST"] = 'wikis.example.com'
urlpatterns += (Abosolute different patterns)
I have no
I tried to use Buildbot 0.7.5, Twisted2.5, Python2.5 on WinXP.
As I run buildbot start I got ImportError: No module named twistw.
So I edited 'C:\Python25\Lib\site-packages\buildbot\scripts\startup.py' in
launch():
# this is copied from bin/twistd. twisted-1.3.0 uses twistw, while
#
On Jul 24, 7:53 pm, David Reynolds <[EMAIL PROTECTED]>
wrote:
> On 24 Jul 2007, at 10:35 am, Graham Dumpleton wrote:
>
> > Memory use of running multiple Django instances under Apache using
> > mod_python is only one of the problems that can arise in this
> > instance. Other problems are the
On 24 Jul 2007, at 10:35 am, Graham Dumpleton wrote:
Memory use of running multiple Django instances under Apache using
mod_python is only one of the problems that can arise in this
instance. Other problems are the ability for the Django instances to
interfere with each other due to C
On Jul 24, 6:28 pm, Gábor Farkas <[EMAIL PROTECTED]> wrote:
> hi,
>
> how does it work exactly, when i have multiple django sites running in
> one apache server using mod_python?
>
> for example, imagine that i have 10 django sites running in one apache
> server.
>
> does that mean, that in every
brutimus wrote:
> {% block content %}
>
> {% include "whatever.html" %}
> {% endblock %}
This is most certainly a BOM -- Byte Order Mark of a UTF-8 charset that
your text editor has added at the beginning of the 'whatever.html'. It's
a part of UTF-8 and those symbols are normally not seen
Am Dienstag, 24. Juli 2007 10:32 schrieb Thomas Guettler:
> Hi,
>
> how can I pass the html attribute onchange="..." with newforms?
I found one solution myself:
http://code.djangoproject.com/attachment/ticket/4961/newforms.diff#preview
Adding HTML attributes to the widget
Hi,
how can I pass the html attribute onchange="..." with newforms?
I want to add it to a ChoiceField.
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send
1 - 100 of 104 matches
Mail list logo