Thank you guys.

I use development server of django(manage.py runserver).

I created an app. from the official site of the django, this one of the
first tutorial.

I did it on windows installation.

Then I came home, installed the same app on ubuntu.

Now my conf is:
> django 1.3
> on python 2.7.1
> ubuntu 11.04
> looking through firefox 4

and it stopped show "stattic content"

HERE IS COLLECTSTATIC::

peter@peter-big:~/work/django/projects/src/mysite$ python manage.py
collectstatic
Traceback (most recent call last):
  File "manage.py", line 14, in <module>
    execute_manager(settings)
  File
"/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 438, in execute_manager
    utility.execute()
  File
"/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 379, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File
"/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 261, in fetch_command
    klass = load_command_class(app_name, subcommand)
  File
"/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 68, in load_command_class
    return module.Command()
  File
"/usr/local/lib/python2.7/dist-packages/django/contrib/staticfiles/management/commands/collectstatic.py",
line 41, in __init__
    self.storage = get_storage_class(settings.STATICFILES_STORAGE)()
  File
"/usr/local/lib/python2.7/dist-packages/django/contrib/staticfiles/storage.py",
line 23, in __init__
    raise ImproperlyConfigured("You're using the staticfiles app "
django.core.exceptions.ImproperlyConfigured: You're using the staticfiles
app without having set the STATIC_ROOT setting.

I tried to resolve it myself, but nothing has worked.

I used answers to another threads, but probably my installation is somehow
different.

What exactly I specify in MEDIA_ROOT = ''" ?

Thank you.







On 10 August 2011 00:29, Gelonida N <gelon...@gmail.com> wrote:

> On 08/09/2011 09:58 PM, Peter Kovgan wrote:
> > django 1.3
> > on python 2.7.1
> > ubuntu 11.04
> > looking through firefox 4
> >
> > Dull look, like all javascript has been removed
> > On windows looks nice, but here all works, but no colors, no styles,
> > nothing...
> >
> > What could it be?
>
>
> Well you don't really give a lot of info, so my guess might be
> completely wrong.
>
>
> Do you use the django development server (  manage.py runserver) or do
> you run with apache / some existing server?
>
> Did you run the command "manage.py collectstatic"?
>
>
>
> --
> 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 email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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 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