Hi all,
I'm making a distributed library database, a library where the books
are owned by the users and everybody borrows from others.
The admin interface is almost perfect to this as it has powerful ways
to manage and add new items (most notably handling the foreign keys and
ManyToManys with a
> i find it is easier to roll your own in a view rather than hack
> admin. Since i use the same django for multiple sites, i like to
> leave django stuff alone as i wouldnt want a separate dajngo for each
> site
Is there an easy way to have admin-like widgets? I'm especially fond of
the collapsin
Revision 3461 breaks down my app oddly. Somehow I'm able to access some
of the views (general views) but when I use a view in my app, I get:
Exception Type: TypeError
Exception Value:readonly attribute
Exception Location:
/usr/lib/python2.3/site-packages/Django-0.95-py2.3
I got errors when user.get_profile returned None in my view. When
trying the same in manage.py shell, I noticed that get_model doesn't
find my profile model unless I have imported something from that
models.py
$ python manage.py shell
Python 2.3.5 (#2, Jun 13 2006, 23:12:55)
[GCC 4.1.2 20060613 (
I'm running the basic django server and everything works fine from lan.
But from outside every request has a three second overhead, even if
it's just a 304. This means that a small html-page with three JS-files
and a stylesheet takes 15 seconds to load.
With apache everything works fine even from
I wasn't running Apache with Django, just confirming that there isn't a
connection problem with my normal pages.
Hmm, I'll look into the source and see if I can make the server print
something. If it doesn't work, I guess I just have to set Apache up.
Wouldn't think that as necessary though, sinc
> In my experience, when you encounter non-obvious but fairly consistant slow
> downs in net traffic, the first thing to check is DNS.
>
> In this case, I'd make sure that each of the DNS cache servers that the client
> consults to resolve the address of your server can perform both a forward and
> I've fixed this as of http://code.djangoproject.com/changeset/3530 .
> Thanks for bringing it up!
Works like a charm. thanks. Such a tiny piece of code... :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Djang
8 matches
Mail list logo