Re: Template Variations title not showing

2020-05-22 Thread oldtimer
I cannot get variations or I tried model forms for options as well and cannot get either to add to the cart. I can get both to display as options on the product page, but that is as far as I've made it. Need some help on how to get the views.py to get the options and post to cart. -- You recei

Re: Template Variations title not showing

2020-05-22 Thread Ahmed Khairy
Did you adjust your views to make the variations add to the cart ? On Thursday, May 21, 2020 at 10:04:15 PM UTC-4, oldtimer wrote: > > Hello, > > i was able to get the variant to show on the product page with using a > form. > > I cannot get the variants to display in the cart. > > Only differen

Re: Acces a l'interface d' administration

2020-05-22 Thread Tobi DEGNON
Vous avez les deux projets démarré en même temps sur la machine, sur des ports diffèrent c'est ça ? Le ven. 22 mai 2020 22 h 39, Dino P.Russe a écrit : > J'ai deux projets sur un même ordinateur. > Quand j'essaye de me connecter sur l'interface d'administration du 2 ème > mon navigateur me dirig

Re: Django back button issue after log-out

2020-05-22 Thread Akshat Zala
Hey, Did the solution worked? On Tuesday, 19 May 2020 10:37:51 UTC+5:30, Akshat Zala wrote: > > In urls.py of the project directory: > > path('login/', auth_views.LoginView. > as_view(template_name='users/login.html', redirect_authenticated_user=True > ), > name='login'), > > On Monday, 17 Decem

Re: Database audit fields in Django

2020-05-22 Thread Sebastian Jung
Hello, You must create it over models.py. please Take a Look Here https://stackoverflow.com/questions/2771676/django-datetime-issues-default-datetime-now Another field Like Lastchangefromuser you must created it AS onetoone field in models.py and in Views you can Insert requests.user to fill curr

Re: Database audit fields in Django

2020-05-22 Thread Gabriel Araya Garcia
You can see it in ADMIN tables of Django Gabriel Araya Garcia GMI - Desarrollo de Sistemas Informáticos 99.7721.15.70 El vie., 22 may. 2020 a las 17:39, Sujata Aghor () escribió: > I am looking to create a database audit fields such as 'created by' , ' > modified by', 'created on time', ' modi

Re: "get /http/1.1" 403 179

2020-05-22 Thread Kasper Laudrup
On 22/05/2020 07.06, Wiem Chaouachi wrote: how to fix this please return HttpResponse("Number of the beast", status=666) -- 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

Acces a l'interface d' administration

2020-05-22 Thread Dino P.Russe
J'ai deux projets sur un même ordinateur. Quand j'essaye de me connecter sur l'interface d'administration du 2 ème mon navigateur me dirige vers l'interface d'administration du 1 er projet. Comment remédier a cela? MERCI POUR VOTRE AIDE. -- You received this message because you are subscri

"get /http/1.1" 403 179

2020-05-22 Thread Wiem Chaouachi
how to fix this please -- 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 view this discussion on the web visit http

Database audit fields in Django

2020-05-22 Thread Sujata Aghor
I am looking to create a database audit fields such as 'created by' , ' modified by', 'created on time', ' modified on time' and Archive table where i can see the changes over the time about perticular row. this was possible in web2py automatically. Does anyone knows any such thing exist in Dja

Re: How to invoke Sub Form which have MULTIPLE OPTIONS to choose inside Django Form.

2020-05-22 Thread chaitanya orakala
Hello Djangians, I have a select drop-down list in a form. whenever I will select an option, it should pop-up a list containing information about the package. Please suggest how to achieve this. Thank You On Thu, May 21, 2020 at 2:59 AM chaitanya orakala wrote: > wow... thanks Devansh. It was

RE: JSON file

2020-05-22 Thread Vishesh Mangla
I ‘m not sure if that is a JSON file because a JSON file is nothing but a python dictionary like structure and that doesn’t seem to be that. Anyways you can see python’s building json module’s json.dumps() function. Sent from Mail for Windows 10 From: HJSent: 22 May 2020 23:18To: Django usersSubjec

Re: How to Insert Foreign Key into my user model with Abstractbaseuser

2020-05-22 Thread HJ
can you check this , I hope it's helpful https://stackoverflow.com/questions/28691771/django-foreignkey-to-abstractbaseuser Le jeudi 21 mai 2020 13:11:50 UTC+1, 박지훈 a écrit : > > class User(AbstractBaseUser): >password = models.CharField(max_length=128) >username = models.CharField(unique

Re: How to Insert Foreign Key into my user model with Abstractbaseuser

2020-05-22 Thread hajar Benjat
can you check this , I hope it's helpful https://stackoverflow.com/questions/28691771/django-foreignkey-to-abstractbaseuser Le jeu. 21 mai 2020 à 13:11, 박지훈 a écrit : > class User(AbstractBaseUser): >password = models.CharField(max_length=128) >username = models.CharField(unique=True, ma

JSON file

2020-05-22 Thread HJ
hello django users hope you are doing well I want to do a highchart using a json file , and that's the problem I am facing , I want to create a json file in my views.py based on my columns below "countDeliveries"and "Dates" class mail_item_count_deliveries_perDate(models.Model): countDelive

Allauth if social login

2020-05-22 Thread Sebastian Jung
Hello, On my website there are a menu item changepassword. Users can login normal over django and over allauth with social accounts. When user is login over social account i want to disable menu item change password. How can i find out that user is login with an allauth social account in templa