Installing psycopg2 for PostGreSQL as django backend using virtualenv

2012-07-14 Thread Doug S
Hello django people, I'm just installing my PostgreSQL backend for my django projects that I install in isolated virtualenv's I've followed what seem like easy installation instructions here: http://initd.org/psycopg/install/ I have installed python-dev, libpq-dev and also postgresql-server-dev-

Re: Installing psycopg2 for PostGreSQL as django backend using virtualenv

2012-07-14 Thread Doug S
mport my psycopg2 to use it as a backend? Do I need to reinstall django in the virtualenv ( or start over on my virtaulenv ) so that it installs with psycopg2 installed? or should django just be able to import it? On Saturday, July 14, 2012 9:56:54 PM UTC-4, Doug S wrote: > > Hello dj

Re: Installing psycopg2 for PostGreSQL as django backend using virtualenv

2012-07-14 Thread Doug S
hmmm, OK I didn't know that. I'll try it . . . but I thought I already tried it and got a permission denied error On Saturday, July 14, 2012 10:17:18 PM UTC-4, Ramiro Morales wrote: > > On Sat, Jul 14, 2012 at 10:56 PM, Doug S wrote: > > Hello django people, >

Re: Installing psycopg2 for PostGreSQL as django backend using virtualenv

2012-07-14 Thread Doug S
on it was using like it did. Lesson learned, virtaulenv working. thanks Doug On Saturday, July 14, 2012 9:56:54 PM UTC-4, Doug S wrote: > > Hello django people, > I'm just installing my PostgreSQL backend for my django projects that I > install in isolated virtualenv'

Re: Installing psycopg2 for PostGreSQL as django backend using virtualenv

2012-07-15 Thread Doug S
On Saturday, July 14, 2012 9:56:54 PM UTC-4, Doug S wrote: > > Hello django people, > I'm just installing my PostgreSQL backend for my django projects that I > install in isolated virtualenv's > I've followed what seem like easy installation instructions here: >

Is their an easy way to implement an ordered list of, say, urls in Django

2012-12-22 Thread Doug S
Hi I'm still a newbie but I'm pretty sure this is not a really really stupid question. I want to store an ordered list of items in my models and allow insertions and appending to the end of the list. I'm aware that often with ordered data the implementation is nice and clean where you store the it

Is there any database ( or other ) magic going on with django properties?

2013-03-11 Thread Doug S
I'm considering using django properties on some models that are mostly tabulated numerical data. I'm want to derive some numerical scores from some of the columns of data I'm using as input. If I use properties for these derived scores, what is actually happening. Does Django put these into my m

Re: Is there any database ( or other ) magic going on with django properties?

2013-03-12 Thread Doug S
Thanks for the quick replies. Straight fields it is, that makes things simple. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegro

Are Generic Views limited to querysets that are fixed for any one view?

2013-03-22 Thread Doug S
I'm new to using generic views and the genericness is obviously powerful, but I'm wondering how far it goes. If I have a model and want to display it as a list, I can use a generic view and even specify the query set it displays for a given view, but what if I want to constrain the query set thro

Re: Are Generic Views limited to querysets that are fixed for any one view?

2013-03-22 Thread Doug S
parameter being accessed ) On Friday, March 22, 2013 8:06:06 AM UTC-4, Doug S wrote: > > I'm new to using generic views and the genericness is obviously powerful, > but I'm wondering how far it goes. If I have a model and want to display > it as a list, > I can us

What to Django people have to say about Javascript frameworks to complement Django's philosophy on the front end

2013-04-17 Thread Doug S
I hope this is OK to talk Javascript in this Django group, I'm hoping its relevant to enough Django folks to not be distracting. I'm relatively new to Django, but my impression is that a few years ago most django people prescribed to the wisdom of keeping javascript to a minimum and just using s

Using multiple model files per app with the Improved Multiple Model Files Django Snippet

2013-05-30 Thread Doug S
I'm trying to use multiple files for my models in a single app. I found a nice solution on Django Snippets : http://djangosnippets.org/snippets/1838/ but I'm not able to get it to work. The docs assume that I know more than I do about how this solution works. Its involve

Re: Bootstrap and Django together at last!

2013-06-01 Thread Doug S
Awesome Kevin, thanks for sharing. Its always fun to learn a new front technology through Django awesomeness. I'm just getting started on Bootstrap so having the beginner examples/templates is a nice plus ;-) On Tuesday, May 28, 2013 5:44:58 PM UTC-4, Kevin wrote: > > Hello everyone! > > I th

Re: What to Django people have to say about Javascript frameworks to complement Django's philosophy on the front end

2013-06-01 Thread Doug S
re how extensible these widgets are and how quickly I would run >> into limitations of using them for things they weren't specifically >> designed for. >> >> >> On Thu, Apr 18, 2013 at 1:53 AM, Doug S >> > wrote: >> >>> I hope this is OK

Re: Django & Ember

2013-06-01 Thread Doug S
Yea, I'm just getting into Django & Ember too. The django ember app posted above is really just some convenience tags for the most part. I'm not an expert at all on this and I'm probably in about the same place as you with this. My initial feeling is that Ember is just like Django on the front en

Re: Django & Ember

2013-06-01 Thread Doug S
yea, more specifically, I've heard Ember is performant. THe HTML templates and style and static media are all loaded once with the app and from there its all just AJAX calls for your data. WHen you ask about lots of data, it depends what you mean by lots of data. I'm beginning to learn about bid

Re: Using multiple model files per app with the Improved Multiple Model Files Django Snippet

2013-06-01 Thread Doug S
p_label = 'myapp' On Thursday, May 30, 2013 8:43:46 AM UTC-4, Doug S wrote: > > I'm trying to use multiple files for my models in a single app. > I found a nice solution on Django Snippets <http://djangosnippets.org/>: > http://djangosnippets.org/snippets/1838/ > bu

django model(s) silently fails to sync to the DB ( for no apparent reason )

2013-10-07 Thread Doug S
I don't think I'm making a rookie mistake, I've looked over my code several times. I've got two pretty simple django models that are just failing to sync to the db during the syncdb there are no errors, even with --verbosity 3 When I try to make a relation to them I get an error saying the models

Re: django model(s) silently fails to sync to the DB ( for no apparent reason )

2013-10-21 Thread Doug S
t then added some new models and forgot about that requirement. Django said the models weren't installed since it didn't know to add them to the right app. QED On Monday, October 7, 2013 9:40:33 PM UTC-4, Doug S wrote: > > I don't think I'm making a rookie mistake, I'