Hello,
I want to do something like the following:
my_query_set = my_table.objects.filter(field1 = some_val and
field2 = another_val)
or
my_query_set = my_model.objects.filter(field1 = some_val or
field1 = another_val)
I couldn't find anything in the docs that describes ho
I'm trying to accomplish the same thing: use django standalone.
After getting DJANGO_SETTINGS_MODULE set correctly so that it finds my
settings.py, I get:
File "C:\Python25\Lib\site-packages\django\db\models\base.py", line
51, in __new__
kwargs = {"app_label": model_module.__name__.split('
Hello,
I'm currently prototyping a web application using Django which
must be integrated into an existing PHP-based site. Can anyone comment
on, or provider a pointer to documentation for, the issues involved.
In particularly, how to go about inheriting the existing look-and-
feel.
Thanks.
K
hat into a template, so as to avoid having duplicated HTML?
Ken
On Sep 28, 10:27 pm, Jeff Anderson <[EMAIL PROTECTED]> wrote:
> megrez80 wrote:
> > Hello,
> > I'm currently prototyping a web application using Django which
> > must be integrated into an e
t;[EMAIL PROTECTED]> wrote:
> On Sep 29, 12:06 pm, megrez80 <[EMAIL PROTECTED]> wrote:
>
> > Regarding "repurposing" the PHP-generated HTML, do you mean
> > statically, eg. copying the page source into a template?
>
> > If not, how can this be accomplish
Is there a way to render just a child template (without it's
parent(s)) and pass the results back in response to an
Ajax.Updater request? I want to do this to dynamically update a
container in an already-rendered page.
Ken
--~--~-~--~~~---~--~~
You received t
Yes this helps, and it works, sort of. The resulting updated container
is the entire page, minus the actual data.
So I'm wondering, should I use render_to_response (really
HttpResponse) to return the rendered HTML,
or should I use something else in response to the Ajax.Updater
request?
Thanks ag
Start here: http://www.python.org/doc/2.5.2/lib/module-smtplib.html .
Ken
On Oct 19, 2:04 am, Net_Boy <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am doing a new project and (doing a function that checks for a
> specific event, if it happened then the system should send email to
> the user?
8 matches
Mail list logo