Re: jquery deployment

2019-05-30 Thread Mike Dewhirst
All versions of Django from 1.11 to 2.1 are working fine with py3.6 and py3.7. Only 2.2 barfs. I now suspect my Stripe integration which is somewhat behind the wave front at rev 2.0.3. It too uses js heavily. That is where I'm looking at the moment. I still hate js and hope someone can

Re: Accessing request from form

2019-05-30 Thread Mike Dewhirst
On Thursday, May 30, 2019 at 7:26:57 PM UTC+10, James Schneider wrote: > > I always dread being the guy that responds to his own thread with "Hey > guys, I fixed it." > Don't beat yourself up :) No-one stops looking and just waits for the answer. You have to assume your own motivation to

Re: How to use permissions on a CreateView class?

2019-05-30 Thread Andrew C.
Sorry. Info ISN’T saved on private browser On Thu, May 30, 2019 at 7:25 PM Andrew C. wrote: > Try clearing your browser history and info. Should also test in Incognito > or Private browser so info is saved. I have a suspicion that your browser > is saving login info and you’re just not

Re: How to use permissions on a CreateView class?

2019-05-30 Thread Andrew C.
Try clearing your browser history and info. Should also test in Incognito or Private browser so info is saved. I have a suspicion that your browser is saving login info and you’re just not realizing this. On Tue, May 28, 2019 at 5:54 PM Fellipe Henrique wrote: > Hi Jim, > > Tried that, as you

problem with form

2019-05-30 Thread Saeed Pooladzadeh
Hi I'm trying to make a simple crud applicatio and learn from it. I wonder why my form can't save the data. Here cames my view: from django.shortcuts import render from saeed.forms import SmodelForm from saeed.models import Smodel from django.shortcuts import render, redirect # Create

Re: reagrding "{% csrf_token %}"issue on my web site login module

2019-05-30 Thread Abdul Qoyyuum
When you run the application and test the login, what do you see in the devtool's Network tab? Did you see if csrf_token is null? How about document.cookie? Is that also null? Is the document.cookie being passed to csrf_token in other ways? Lots of ways to complete this in Angular/jQuery/Ajax

Re: Create a real small business website with Django as soon as possible!!

2019-05-30 Thread Abdul Qoyyuum
Then just use a CMS like https://wagtail.io/. Wagtail is built on top of Django and its enough to cover all of your requirements. But its recommended that you go through Django tutorial in the docs first before trying out Wagtail though. On Saturday, May 25, 2019 at 3:30:56 AM UTC+8, Siavash

Re: is that any way to deploy django in apache with centos

2019-05-30 Thread Suresh Kannan
Hi, I found this video helpful https://www.youtube.com/watch?v=DzXCHAuHf0I=1553s but with Nginx and Uwsgi. Hope this helps you! Suresh On Thu, May 30, 2019 at 7:59 AM Kurosh Sol wrote: > is that any way to set Django in apache with wsgi mod in centos > I keep reading and still get error >

Re: POINT OF SALE SYSTEM

2019-05-30 Thread Shakil Ahmmed
github/ShakilAhmmed/point_of_sale On Thu, May 30, 2019, 5:45 PM pranayreddy788 wrote: > Easily > > > On May 30, 2019 at 17:06, > wrote: > > Can a POS (point of sale) software be made in Django? > > > -- > You

is that any way to deploy django in apache with centos

2019-05-30 Thread Kurosh Sol
is that any way to set Django in apache with wsgi mod in centos I keep reading and still get error any good resource can really work? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

Re: POINT OF SALE SYSTEM

2019-05-30 Thread pranayreddy788
Easily On May 30, 2019 at 17:06, > wrote: Can a POS (point of sale) software be made in Django? -- You received this message because you are subscribed to the Google Groups "Django users" group. To

POINT OF SALE SYSTEM

2019-05-30 Thread Muhammed Bilal
Can a POS (point of sale) software be made in Django? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Re: SFTP (Secure File Transfer Protocol )

2019-05-30 Thread Kasper Laudrup
Hi Vkash, On 30/05/2019 10.32, Vkash Poudel wrote: How can I create the  SFTP (Secure File Transfer Protocol ) app in Django.I have been researching but couldnt find any documentation.Or may bi I am confused.HELP me out with this problem.I need a simple example of SFTP in django or If you can

context must be a dict rather than RequestContext.

2019-05-30 Thread Soumen Khatua
Hi Folks, I'm using django 1.11 for this project I'm implementing payment gateway of PayuMoney but I'm getting thios error: context must be a dict rather than RequestContext. I alreday attach the source code,please let me know what i missed in this code. -- You received this message because

jquery deployment

2019-05-30 Thread Mike Dewhirst
I just encountered a weird UI glitch[1] in the Admin after upgrading to Django 2.2.1 I checked and found the version of jquery I'm using is 1.4.1 and figured that has to be contributing to the problem. The 2.1 release note says "jQuery is upgraded from version 2.2.3 to 3.3.1." so I dug

Re: Django wsgi apache Deploy project

2019-05-30 Thread N'BE SORO
thank you everyone I managed the deployment Le mar. 7 mai 2019 à 18:48, Subhodeep Das a écrit : > Try: > > WSGIScriptAlias /test/tc-test /var/www/stage/hello/tc-test/django.wsgi > > You shouldn't have trailing slash on first argument. > > On Tue, May 7, 2019 at 7:27 PM N'BE SORO wrote: > >>

Re: Accessing request from form

2019-05-30 Thread James Schneider
I always dread being the guy that responds to his own thread with "Hey guys, I fixed it." At any rate, I'm currently stuck having to create relatively empty > ModelForm shell classes for the simple reason of including a form mixin > that grabs the request before __init__() (because the ModelForm

SFTP (Secure File Transfer Protocol )

2019-05-30 Thread Vkash Poudel
How can I create the SFTP (Secure File Transfer Protocol ) app in Django.I have been researching but couldnt find any documentation.Or may bi I am confused.HELP me out with this problem.I need a simple example of SFTP in django or If you can provide me some usefull links or examples.Please

Accessing request from form

2019-05-30 Thread James Schneider
Does anyone know a philosophical reason (or I suppose a technical one, although I don't think that's the case) why the request is not made available by default in ModelForms when using CBV's? Almost all of the models I use have "audit" fields (created_by, updated_by, etc.) that reference the