My understanding is that psycopg2 looks for some postgres files during the
install. If you have postgres already installed on the same box, you should be
able to resolve this problem by adding the postgres folder to your PATH
environment variable before running 'pip install psycopg2'. The synt
Based on the code below it looks like your indentation is off for def
was_published recently code block (i.e. 3 spaces instead of 4). If that does
not solve the problem, you might also check to ensure that you're not mixing
tabs and spaces when indenting. Depending on your environment that can
I'm not familiar with django-boxes, but one architectural question is whether
you want to render the graphs on the server (e.g. python) or in the browser
(e.g. javascript).
If you render on the server, you could use something like matplotlib (python)
to draw your graphs, and then push those ima
And just a reminder that you can certainly use virtualenv without
virtualenvwrapper. Every env you create with virtualenv will have a script to
activate that env located at envname/bin/activate. For example:
Open your shell, cd to the desired directory, and create a new env:
$ virtualenv te
All,
I've added a ticket for this issue:
https://code.djangoproject.com/ticket/20776
If anyone has a chance to verify that this is a bug (rather than a programming
error on my part) I would greatly appreciate it.
Thanks!
Dow
On Jul 18, 2013, at 11:08 PM, Dow Street wrote:
> All,
All,
I'm seeing some unexpected behavior when using multi-level multi-table
inheritance. In the example below there are three levels in the class
hierarchy. When accessing the name field (which is stored in the Level1 base
class) from an object in Level3, the query does not seem to walk the h
I also find it helpful to generate a diagram of the model relationships - e.g.
using graph_models in django-extensions:
http://pythonhosted.org/django-extensions/
On Jun 6, 2013, at 7:06 AM, si wrote:
> I have already existing web application code written by a someone else now I
> need
Hi. I'm not sure, but we may be using the terms 'parent' and 'child'
differently (i.e. what you're calling a child I'm calling a parent?). I have
only used django template inheritance where a given template file has at most
one {% extends %} tag in it - that is what I am referring to when I sa
It sounds like you are trying to have a template inherit code from multiple
parents. One option is to stay with a simple inheritance hierarchy where each
child template extends at most one parent template. If you want to use
different code for different sub-sections of your project then just a
Depending on what you're trying to do, I think you should be able to configure
two separate databases in your settings file - one for the auth app (user
tables, etc.) and one for your existing database. Then use a database router
to point each app to the right one. This way the additional tabl
10 matches
Mail list logo