Re: Pip install matplotlib error with virtualenv

2012-03-24 Thread darwin_tech
On 23-03-12 21:37, Reinout van Rees wrote: > > On 23-03-12 18:51, darwin_tech wrote: > >> the weird thing is that matplotlib works fine on my system. If I have a > >> Django project running outside of virtualenv, there is no problem and > >> matplotlib is on the

Re: Pip install matplotlib error with virtualenv

2012-03-23 Thread darwin_tech
:45 PM, darwin_tech wrote: > > Thanks for the reply. > > > > I guess not directly related to Django, though this virtualenv is very > much > > for the purpose of a Django project and I hoped other Django users had > come > > across this particular problem. > > >

Re: Pip install matplotlib error with virtualenv

2012-03-23 Thread darwin_tech
(sorry - just starting to use virtualenv) ? Sam On Friday, 23 March 2012 09:22:57 UTC-6, Tom Evans wrote: > > On Fri, Mar 23, 2012 at 3:06 PM, darwin_tech wrote: > > I am trying to install matplotlib in a new virtualenv. > > > > When I do: > > > > pip install matpl

Pip install matplotlib error with virtualenv

2012-03-23 Thread darwin_tech
I am trying to install matplotlib in a new virtualenv. When I do: pip install matplotlib or pip install http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.1.0/matplotlib-1.1.0.tar.gz I get this error: building 'matplotlib._png' extension gcc -pthread -fno-strict-alia

Re: Django Admin completely empty

2012-02-01 Thread darwin_tech
All db tables are in place and the settings hold the correct login info. I can interact with all models in the shell and my applications run without problem (i.e. return data from the db). Sam On Feb 1, 11:17 am, Joel Goldstick wrote: > On Wed, Feb 1, 2012 at 12:11 PM, darwin_tech wr

Re: Django Admin completely empty

2012-02-01 Thread darwin_tech
The source is also empty: as though it is aware there should be model information but is not receiving any Any more suggestions? This is really perplexing me. Sam On Jan 31, 2:42 pm, Joel Goldstick wrote: > On Jan 30, 5:14 pm, darwin_t

Re: Django Admin completely empty

2012-01-30 Thread darwin_tech
On Jan 30, 3:40 pm, Andres Reyes wrote: > Do you have permissions on the models you want to see? > > You can create a new superuser with > python manage.py createsuperuser > > 2012/1/30 darwin_tech : > > > > > > > > > > > Hi, > > > On my d

Django Admin completely empty

2012-01-30 Thread darwin_tech
Hi, On my development server my Django Admin works as expected, showing all my models and the auth models. However, on the production server, even though the whole application works fine, when I log into the admin I see nothing. No models, no auth. Just a stack of empty boxes. If anyone has any id

Re: Is it possible to return an HttpResponse in django with text & a json object?

2012-01-30 Thread darwin_tech
I blogged about this quite recently: http://djangosteps.wordpress.com/2012/01/12/filtered-menus-in-django/ Hope this helps, Sam On Jan 30, 1:13 am, lokesh wrote: > To do this use serializers or you need to make it a plain text iterate > over objects and make it a string and return httprespons

Django empty admin in Development

2012-01-27 Thread darwin_tech
Hi, I have a problem which has stumped me for some time now. On my development server my Django Admin works as expected, showing all my models and the auth models. However, on the production server, even though the whole application works fine, when I log into the admin I see nothing. No models, n