Hi,
Is it possible to execute code after sending the actual http response?
For my website, users can optionally give an email address, and if
they do, the site sends a confirmation email. But I was thinking it's
more logical to spend time sending the email after the signup
confirmation page is
Hi Michael,
Thanks for the info, very helpful.
You've convinced me, now I just need to convince the higher
authorities :P
On Jun 12, 12:24 am, Michael <newmani...@gmail.com> wrote:
> On Thu, Jun 11, 2009 at 6:11 AM, Shadow <shadow.fusion.m...@gmail.com>wrote:
>
>
>
>
Hi guys,
I'm about to launch a non-profit django website, and was thinking I
might as well open source the code as well.
I noticed this has been done with djangoproject.com, but was thinking
how potentially dangerous it is, that any flaws are open to see and be
exploited.
Is it just a matter
On May 8, 7:03 pm, "K*K" wrote:
> Simple way:
>
> >>> model = Model.objects.get(id = 1)
> >>> print model.__dict__
>
Awesome, thanks!
I did try "dict(object)" :P
btw: I didn't want to use a filter because it was all nicely wrapped
in:
get_object_or_404(model, id=x)
Hi,
If i get a model object with Model.objects.get()
Is their a way to turn that into a dictionary?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
For anyone that finds this:
I had the following in my apache config:
PythonOption django.root /
which stripped the initial slash.
:P
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post
Hi, I'm not sure what I've done wrong but I get the following error if
I visit any url but "/".
Environment:
Request Method: GET
Request URL: http://fusion-gospel/test
Django Version: 1.1 beta 1 SVN-10658
Python Version: 2.5.2
<graham.dumple...@gmail.com>
wrote:
> On May 5, 3:36 am, Shadow <shadow.fusion.m...@gmail.com> wrote:
>
> > Hi,
>
> > I'm developing my site at the moment (locally) and it has an infinite
> > loop somewhere. But my requests aren't timing out. The apache
> >
Hi,
I'm developing my site at the moment (locally) and it has an infinite
loop somewhere. But my requests aren't timing out. The apache
processes just get larger and larger, till I have to kill apache.
I'm guessing I need to set a timeout setting, but I don't know where.
Apache? mod_python?
Hi, not an expert!
but I think I had this same problem. The admin docs were fairly
recently moved into a separate app. So you'll need to update your urls
to something like:
--
from
Are yes, that too ;)
On Aug 25, 1:36 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Sun, Aug 24, 2008 at 10:27 AM, Shadow <[EMAIL PROTECTED]>wrote:
>
>
>
>
>
> > Hi, not an expert!
>
> > but I think I had this same problem. The admin
5/
Cheers
On Aug 25, 1:17 am, Steve Potter <[EMAIL PROTECTED]> wrote:
> What Erik is saying is that in recent versions of Django you no longer
> use the same syntax to activate the admin. This happened when the
> newforms-admin branch was merged.
>
> Steve
>
> On Aug 24, 1
t how
> the admin site should be set up.
>
> Erik
>
> On 24.08.2008, at 17:20, Shadow wrote:
>
>
>
> > Hi, I'm having some issues with the admin app (using svn rev #8520).
>
> > 1) I can't get my apps models to show (logged in as superuser).
>
> > I
Hi, I'm having some issues with the admin app (using svn rev #8520).
1) I can't get my apps models to show (logged in as superuser).
I've added:
"
class Admin:
pass
"
to each one with no affect. But I can still see them in user
permissions?!
2) The "Change password" link gives the
:O
Well that was stupid of me... I think I assumed it worked since the
testing server worked. :P
Thanks! All fixed
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
Anyone? :P
On Feb 16, 3:26 pm, Shadow <[EMAIL PROTECTED]> wrote:
> Error message:
>
> Using the URLconf defined in mysite.urls, Django tried these URL
> patterns, in this order:
>
>1. ^admin/
>
> The current URL, my-site.com/admin, didn't match any of these.
admin.urls')),
>
> On Feb 16, 3:01 pm, Shadow <[EMAIL PROTECTED]> wrote:
>
> > I should note that it's a django 404 error and not apache so
> > django is running
>
> > On Feb 16, 5:11 am, Shadow <[EMAIL PROTECTED]> wrote:
>
> > > Hi I'm ne
I should note that it's a django 404 error and not apache so
django is running
On Feb 16, 5:11 am, Shadow <[EMAIL PROTECTED]> wrote:
> Hi I'm new to django/python
>
> I managed to set everything up going through everything in the
> documentation, up to the part where I
Hi I'm new to django/python
I managed to set everything up going through everything in the
documentation, up to the part where I install the admin interface.
When I test the admin section through django's server it works fine.
But when I test it on my apache/mod_python server, it gives a 404
19 matches
Mail list logo