Re: How to initialize M2M field in new ModelForm?

2007-12-23 Thread Yatla
Well, I tried the initial arguement again, and it worked this time...must have made a typo the other time I tried this. Thx On Dec 23, 2:03 pm, Yatla <[EMAIL PROTECTED]> wrote: > Joseph, > > Yes, for a new Document, I want to assign to an existing Category. > The initi

Re: How to initialize M2M field in new ModelForm?

2007-12-23 Thread Yatla
oseph Kocherhans" <[EMAIL PROTECTED]> wrote: > On 12/22/07, Yatla <[EMAIL PROTECTED]> wrote: > > > > > > > > > I need to initialize a selection in a M2M field of the Document > > ModelForm during the first GET of a form that creates a new Document -

How to initialize M2M field in new ModelForm?

2007-12-22 Thread Yatla
I need to initialize a selection in a M2M field of the Document ModelForm during the first GET of a form that creates a new Document - classes and view as follows: class DocumentForm(forms.ModelForm): class Meta: model = Document class Document(models.Model): ...

Re: Django Web Hosting Service

2007-11-26 Thread Yatla
I have had two small Django sites running on asmallorange shared hosting for more thane a year. It took quite some time to get working in the shared environment, but then worked ok. The server reposne to the first hit on the site is slow to respond, but then ok. I just recently moved to a VPS

Re: Admin login problem

2006-12-15 Thread Yatla
Jorge, Turns out that I did need to modify the url as you indicated like (r'^galeria/admin/', include('django.contrib.admin.urls')), the first time the site or my browser must have been caching something and it seemed to work. Now onwards to build the site Yatla On Dec 13, 4:35 pm, "

Re: Admin login problem

2006-12-13 Thread Yatla
! btw, it seems to work correctly whether I had the subdirectory in front of the admin/ or not in the url.py file, ie, just (r'^admin/', include('django.contrib.admin.urls')), seems to work after I modified the rewriterule. Yatla --~--~-~--~~~---~--~~ You received

Admin login problem

2006-12-12 Thread Yatla
Newbie here - saw that the same question was asked earlier but not answered, and the post was locked so I could not reply. I have a Django site in a subdirectory as follows (via fcgi) - (using ver 0.96 pre via svn) http://mydomain.com/dj When I go into the Admin area as follows