django-oscar customisation

2021-11-22 Thread Hervé Edorh
Hi, I am new to django-oscar and i try to understand the structure of oscar. i have read many times the documentation but i think there is something i don't understand. I fork the template and customise the layout.html, base.html. but how can i build my own first page, i don't see an index.html

http error 401

2018-08-13 Thread Hervé Edorh
I used django and weasyprint to make an application which print a pdf file with picture and css file which design my pdf file. I used nginx, gunicorn and supervisor to deploy my application. In my intranet all is ok. When i used INTERNET PUBLIC IP ADDRESS to publish it on internet, my pdf file

django makemigrations not working

2018-05-05 Thread Hervé Edorh
Do you create another database? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to d

django admin and logout

2018-05-02 Thread Hervé Edorh
It is possible to make django admin application to logout after 5 minutes of no activity? Thank you -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users

Re: django-admin list in readonly

2018-04-27 Thread Hervé Edorh
group and give it permissions and add > users to that group. > > On Fri, Apr 27, 2018 at 2:58 AM Hervé Edorh > wrote: > >> >> In django admin, we have 3 rules that we can attribute to a table we can >> add, modify and delete. when you choose for an user the rule

django-admin list in readonly

2018-04-27 Thread Hervé Edorh
In django admin, we have 3 rules that we can attribute to a table we can add, modify and delete. when you choose for an user the rule of modify, he can't add and delete, My problem is that a have list of object and i don't want that the user modify but can select it. how disable it?

Change Django admin behaviour

2018-03-07 Thread Hervé Edorh
I have 3 models, the idea is that i can do many test on one product and a product can be removed of my stock (insert values in out table) by peoples. In django admin how can i do for blocking to insert values in Test table when the product is in the out table(inserted in the out table)? Wher

django-pybbm poll

2013-12-25 Thread Hervé Edorh
hi, I am using pybbm app like forum in my django application.When i want to create new topic, it asks me to write in poll form, i want to remove poll form. how can i remove it? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe f

charfield primary key contentype error

2013-12-13 Thread Hervé Edorh
Hi, I have a problem with a charfield foreign key. this my model class Region(models.Model): > """ Class décrivant la table Region """ > code_region = models.CharField(max_length=15, primary_key=True) > name = models.CharField(max_length=25,null=True,blank=True) > > > cl

Re: csrf token not working

2011-07-03 Thread Hervé Edorh
With django.core.context_processor.csrf that i explain, you don't need to do anything in yours views like below. On Jul 3, 4:29 pm, Vusal Alishov wrote: > example : > in views: > def foo(request): >     c = {"foo": "bar"} >     c.update(csrf(request)) >     return render('test.html',c) -- You r

Re: csrf token not working

2011-07-03 Thread Hervé Edorh
hi, step 3, put "django.core.context_processors.csrf" in your TEMPLATE_CONTEXT_PROCESSORS and if you use django 1.3 use "render()" in place of render_to_response in yours views. Or if you want to use render_to_response put "context_instance=RequestContext(request)" at the end of render_to_response

Re: date error

2009-02-10 Thread Hervé Edorh
thank you Mr Morales it work --~--~-~--~~~---~--~~ 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 djan

Re: date error

2009-02-10 Thread Hervé Edorh
nobody for helping me? --~--~-~--~~~---~--~~ 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-use

Re: date error

2009-02-10 Thread Hervé Edorh
Hello Mr Alex i think you have forgotten me --~--~-~--~~~---~--~~ 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

Re: date error

2009-02-09 Thread Hervé Edorh
i forgot, the first ulrs.py (in the project directory) is like this (r'^weblog/$',include('dibongo.urls')), (r'^weblog/(?P\d{4})/(?P\w{3})/(?P\d{2})/(? P\w+)/$',include('dibongo.urls')), this is the second that i put before. It for the chapiter decoupling the URLs --~--~-~--~~--

date error

2009-02-09 Thread Séno Hervé Edorh
Hi, I am new in django world and i am a french speaker but i will try to speak english in this mailling list. I have buy the book, Pratical Django projects of James Bennett and i have a problem somewhere. this is the error archive_index() got an unexpected keyword argument 'day' this is my urls