Hi,

New user to Django.  I have a class 'Server' and I want to set up my Django 
site so that when a server is added through the admin interface, an 
additional model along with its admin.ModelAdmin class are added.  So say a 
server 'Crushinator' is added to the database of servers.  At its creation, 
I want to create the model 'Crushinator_Users' and add the admin interface 
for this model.  Any ideas on how to accomplish this?  I tried using 
__init__ under the Server model, but it causes an attribute error when 
trying to create the server ("'Server' object has no attribute 'id'").


Any help is appreciated,
Karandeep Nagra

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/z-GDAnwq57UJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to