Hi,
I'm having a strange problem right now, and I couldn't find any reference yet.
I'm starting with a fresh new project, add a very simple model and
register this model with the admin app.
Like the example files below. Point is, that I use translated texts as
field names.
The problem I'm having:
Hi,
maybe I missed something in you explanation, but if you want the same
code powering multiple sites and each of the sites' data reside in
their own database, while all sites still have the same model (this is
were I'm unsure if I understood you correctly), why don't you simply
use multiple setti
Hi everyone,
one thing I would take into consideration, when evaluating
languages/frameworks is the community.
And I cannot stop being amazed at the Python/Django people.
I mean just look at this thread:
Someone comes in with a (serious) question, that would usually end in
flamebait and religious
Hi Thomas,
how did you make sure, that the tests are read-only? Did you apply any
special measures/tricks (like using a special DJANGO_SETTINGS_MODULE,
that has read-ony access to the database), or are your tests read-only
by convention and you trust the developer that he/she does the
RightThing?
Hi Bob,
this not a Django specific question/problem but more a general Python question.
The information you are looking for is most likely located in the
os.environ object.
So take a look at this in your python commandline/shell
>>> import os
>>> [i for i in os.environ.items()]
and look for the
Hi there,
are there any plans on providing something like a save_or_update()
method for model objects?
I haven't found any ticket or other information regarding this.
Maybe this is considered bad practice, but then I would be very
interested to know why, if it's the case.
Thanks for your help
Be
Hi,
I would like to add some custom mass-editing capabilities to the admin
app, and for this I would like to know if it's possible to extend the
list template of the admin app.
Looking at the code in django/contrib/admin/views/main.py I see, that
the template is entirely dynamically created (whic
7 matches
Mail list logo