On Tue, Jul 14, 2009 at 1:52 AM, djangonoob <ye.eug...@gmail.com> wrote:

>
> Hi, I have developed a simple application on my desktop computer
> successfully using django 1.02, Ubuntu 9.04, python version 2.6.2
>
> I copied my files over to my laptop computer and did the following:
> 1) ran the django-admin.py startproject projectName
> 2) cd to projectName folder, and ran the python manage.py startapp
> appName.
>
> After which i copied my application folder over to appName with the
> same name.
>
> Than i ran python manage.py runserver on my laptop
>
> My application works, but than the css style sheet is not working; my
> application has no style.
>
> But upon inspecting the source code of the generated page, the <link
> rel="stylesheet" href="/media_user/css/style.css" type="text/css" />
> url and others are correct.
>
> But the style simply does not show.
>
> Anyone faced this problem before and solve it?
>

You do not mention that you did anything to copy your settings.py and
urls.py file from your desktop to laptop.  (These are not in the application
directory you mention copying.)  Since your application generally works, I'd
guess you did do something to copy these files, but it sounds like (since
you say the href value in the returned html is correct) the urlpattern for
the static server to serve the css file is not set up correctly.

Karen

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