OK. AJAX is the solution.
--
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 django-
I want the default modB localField value to be the modA wantedField value
corresponding to the foreign key. This would gives :
class modA(models.Model):
wantedField = models.CharField(max_length=9)
[ ... other fields ...]
def asDefault():
return wantedField
2014 at 6:59 PM, Matlau Issu > wrote:
>
>> I mean, in my views.py i do :
>> return render(request, 'myapp/detail.html', { pydic_jsonized :
>> json.dumps(python_dict) } )
>>
>> then in my html, i get pydic_jsonized with
>>
>> var jso
I mean, in my views.py i do :
return render(request, 'myapp/detail.html', { pydic_jsonized :
json.dumps(python_dict) } )
then in my html, i get pydic_jsonized with
var json = {{ pydic_jsonized }};
But pydic_jsonized is just furiously big, and is written as harded coded
data in the
import sys ; print sys.path gives me :
['C:\\Python27\\lib\\site-packages\\pip-1.5.6-py2.7.egg',
'C:\\Python27\\lib\\site-packages\\psutil-2.1.1-py2.7-win32.egg',
'C:\\Windows\\SYSTEM32\\python27.zip',
'C:\\Python27\\DLLs',
'C:\\Python27\\lib',
'C:\\Python27\\lib\\plat-win',
'C:\\Python27\\lib\\li
Hi everyone,
All in the title, My site works perfectly on my windows 7 environnement.
I just dont figure out what the problem is. I do not have any special
characters in the considered path.
Any idea ?
Thanks
Tracesbacks :
_
6 matches
Mail list logo