I'm a true novice programmer, brand new to django, but lovin' it so
far. I was wondering if there was any way to do something a little
tricky via the Admin classes that could help me not write a custom
view.
Basically I'd love to do all my data entry from the Admin interface,
but I need to filte
particular Restaurant somehow using the
Admin class or other magic?
Wiley
On Jun 23, 1:13 am, "Dirk van Oosterbosch, IR labs"
<[EMAIL PROTECTED]> wrote:
> Hi Wiley,
>
> I would say your data model -as you describe it- makes more sense if
> Dishes has a foreign key to R
I may not totally understand what you are suggesting here - I can use
javascript to manipulate the data that's already on the page, but I
want to filter the choices displayed to me using information that I
have to get out of the database...will put js on that particular admin
page do the trick?
O
Here's the ultra-newbie question of the day.
I have a lil' site running well under runserver, when I hook it up to
apache2 and mod_python, something goes wrong. For the EXACT same
python/django code, the admin site and all URLS come up fine in the
built-in server. When I switch to the apache se
That did the trick, thanks guys!
Now I'm trying to figure out how to serve my static content (I think
Vincent anticipated that this would be my next problem :) )
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Dja
I posted about the exact same issue a couple days ago and someone
suggested using the js attribute of the admin class. Unfortunately as
a novice programmer this is going to take me a while to navigate so
I've moved on to other areas of my application before I get down into
it. I'm watching this
Sorry for the newbie question here, I've searched the group and all
the documentation I can find. I'm sure I'm missing something basic.
Here's the principle that I don't understand behind the practical
question I'm going to ask:
When a view only renders a single template, how does django "know"
se_header.html would use the code from base.html, but
> override the contents of block header.
>
> On 8/14/07, Wiley <[EMAIL PROTECTED]> wrote:
>
>
>
> > Sorry for the newbie question here, I've searched the group and all
> > the documentation I can fin
I was wondering if anyone else had trouble or a workaround for dumping
and loading data with mixed character sets using a postgres backend.
My data has quite a few Chinese characters, they run from my normal
installation fine, but when i dump and reload the data, it's all
corrupted. Any hints her
%}
Frustratingly, it seems to read other parts of the Chinese database
just fine...I'm not sure what's going wrong here? My database and
application are both set to UTF8
On Aug 22, 7:56 pm, Ivan Sagalaev <[EMAIL PROTECTED]> wrote:
> Wiley wrote:
> > I was wondering
and open source communities. In a
situation where I believe I've found a bug, should I first post it
here and confirm? Should I post it on the http://code.djangoproject.com
trac page?
Thanks for the help!
On Aug 23, 3:49 pm, Wiley <[EMAIL PROTECTED]> wrote:
> I started with the .96 versi
Just off the top, it looks like the get_all_tags function could be re-
written as a list comprehension. As for the more django oriented
stuff, I'll leave that to the pros.
On Jan 10, 7:12 am, "Matic Žgur" <[EMAIL PROTECTED]> wrote:
> Hi everybody,
>
> being new in Django, I'd like to ask you for
Hi guys, noob question here about setting up apache to serve up 2
different domains, each with a distinct django project. When I run
apache with only one of these hosts enabled, each works fine, its just
when I run then both at the same time, if i go to mandarinland.com, it
loads a css-free versio
ginal post...am I missing something obvious?
Wiley
On Oct 17, 9:40 am, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 17-Oct-07, at 12:19 AM, Wiley wrote:
>
> > apache with only one of these hosts enabled, each works fine, its just
> > when I run then both
add a page to your Django application which dumps out what
> is in os.environ for each site?
That seems totally possible, I'll have to dig into the documentation
to
figure it out, I will post to the thread with the results.
Thanks so much for your thorough and thoughtful reply!
Wiley
--~--
Graham,
You're right, removing the PythonPath line doesn't make any
difference, but the two virtual hosts still have the same problem...so
I guess the next thing that I will try is seeing if I can display the
environment variables via template debugging as you suggest. Thanks
aga
everyone who posted ideas on this thread!
On Oct 17, 6:27 pm, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
> On Oct 17, 5:38 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
>
> > On 17-Oct-07, at 7:31 AM, Wiley wrote:
>
> > > Kenneth and Bob, the PythonInt
, Wiley <[EMAIL PROTECTED]> wrote:
> Update on this issue, things seemed to work themselves out when I
> commented out the python eggs line in each of the virtual hosts
> settings and re-enabled the virtual hosts using the a2ensite in
> apache...
>
> I hope that this might be a h
Graham,
I am not to my knowledge using mod_cache...I certainly never set it
up, but as far as I can tell, the definitive factor was that single
NameVirtualHost * line
Please let me know if there's any further testing I can do to help you
Wiley
On Oct 20, 5:33 pm, Graham Dumpleton &l
One of those threads was mine and I just wanted to say that I'm now
happily hosting three django projects using apache virutal hosts on
the same server with no problems - my problem was only an apache
configuration file issue having nothing to do with django.
On Oct 20, 10:28 am, Kenneth Gonsalve
Hi all,
I'm writing a doctest for a simple model and I can't get it to pass.
The problem seems to be that no matter how I enter the data into the
test db, whether as a Unicode string or a utf-8 bytestring, and no
matter what I tell my test to expect as a return value, the expected
value is alway
Hi Arun,
I'm new to django as well, but I believe this is quite possible, and
is covered in the "Integrating with a legacy database" section of
django's online documentation, located at:
http://www.djangoproject.com/documentation/legacy_databases/
Best of luck with your pro
I've run into a problem with a lookup that follows a long long chain
of foreign key relationships spanning two apps (two groups of database
tables with different app label prefixes)...
the error is: table name
"a_long__list__of__relationships__that__eventually__gets__cut_off..."
specified more th
Malcom,
Thanks _so_ much for this. I've learned a great deal from you both
from your responses on this forum and by reading your blog. I will
continue to work on this issue and post to the thread if I come up
with
anything of archival value.
Wiley
On Oct 31, 10:33 am, Malcolm Tredi
24 matches
Mail list logo