Re: How to generate po files ?

2009-09-11 Thread Mirat Can Bayrak
hellooo -- Mirat Can Bayrak --~--~-~--~~~---~--~~ 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, sen

Re: How to generate po files ?

2009-09-09 Thread Mirat Can Bayrak
i am calling like python manage.py compilemessages < so django settings module set before compilemessages command executed :/ (i think) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post t

How to generate po files ?

2009-09-09 Thread Mirat Can Bayrak
SVN tree or your project or app tree, or with the settings module specified. as you see, it raised an error. why it happened like this? Regards -- Mirat Can Bayrak --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Can i rise 404 from my middleware ?

2009-08-04 Thread Mirat Can Bayrak
On Tue, 4 Aug 2009 16:47:37 -0500 Alex Gaynor wrote: > > On Tue, Aug 4, 2009 at 4:45 PM, Mirat Can > Bayrak wrote: > > > > Question is simple. i tried to use raise Http404 from middleware and that > > is not working. > > > > My middlewar

Can i rise 404 from my middleware ?

2009-08-04 Thread Mirat Can Bayrak
raise Http404 -- Mirat Can Bayrak --~--~-~--~~~---~--~~ 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

Can i add initial admin user?

2009-08-01 Thread Mirat Can Bayrak
Can Bayrak --~--~-~--~~~---~--~~ 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-user

using domain name as parameter..

2009-07-07 Thread Mirat Can Bayrak
i am building a site that like blogger.com i mean i have to use subdomains as parameters :\ Is there any docs about django about doing this? or any ideas? thank you very much. -- Mirat Can Bayrak --~--~-~--~~~---~--~~ You received this message because you

Re: Using a dynamically created ImageField filename prior to save?

2009-07-05 Thread Mirat Can Bayrak
I have another question. You are naming images as hash of random number. There is a small chance to produce same name i think. It is not good way to give name ha? -- Mirat Can Bayrak --~--~-~--~~~---~--~~ You received this message because you are subscribed

Rename Products image as products slug

2009-02-17 Thread Mirat Can Bayrak
I have a model called product, it has slug and image fields. When it saved i want to rename image file as slugfield. for example if i save a product that called "Sony Laptop", i want to store its image as sony-laptop.jpg. How can i do it? i am stuck for hours. -- Mirat

renaming file name after uploading at admin site

2009-02-16 Thread Mirat Can Bayrak
jango/mmm/media/product_images/akatis.png' In [4]: p.image.url Out[4]: u'http://localhost:8000/home/horselogy/django/mmm/media/product_images/akatis.png' why it is being like that? what am i doing wronG? Thanks for your response

Re: can i use models like that??

2009-01-29 Thread Mirat Can Bayrak
CharField.. ... ... -- Mirat Can Bayrak --~--~-~--~~~---~--~~ 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 f

can i use models like that??

2009-01-28 Thread Mirat Can Bayrak
I did not tried to run that: class Product(models.Model): name = models.CharField(max_length=50) slug = models.SlugField() preview_animation = models.ImageField(upload_to = "animations") class Game(Product) another_properties

I want to change widget in admin

2009-01-27 Thread Mirat Can Bayrak
: model = ShortDescription but no way... can anybody tell me how can i do that? (step by step please) -- Mirat Can Bayrak --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Optional fields in admin page

2008-12-21 Thread Mirat Can Bayrak
hi, i have a state selection which has options "exists", "not exists" and "redirected" when it is selected as exists i want to show some more fields, but on other selections i dont want him to show them. can i do that i