Hi all,
I would like to know is there any way I can search any data from
tables given some parameters:
Suppose I have this person model:
class Person(models.Model):
userid = models.AutoField(primary_key=True)
fname = models.CharField(max_length=30)
lname = models.CharField(max_length=
Hi Django users,
I am having some dilemma over converting simple admin page Template
(without having to use the built in django-admin functionality) by
using forms, and not templates, I have the following sample Admin page
that allows users to add, edit and delete record per row to Forms:
(Edit an
Hi all,
How do I use widgets on the field of a template(not forms)? Let's say
I have a field called Member, and this field should be in select form
that has choices from members table (field: member_name)?
tried using select option on html, but it ain't seem to work. any
inputs? Thanks.
--
You
hi django experts!
May I know how to create templates that has django widgets in it?
please refer to my should-be template output below:
Name:
here is the sample model:
class Name(models.Model):
name_id = models.AutoField(primary_key=True)
Hi all,
Suppose I have these data:
class Name(models.Model):
nameId = models.AutoField(primary_key=True)
name = models.CharField(max_length=20)
nameAddress = models.CharField(max_length=50)
on my views.py:
def name_delete(request, object_id):
conn = psycopg2.connect("dbname=mydb
hi django experts,
how do I strip the following string in python (Charfield format)
14:00
3:00
wherein I could compare the results - convert in integer:
if 14 > 3 . . .
thanks in advance!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To p
hi django experts,
how do I strip the following string in python (Charfield format)
14:00
3:00
wherein I could compare the results - convert in integer:
if 14 > 3 . . .
thanks in advance!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To p
hi django experts,
how do I strip the following string in python (Charfield format)
14:00
3:00
wherein I could compare the results - convert in integer:
if 14 > 3 . . .
thanks in advance!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To p
Hi django experts,
just want to know your opinion on how to validate the user input
(example: the user input field should be integer, but the user
accidentally inputs any character), here is my code:
FYI; the numberofapples field is IntegerField
here is my sample code:
def apples_edit(request):
Hi all,
Could someone please tell me how to create a Message Box using Django?
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this grou
Hi all,
Could someone please give a link on some of the samples for real world
Django websites?
Thanks and have a nice day!
Regards,
Django Beginner
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
11 matches
Mail list logo