can we modify the default Manager for ManyToMany relation used in Admin
SIte?
class entity(models.Model):
color = models.ManyToManyField(Color)
I want to hook something to custom color List in Entity's detail page.
--~--~-~--~~~---~--~~
You received this m
Yes, some documents should be updated.
--~--~-~--~~~---~--~~
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 em
On Sun, 2006-05-21 at 02:03 -0700, favo wrote:
> Yes, some documents should be updated.
That's nice. I wonder which ones? If only there was some way you could
tell us which document you saw this in. Please?
Malcolm
X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.54.131.11 with SMTP id e1
Hi all,
I am Giovanni Giorgi from Italy.
I am a 32-years-old Software Architect, working every day with java
stuff and so on (hibernate is a framework I use every day).
In my spare time I am a SmallTalk fan, a python admirer, a ruby lover
and a Perl-scared-boy :)
After trying Ruby on rails and
Hello,
I'm writing a small app. for wifi network management.
In a "computer" model there is an "ext_ip" field which is a ForeignKey
to "Ext_ip" model.
When adding/modifying a computer, I can use a select one from ext_ips
list.
The problem is that I need to select only from ext_ips not used by
On Sun, 2006-05-21 at 05:05 -0700, Robert wrote:
> Hello,
>
> I'm writing a small app. for wifi network management.
>
> In a "computer" model there is an "ext_ip" field which is a ForeignKey
> to "Ext_ip" model.
>
> When adding/modifying a computer, I can use a select one from ext_ips
> list.
>
Hey all,
I am just starting with django; I think it is really cool, a big break
from Java/Struts dev for me. Anyways, I am experimenting with a simple
blog app. So, on to some issues. Here is output:
bastion:~ nick$ python dev/django-projects/myblog/manage.py sql blog
BEGIN;
CREATE TABLE "blog_a
I forgot to mention that I am using django point release 0.91.
Nick
On 5/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hey all,
I am just starting with django; I think it is really cool, a big break
from Java/Struts dev for me. Anyways, I am experimenting with a simple
blog app. So, on
Hi all,
I'm currently developing a little django application for monitoring
workstations. Each monitored host reports its own data by creating an object
in django db. It can obviously occur that several workstations try to access
the db at the same time. And I commonly get the following error
Same:
Traceback (most recent call last):
File "manage.py", line 11, in ?
execute_manager(settings)
File
"c:\python24\lib\site-packages\django-0.91-py2.4.egg\django\core\manageme
nt.py", line 1237, in execute_manager
execute_from_command_line(action_mapping)
File
"c:\python24\lib\sit
I fixed this particular problem w/the following in introspection.py:
def get_table_list(cursor):
cursor.execute("SELECT NAME FROM SYSOBJECTS WHERE TYPE IN ('U') AND
NAME <> 'dtproperties'" )
return cursor.fetchone()[0]
Should I help patch for SQL support? I understand none of the
contrib
On 5/21/06, reiale <[EMAIL PROTECTED]> wrote:
> I fixed this particular problem w/the following in introspection.py:
>
> def get_table_list(cursor):
> cursor.execute("SELECT NAME FROM SYSOBJECTS WHERE TYPE IN ('U') AND
> NAME <> 'dtproperties'" )
> return cursor.fetchone()[0]
>
> Should I
Hi,
I want to write a web site for tourists about the city I live in.
A main component will be a sightseeing product:
It consists of sights, that can be ordered in lists or in guided tours.
As I am an absolute beginner in django, I need already help at this
point:
How can I add sights to guide
On May 21, 2006, at 8:55 AM, Nick Hristov wrote:
line 35, in cursor
cursor.execute("SET TIME ZONE %s", [TIME_ZONE])
ProgrammingError: ERROR: current transaction is aborted, commands
ignored until end of transaction block
SET TIME ZONE 'GMT'
# Wtf? I guess a transaction was opened in the
Kilian,
I does indeed say here that SQLite can handle concurrent transaction,
by queuing them up:
http://www.sqlite.org/faq.html#q7
You're not using an NFS share are you ? Apparently that would break it.
Are you running the app / script on each users machine, or on a web
server the
I'm in the middle of converting a quixote app over to django. Like
many people when I saw the admin app, there was no turning back. I'm
trying to leverage the hell out of the admin component and so far the
magic genie has granted all my wishes. I'm curious, however, how close
I'm getting to the
On 5/20/06, favo <[EMAIL PROTECTED]> wrote:
I know there's createsuperuser in old django, however how to now?
See the "Creating superusers" section of the documentation:
http://www.djangoproject.com/documentation/authentication/#creating-superusers
Adrian
--
Adrian Holovaty
holovaty.com | d
No one knows?
X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.11.53.63 with SMTP id b63mr109747cwa;
Sun, 21 May 2006 17:00:45 -0700 (PDT)
X-Google-Token: KbvYdAwAAABr7KbH1lbvJfQLCwcNnwHP
Received: from 221.122.43.98 by j73g2000cwa.googlegroups.com with HTTP;
Mon, 22 May 200
When I run the Django development server the admin site for my test
site looks great. But when I run the site using Apache with the address
http://localhost/admin all of the great look and feel provided by
Django is missing. The functionality is still there, but it is stripped
of all of its great
Following the tutorial, I created a field that says "Published today"
for the polls. When I look at the field on the development server, none
of the polls created today show "True" under the "Published today"
column.
When I look at the same pages when running the admin section through
Apache2 wit
keukaman wrote:
> When I run the Django development server the admin site for my test
> site looks great. But when I run the site using Apache with the address
> http://localhost/admin all of the great look and feel provided by
> Django is missing. The functionality is still there, but it is strip
On Sun, 2006-05-21 at 17:25 -0700, keukaman wrote:
> When I run the Django development server the admin site for my test
> site looks great. But when I run the site using Apache with the address
> http://localhost/admin all of the great look and feel provided by
> Django is missing. The functional
Thank you. I'm a rookie at Django, Python, & Apache. I'm running this
on my XP laptop just to learn this. I have a couple of follow up
questions:
1. My tutorial site is located at c:\django\mysite, with the polls app
under that. I get a Django "Page not found" error when putting
in the http.conf
try adding
alias /media/ c:\django\contrib\admin\media\
in your apache config and see if that helps.
On 22/05/2006, at 12:20 PM, keukaman wrote:
>
> Thank you. I'm a rookie at Django, Python, & Apache. I'm running this
> on my XP laptop just to learn this. I have a couple of follow up
> questi
I think this may solve at least one of your problems.
http://lukeplant.me.uk/blog.php?id=1107301634
Cheers.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
25 matches
Mail list logo