models.URLField does not validate a valid url

2011-08-22 Thread Burcu Hamamcıoğlu
Hi all, I 've a strange issue with URLField. It does not validate " http://www.babacanyapi.com"; and "ttp://www.crowntowers.net". When ı use these urls the browser does not open anything I think it troubles into an infinite loop. Why django does not recognize these urls? -- You received this me

Re: How to get parent id in inline html

2011-07-20 Thread Burcu Hamamcıoğlu
I found the solution; change_view view sends a parameter named "object_id" to the html. This was enough helpfull for me. 20 Temmuz 2011 00:03 tarihinde Burcu Hamamcıoğlu yazdı: > Hi all, I've customized edit_inline.html for my inline section. I > need parent model&

How to get parent id in inline html

2011-07-19 Thread Burcu Hamamcıoğlu
Hi all, I've customized edit_inline.html for my inline section. I need parent model's id/pk in the inline template. How can I get it? Is there any way to reach it? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send emai

Re: A Strange Error-auto_now_add

2011-05-16 Thread Burcu Hamamcıoğlu
Ok. We will carry on monitoring it. Thank you very much again. 2011/5/16 Kenneth Gonsalves > On Mon, 2011-05-16 at 13:59 +0300, Burcu Hamamcıoğlu wrote: > > Thank you very much Kenneth. I think this is a one-off error for now. > > If I > > face to this problem a

Re: A Strange Error-auto_now_add

2011-05-16 Thread Burcu Hamamcıoğlu
2011/5/16 Kenneth Gonsalves > On Mon, 2011-05-16 at 13:43 +0300, Burcu Hamamcıoğlu wrote: > > ORACLE. > > long ago I used to have a lot of errors where there was an auto_now_add > field along with an image/file field in the same model. At one time > auto_now_add was deprec

Re: A Strange Error-auto_now_add

2011-05-16 Thread Burcu Hamamcıoğlu
ORACLE. 2011/5/16 Kenneth Gonsalves > On Mon, 2011-05-16 at 11:31 +0300, Burcu Hamamcıoğlu wrote: > > I have a project in prodution and a met a strange error last few days. > > create date of my record's field is > > "models.DateTimeField(auto_now_add = > &g

A Strange Error-auto_now_add

2011-05-16 Thread Burcu Hamamcıoğlu
Hi everybody, I have a project in prodution and a met a strange error last few days. create date of my record's field is "models.DateTimeField(auto_now_add = True)" . At 15th May a record has been saved to my db and create date of this record has been set to "15.06.6014". I couldn't believe my e

How to make add a listbox to admin template?

2009-04-15 Thread Burcu Hamamcıoğlu
--~--~-~--~~~---~--~~ 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...@googleg

How To Change App Label in Admin Pages

2009-04-08 Thread Burcu Hamamcıoğlu
I have a question about Internationalization; is there anyway to change the name of app name in admin pages. But I dont't want to override admin html pages. Can i add a new name to appp like verbose name in models? --~--~-~--~~~---~--~~ You received this message bec

Ignore Case Sensitive Property

2009-03-03 Thread burcu hamamcıoğlu
I wrote a query like : applications = Application.objects.filter(name__contains=searchText) I want to get the applications filtered by searchText. If the app. name is "Guitar" and my serachText is "guitar", django can't find it, makes the query in case-sensitive format. How can i ignore this.? --~

Re: Overriding ID Field

2009-02-20 Thread burcu hamamcıoğlu
n Fri, Feb 20, 2009 at 3:41 PM, burcu hamamcıoğlu > wrote: > > I want to define a custom id field, that holds a guid (uuid). But how can > i > > override the default id field? I want it to modified as guid.. > > > > > > > > > --~--~-~--~

Re: Overriding ID Field

2009-02-20 Thread burcu hamamcıoğlu
But there is not any error flaged field and i can't add an object. 2009/2/20 Masklinn > > On 20 févr. 09, at 11:11, burcu hamamcıoğlu > wrote: > > I want to define a custom id field, that holds a guid (uuid). But > > how can i override the default id field? I want i

Overriding ID Field

2009-02-20 Thread burcu hamamcıoğlu
I want to define a custom id field, that holds a guid (uuid). But how can i override the default id field? I want it to modified as guid.. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post

Readonly Field

2009-02-19 Thread burcu hamamcıoğlu
hi , I want to make to display a field disabled(readonly) on admin form. Could you please help me how can i do this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send em

Re: Unable to login (cookies not enabled?)

2009-01-12 Thread burcu hamamcıoğlu
I had the same problem but my solution was different. I got this error when i tried to open page with firefox. But i could open it with i.e That's all! 2009/1/6 Deniz Dogan > > On 5 Jan, 11:41, Deniz Dogan wrote: > > On 5 Jan, 10:47, Deniz Dogan wrote: > > > > > > > > > Hi > > > > > I'm having

Re: Get Request Url

2009-01-11 Thread burcu hamamcıoğlu
Thanks Bruno request.get_full_path() is enough for me . Best regards 09 Ocak 2009 Cuma 18:31 tarihinde bruno desthuilliers < bruno.desthuilli...@gmail.com> yazdı: > > > > On 9 jan, 17:06, "burcu hamamcıoğlu" wrote: > > Hi everybody, > > > > do

Get Request Url

2009-01-09 Thread burcu hamamcıoğlu
Hi everybody, do you know how can i get request url in views.py. My url pattern is like (r'^wp/rmain2\.aspx','DisplayPacketApplications2'), But my link is like : http://wap2.cepoyun.com/wp/rmain2.aspx?pid=194&w=280jhjh when i use 'PATH_INFO' i olnly get 'wp/rmain2\.aspx' of the link. How can i g

Re: How should I handle dynamically generated images?

2008-12-25 Thread burcu hamamcıoğlu
You can use this class in your models.py class Category(CommanInfo): name = models.CharField(max_length=30) display_name = models.CharField(max_length=30) list_image = models.FileField(upload_to="uploads/images",null=True, blank=True) to use the image in html you must write

Re: set session expiry time in settings.py

2008-12-25 Thread burcu hamamcıoğlu
Thanks. 2008/12/25 Christian Joergensen > > burcu wrote: > > Him Team, > > > > i want to set session expiry time in settings.py. Could you please > > help me regarding this case? > > > http://docs.djangoproject.com/en/dev/topics/http/sessions/#session-c

set session expiry time in settings.py

2008-12-25 Thread burcu
Him Team, i want to set session expiry time in settings.py. Could you please help me regarding this case? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj