Both interesting ideas and the intercepting view seems obvious (now that
you've pointed it out.)
Thanks.
On Sat, Sep 6, 2014 at 1:11 AM, James Schneider
wrote:
> Curious, hen you say 'touch contrib.auth.views.py', you don't mean
> modifying the Django core, do you?
>
>
> Assuming that you are
It depends on a lot of things.
1. You can try running:
python
from django import get_version
print get_version()
2. If you don't see manage.py in the root directory, you are probably using
a very old version of django. I would start by creating a virtualenv
running an early version of Django (m
Glad to be of help.
Regards,
Andréas
2014-09-06 23:32 GMT+02:00 Brad Rice :
> Andréas that was it. I guess I wasn't thinking about that correctly. I
> sure appreciate the help. This Django group is a very good group.
>
> On Saturday, September 6, 2014 1:19:57 PM UTC-4, Andréas Kühne wrote:
>>
>
Andréas that was it. I guess I wasn't thinking about that correctly. I sure
appreciate the help. This Django group is a very good group.
On Saturday, September 6, 2014 1:19:57 PM UTC-4, Andréas Kühne wrote:
>
> Hi Brad,
>
> 1. Why would app not be not be set if it is in the try statement?
>
> Bec
Hello all,
I have been assigned with updating a Django project that was last developed
in 2012 to the latest version, fixing bugs, and security issues, and
updating deprecated code to match the latest version.
Couple of questions I couldn't answer myself:
1) How can I check which version this
Hello, can anyone please explain how to handle form post action and save it
to database
--
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-users+unsubscr...
Hi Brad,
1. Why would app not be not be set if it is in the try statement?
Because the except parameter has the app variable in it (which it
shouldn't). The correct except definition should be: "except
Application.DoesNotExist". You are not looking for if the app variable
doesn't exist but rather
could you paste a traceback?
--
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-users+unsubscr...@googlegroups.com.
To post to this group, send email to djan
I'm trying to write a try: except: to check for three things. First I want
to check if an application has already been filled out, thus, check for
existence. Second if it has been filled out a flag that is is complete is
set to true. Then the else would be neither of those things, they need to
Thanks for explanation.
On Friday, September 5, 2014 7:33:07 PM UTC+2, François Schiettecatte wrote:
>
> What is probably happening lower down in the stack that the browser is
> closing a connection to the server before all the content is sent back
> causing a broken pipe error which is being r
i have another error
yems python-getting-started # git commit -m "Demo"
*** Please tell me who you are.
Run
git config --global user.email "y...@example.com"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this rep
Your solution works!!! Thanks a lot!!!
On Friday, September 5, 2014 10:27:30 PM UTC+4, Collin Anderson wrote:
>
> I'd recommend not using a custom field for this. Instead, you can do
> something like:
>
> class ExerciseForm(forms.Form):
> exercise_field = forms.CharField(widget=forms.Text
Curious, hen you say 'touch contrib.auth.views.py', you don't mean
modifying the Django core, do you?
Assuming that you are using contrib.auth.views.password_reset (you may need
to adjust this strategy for a custom view, etc.):
A quick custom view that simply sets a parameter when it calls the g
13 matches
Mail list logo