Grigory Fateyev wrote:
> Hello Carl Karsten!
> On Mon, 20 Aug 2007 14:07:39 -0500 you wrote:
>
>>> settings.py:MEDIA_ROOT = BASE_DIR+'/media/'
>>> settings.py:MEDIA_URL = '/site_media/'
>>> urls.py: (r'^site_media/(?P<path>.*)$',
>>> 'django.views.static.serve', {'document_root':
>>> settings.BASE_DIR+'/media/', 'show_indexes':True}),
>>>
>>> Revision: 5946
>>>
>> I used your settings, no problem.
>>
>> Python 2.5.1 (r251:54863, May 2 2007, 16:56:35)
>>
>> [EMAIL PROTECTED]:~/django/django_src$ svn up
>> Updated to revision 5988.
>>
>> Carl K
>
> That means you can add any object to Book class without problem?
>
> Thanks!
yep. edit too.
I suggest making a new site/project, add the model, make the few changes to
settings and run the dev server.
Carl K
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---