import path, include
On Wed, Mar 22, 2023 at 4:49 PM Harouna Diallo
wrote:
> You must Import include : from django.urls import path, include
>
> On Wed, Mar 22, 2023 at 12:53 PM Larry Stevens
> wrote:
>
>> Hello,
>>
>> I'm brand new to Django taking an online course in Python.
>> I created a p
21 at 17:44:45 UTC jmccla...@gmail.com wrote:
> are you using django directly to run the queries or are you querying the
> db. I had a similar problem a while back with a project and the load was
> resolved by letting python do the work.
>
>
>
> On Sat, 20 Feb 2021 at 15:23,
heck the number of open file descriptor when you experienced the slow
> response.
>
> On Sat, Feb 20, 2021 at 10:23 PM Andy Robinson
> wrote:
>
>> Hi all,
>>
>> We're maintaining an application that is hitting scaling problems. It
>> helps run grass-roo
ry to share
what I can and am very grateful for any help...
Best Regards
Andy Robinson
--
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-use
Hello,
I'm going to attempt to generalize my question to make this easier to
answer.
Lets say I have a simple terminal based shell script (e.g. multiply_by_two)
that takes a number argument, then multiplies that number by 2, and returns
the result into a result.txt file.
I would enter som
Hello,
I'm going to attempt to generalize my question to make this easier to
answer.
Lets say I have a simple terminal based application (e.g. multiply_by_two)
that takes a number argument, then multiplies that number by 2, and returns
the result into a result.txt file.
I would enter somet
hy is the `pk_set` sometimes empty, any ideas? Note that both `Profile`
objects also exist before the RQ job is processed (event is triggered by
doing a "follow" in the UI).
Also of note, added object *is* found in the ManyToMany field after the
operation.
Thankful of any ideas,
Br,
J
I second the recommendation for Stripe.
I have no need for shopping carts but suffered for years dealing with
credit card payments for license renewals. Many solutions were running
into problems with foreign banks blocking payments (which the payment
solution can't do anything about), spurious
uild service.
Find out more... <http://www.reportlab.com/reportlabplus/>
Andy Robinson
CEO / Chief Architect
ReportLab
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving email
We need to code a 5-step form wizard. The first step should let you
select products with various options, validate them, then add those
items to a basket, then proceed when you are ready. The next few
steps are straightforward - personal details, delivery details,
payment.
The FormWizard in 1.3
I am getting the following error when I try a complicated filter with a join
involving bboverlaps.
Join on field 'shape' not permitted. Did you misspell 'bboverlaps' for
the lookup type?
Here is the line that causes the problem.
saved_properties =
saved_properties.filter(property__parcel__shape
It has been a couple of weeks without a reply. Is there somewhere else I
should post this or am I on my own?
Begin forwarded message:
> From: "Robinson B. Heath"
> Date: January 4, 2011 11:41:48 PM CST
> To: django-users@googlegroups.com
> Subject: PostGISAdapter error
I am getting the following error when the queryset tries to generate the SQL:
"'str' object has no attribute 'ewkb'"
Here is what I am doing that causes the problem:
shapes = Shape.objects.filter(geom__bboverlaps=bbx)
shape_info = shape_info.filter(shape__in=shapes)
Models are:
I believe I have done my due diligence, but point me in the right direction if
I am missing something.
I am working on a generic importing engine to import various file formats(csv,
fixed length, etc) into django models based on json formatted file definitions.
It needs to do something like th
I'm planning a self-service publishing/reporting system. Django will
likely be the web framework. I am considering a rather unusual
storage architecture, and would love to know where the pitfalls are.
Users will be companies in a small vertical space. They want to let
their clients (effectively
I'm writing a bookkeeping system using Django latest code. I would
like to make sure that when certain records are saved, changes are
made to other records.For example, when I save a Sale model in the
admin - or programmatic code - it may create (or update) a bunch of
records in the general l
s connects to localhost as a
standard 'development' user. Then you can check out a project
and run it out of the box. Any "real" server connection params should
only go in the unversioned custom file.
- Andy Robinson, ReportLab
--~--~-~--~~~---~--~-
Karen Tracey wrote:
> So what's changed, I'm guessing, to introduce this problem is you added this
> import to to your project's __init__.py file.
Karen,
Thanks - while I was trying to get my head wrapped around
newforms-admin, I put some stuff in __init__.py and then forgot to take
it out. I
Karen Tracey wrote:
> manage.py doesn't set the environment variable, it just imports settings
> assuming it is in the current directory. Since you don't get an error
> message that that failed, presumably it worked so the question is why is
> some subsequent code trying to use the environment va
I have run into a problem that I don't understand - when I try to run
"shell manage.py shell" I just started getting an error about the
DJANGO_SETTINGS_MODULE environment variable not being defined.
I found the information I needed to work around the problem (on this
list - thank you, Evert Ro
We are using our own intermediary table for a many-to-many relationship
so that we can store additional information about the relationship
itself, and we are just embarking on a thorough overhaul of this app's
code. In the existing project, we heavily modified change-list and
change-form templ
ata which needs to be managed and backed up, and if it has
a structured naming convention, it really helps.
The only thing better would be storing BLOBS in the database table
directly
(he says, donning an asbestos suit and running for cover...;-) )
- Andy Robinson, ReportLab
--~--~-~-
I'm probably missing something about your question, and please excuse me
if that's the case, but wouldn't you be able to do this:
{% if header %}
{% block header %}Page Heading{% endblock %}
{% endif %}
Dave
Trey wrote:
> I have an interesting case that I would like to get some input on
Thanks Joseph. You might find it interesting to take a look at our
Diagra product datasheet... we've been in the financial charts
business since 2001
http://www.reportlab.com/docs/diagra-ds.pdf
The engine and most chart types have been in the open source package
since 2001, but we've not rea
I have just added an article to the Wiki on how to create charts using
ReportLab's graphics library I hope this helps!
http://code.djangoproject.com/wiki/Charts
Andy Robinson, CEO/Chief Architect, ReportLab Europe Ltd
--~--~-~--~~~---~--~~
You received
d reload any changed Python modules.
http://moinmoin.wikiwikiweb.de/MoinMoin_ISAPI
If anyone here already has Django running under IIS, please tell me -
otherwise we'll have a crack at this and update the wiki if it works.
- Andy Robinson, ReportLab
--~--~-~--~~
ve worked our way through
various situations is something we are able to do.
Dave Robinson
Carthage
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to djang
patrickk wrote:
> see http://demo.script.aculo.us/ajax/sortable_elements
>> On Wed, 2006-08-02 at 19:50 +0200, patrickk wrote:
>>> I´m just doing some dojo DnD-stuff for the django admin-interface.
>>> ...
>>> question: would you prefer instant saving?
The thing that I wasn't clear about was wh
[EMAIL PROTECTED] wrote:
> Interesting! Nice to see an example of how to integrate dojo and
> django, there aren't many...
>
> Are you building a custom administration interface for Sputnik which
> allows for the reordering of news items by use of this technique?
> Did you try to implement this d
drakepad wrote:
> Thanks for clarifying the issue Arthur. Drag and drop support would be
> fantastic indeed...
We've got the same sort of need to specify the order of news items. And
we have done it using Dojo's drag and drop. I'm not the one who did it,
but the guy who did get it to work wro
Douglas, James, Wilson, Rudolph:
Thanks - that clears things up. It's quite encouraging to see that we
were pretty much headed in a viable direction.
Dave
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django us
I'm still trying to wrap my head around some basic ideas. I appreciate
the patience that has been extended my way already.
Having pounded through the tutorial, I have a decent idea of how the
poll app works, with a URL being associated with a function in the Poll
app's view. That function th
Really, I've tried looking this one up myself (you wouldn't believe how
many questions I *haven't* had to ask... (thanks for well-written docs
everyone)). It seems almost obvious, but I am proving to be just dense
enough to not get what is this "kwarg".
Dave
--~--~-~--~~--
Many thanks to James and Adrian for explaining sites. I'm expecting to
have several more questions over the coming weeks as we get further into
things, and it's nice to know that the Django community is so responsive.
Dave
--~--~-~--~~~---~--~~
You received this
essage-ID: <[EMAIL PROTECTED]>
Date: Sat, 20 May 2006 18:59:33 -0500
From: David Robinson <[EMAIL PROTECTED]>
User-Agent: Mozilla Thunderbird 1.0.7 (Macintosh/20050923)
X-Accept-Language: en-us, en
Mime-Version: 1.0
Content-Type: text/plain
To: django-users
Subject: remedial django - wh
35 matches
Mail list logo