Thanks yu hepled me to resolve the problem..

The problem was 

i used it earlier as

raise forms.ValidationError("Item Code [" + fieldrec.barcode_id + "] already 
exists." + mark_safe("Error<br />here") + fieldrec.i_name + " -- " + 
str(fieldrec.i_size) + "(ml) -- Rs." + str(fieldrec.i_price) + " -- Last 
Updated On: " + lud.strftime("%d/%m/%Y") +"]")

which didnt work

later i gave it as

        raise forms.ValidationError(mark_safe("Item Code [" + 
fieldrec.barcode_id + "] already exists." + "Error<br />here"+ 
fieldrec.i_name + " -- " + str(fieldrec.i_size) + "(ml) -- Rs." + 
str(fieldrec.i_price) + " -- Last Updated On: " + lud.strftime("%d/%m/%Y") 
+"]"  ) )


thanks a lot

-- 
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 group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to