Django Satchmo render company_name problem and some mods

2010-08-31 Thread maumercado
Hello everyone...

Ive been having the following problem in my satchmo shop, when
registering a new account, the template welcome.txt is not loading the
variable 'company_name' --> debug info : http://dpaste.com/236858/


Besides that there are two things that I want to do... One is to
reverse the order o appearance of the date of birth now it starts with
1910 but I want it to start with 2010, since its a list... I tought I
would be done with the reverse() method on the function but it does
not.. The other thing that I want is to make a required field
optional, Im talking about the postal code field... in the models is
already set with require=False but it is still mark as required...

Ill be thankfull if you can give me some ideas... Im kind of a newb
developing. Thank you all...

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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.



django flatpages and model translations

2012-04-14 Thread maumercado
Hello everyone,

What is your aproach or what app do you use in order to make translations 
for django flatpages and project apps models?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/VaYuwzWvZYIJ.
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.



Re: Django 1.4 - how to display a success message on form save

2012-06-26 Thread maumercado
Go with @JirkaV suggestion, also, you can add some jquery effect so that 
the div appears then fades out on success or on error... its pretty simple 
and really great!

On Tuesday, June 26, 2012 4:48:31 AM UTC-5, Lloyd Dube wrote:
>
> Hi everyone,
>
> I have a form on which I'm calling save() and if it is successful I would 
> like to display 'your post has been saved' or similar in the template. How 
> would one go about that in Django 1.4?
>
> I am sifting through the docs and cannot seem to find a definitive answer.
>
> Thanks in advance.
>
> -- 
> Regards,
> Sithembewena Lloyd Dube
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/jIYGL0QUR30J.
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.