I have the code working on Localhost, but along with localhost there are the response toolbar, the link to the admin site and the database used.
What code should I use to "test" if the code is being executed on the production server, so that I can "hide" or switch to use a different database? I'm deploying on Amazon EC2, if this is any helpful. Thanks! --

