Hi All
I am really stuck with resolving urls now i have moved my app to mod_wsgi
environment.
Basically my problem is that when using a mod wsgi prefix valid urls will
resolve in the usual general browsing way but not using teh resolve
function directly
so
url = reverse('grant_and_save')
On Jun 23, 1:27 am, Tom Evans <tevans...@googlemail.com> wrote:
> On Thu, Jun 23, 2011 at 8:28 AM, Travis Bear <travis.b...@gmail.com> wrote:
> > Hi,
>
> > I'm using the django.contrib.auth app to manage user login/logout. I
> > can successfully log in and
Hi,
I'm using the django.contrib.auth app to manage user login/logout. I
can successfully log in and out, but I cannot access the {{ user }}
object in my templates. If I'm reading these documents correctly,
that should be enabled by default:
@ zalun
Hi.
I'm using newforms to upload a file in my project.
I want to check the mime type of the uploaded file.
Let's say my field name is "file", and check_uploaded_file() is a
function that takes the content type and checks it.
file = request.FILES['file']
check_uploaded_file(file.content_type)
Hi.
I'm in trouble here, when I try to upload a file and pass it to my
form for validation, it tells me that the form is not valid and that
there is no file.
But my request.FILES tab seems to be just fine..
Here's my code :
class AddMediaForm(forms.Form):
file = forms.FileField()
Thx to both of you, I'll do it with AJAX then.
I'll have to find a way to make this work anyway if the user doesn't
have Javascript enabled.
Bibi
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
Hi
I'm new with Django and I can't figure out a method to do what I want,
that is to say inserting html dynamically in my page (I'm not very
good in english so I'll do my best to explain it with an example)
Let's say the goal of the page is to let the user build a
"storyboard". A storyboard is
Hi,
I am not sure if anyone has had this situation or not but I have been
struggling with this for days now.
I have a form with a few select fields and a few text fields. The form post
the information to it's own url so that the details show below the form. I
try to write the form dict to a
For instance, Group A can access all the tables but Group B just
access some of them?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
9 matches
Mail list logo