I have a django app and at the template part i have javascript function
calling the rest api:
http://komandor.app.gittigidiyor.net:8000/static/js/select-autofiller.js>">
At the js file i am filling a select box according to the returned json
response
$('#field1').change(function(){
var
lform as
def clean_faculty(self):
data = self.cleaned_data['faculty']
return 0
the error related with faculty is gone. So it seems modelform is creating the
choices with (0, "") which is defined at the model. How can i fix it like at
the view part so that
ost probably because of the apache user is
not able to access the X server. Indeed at my distro it doesn't have shell
account.
I don't want to define X access to apache user. So what do you suggest?
--
Oguz Yarimtepe
--~--~-~--~~~---~--~~
You receive
ation.
The code is working of Firefox but when i tested with IE, i dont see any
messages. I didn't find a solution yet. Anybody encounter with the same issue
before?
--
Oguz Yarimtepe
--~--~-~--~~~---~--~~
You received this message because you are subscr
ation.
The code is working of Firefox but when i tested with IE, i dont see any
messages. I didn't find a solution yet. Anybody encounter with the same issue
before?
--
Oguz Yarimtepe
--~--~-~--~~~---~--~~
You received this message because you are subscr
ng onload functions at templates at Django?
Or should it normaly work but am i doing something wrong?
--
Oguz Yarimtepe
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
st.user.is_authenticated():
return HttpResponse("nok")
else:
return HttpResponse("ok")
So i am gettig alwasy nok on the screen. How can i keep accesing session values
from not posted sites?
--
Oguz Yarimtepe
--~--~-~--~~~---~--
> If you have not already, go to new.djangobook.com and read chapter 7
> on form processing. Make sure you understand it. Visit the excellent
> newforms reference in the Django doc. Look at the onchange attribute
> for checkboxes to see how to make a form autosubmit on a change to a
> field, a
Hi,
I need some ajax help at my Django application. I haven't used ajax
before so it will be good if someone suggest me some toolkits so that i
won't spend time reading all ajax things.
One thing that i want to do is filling a text box by clicking a button.
It will be good if another Djang
9 matches
Mail list logo