Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9216113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T02:20:54+00:00 2026-06-18T02:20:54+00:00

I have a Django app. Recently I have transferred my static files to Rackspace

  • 0

I have a Django app. Recently I have transferred my static files to Rackspace Cloud Files and serving from that. To do this I have changed the static url in settings.py as follows

STATIC_URL = 'https://somekey.ssl.cf2.rackcdn.com/static/'

And it is working file.

The problem is that now the admin static files are also served from the above (rackspace) url. How can I change to the earlier i.e. /static/admin/ ?

Basically I want the app static files to be served from cdn and admin files from my site.

My environment:

Python 2.7.3
Django 1.4.2
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T02:20:54+00:00Added an answer on June 18, 2026 at 2:20 am

    Since the location of static files in personal apps and the django admin frontend all use the value of the STATIC_URL variable, I’d guess it is not possible to serve static content from two different sources.

    May I suggest that you upload the static files of your admin frontend to your Rackspace instance? Assuming your Django install is located PATH, all you have to do is upload the content of PATH/lib/python2.6/site-packages/django/contrib/admin/static to https://somekey.ssl.cf2.rackcdn.com/static/.

    Another solution would be to not change the value of STATIC_URL: set it to “/static”, for instance, and then configure your Apache server to redirect requests to your Rackspace instance:

    Redirect /static https://somekey.ssl.cf2.rackcdn.com/static/
    Redirect /admin/static https://somekey.ssl.cf2.rackcdn.com/admin/static/
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my Django app, models.py, I have this field that I have just recently
I have a Django app that gets it's data completely from an external source
I have a Django app that use a django-tagging. I need to port this
I have a Django app hosted in the cloud (Heroku if that makes a
I have a Django app that needs to pull the follower_count information from several
I've recently uploaded an app that uses django appengine patch and currently have a
I have a Django app that's serving up a RESTful API using tasty-pie. I'm
I have a django app that I made and have implemented a plist into
I have a Django app where multiple teams upload content that will be parsed.
I have recently switched to Django for a web app I'm developing and I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.