I am creating an application where users can set objects and the corresponding data they want to record. Let me give you an example:
In Django Templates, how do i specify the size of a field This is 开发者_开发百科my form class:
Well i don\'t find the answer I\'m sure that it\'s very simple, but i just don\'t find out how to make it work like Django when it doesn\'t find a variable
urls.py: .... (r\'^blog/post/$\', post), .... View code: def post(request): if request.method == \'POST\': post, created = Post.objects.get_or_create(
I want to implement a ajax \'like\' button which should increase the like count and not refresh the whole page. I am new to ajax so please help.
I try to show the name of an enum in the template.To be clear, I have enum like class in model.py class EmployerWorkerNumberRange():
After decoupling url file to our app we are facing problem: Example: http://www.oursite.com/ourprefix/xyz/wsz
I have the following form: 开发者_如何学运维from django import forms class PostForm(forms.Form):
Using django, I have a form in which a user enters his \'position\'. The user may add multiple positions. The user may also delete positions. There are two things worth noting with this:
I try to use templatetags in django but I have trouble. I defined enumhelper.py in the templatetags package.