On 29-12-11 17:48, Ashkan Roshanayi wrote:
Ouch! now I get:
Traceback (most recent call last):
File "./bin/django", line 35, in
import djangorecipe.manage
ImportError: No module named djangorecipe.manage
should I set something in project/settings.py?
That error is normally impossible
You will have to create a connection pool as a resident thread.
Briefly, a connection pool will take care of:
- Create a new connection if there is no connection available.
- Reuse a connection if possible.
- Remove connections that are no longer being used or that commanded
to close.
Then, your c
At 2011-12-28 06:21:38 -0800, Dan Gentry wrote:
> Just looking at the models, I'd like to make a couple of suggestions.
>
> Instead of using a Foreign Key relationship in Customer to indicate
> the billing address, I would include a flag called 'billing_address'
> in the Address table that would
At 2011-12-28 06:59:31 -0800, Jay De Lanoy wrote:
> I'd go for a separate table instead, with something like
>
> class BillingInfo(models.Model):
> customer = models.OneToOneField(Customer)
> billing_address = models.OneToOneField(Address)
>
> and then just have logic in the v
On 29-12-11 16:43, Ashkan Roshanayi wrote:
Hi, basically my project is that I don't know how can I access django shell in
a buildout project!
I assume you're using djangorecipe? In that case: bin/django. That's the
equivalent of "python manage.py", only with the right enviroment
variable to
Good morning,
I'm developing various websites and functionality to cater to various
different use-cases up in Django.
Is there a good notation for showing what behaviour is at each stage,
i.e. using swimlanes?
I use BPMN 2 notation for everything, but I feel I am overusing this,
and that there w
Ouch! now I get:
Traceback (most recent call last):
File "./bin/django", line 35, in
import djangorecipe.manage
ImportError: No module named djangorecipe.manage
should I set something in project/settings.py?
Best,
--
You received this message because you are subscribed to the Google Gro
I did some more experimenting. Perhaps I misunderstood the purpose of
CACHE_MIDDLEWARE_ANONYMOUS_ONLY.
The view in my example below is a simple generic list view, and it did
not interrogate request.user or make any
request.user.is_authenticated() type checks. If I add those checks to
the template,
Hi, basically my project is that I don't know how can I access django shell in
a buildout project!
Marry Christmas :)
--
Ashkan
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.co
An example of a BPMN2 diagram with swimlanes, which I created for a
project: http://i40.tinypic.com/262r6nr.jpg
What I am looking for is something suited towards showing architecture
bounds and the interactions between each section of MVC.
> I find that when thinking something through at the whit
I've got a project where when I pull up the admin page to add an
object (an object that has several foreign keys), some of the FK
fields show the little green plus-sign links to add a new related
object for that field and other FK fields do not.
In the past, I've seen the plus-sign link to add a n
Just taking a stab in the dark, are the ones without the + sign editable in
the Admin? If they are not editable, I would imagine Django would not show
the + in the Admin.
Furbee
On Thu, Dec 29, 2011 at 12:58 PM, K.C. Smith wrote:
> I've got a project where when I pull up the admin page to add a
Thanks! That looks to be exactly what I needed. I'll try implementing that
and post on here if I have any further questions but it looks rather
straightforward.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web
13 matches
Mail list logo