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
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 -
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):
...
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
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, "
!
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
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
7 matches
Mail list logo