Re: Translation doesn't work?

2019-03-25 Thread ANi
Does anyone have clue about it? I'll appreciate your help! ANi於 2019年3月22日星期五 UTC+8上午11時12分07秒寫道: > > Hello. > The only word that has been translated is "name", but it seems that it is > the default one in Django. > So basically my translation does not work at all.. > please help > >

Re: how to deploy django on cpanel or server

2019-03-25 Thread Surojit Sahu
i am not getting perfect tutorial for this plz share link or share the full process for deploying django on cpanel. thanks surojit On Mon, Mar 25, 2019 at 9:58 PM Aayush Bhattarai wrote: > > > You can use Free Hosting Provider like Heroku and Python anywhere for >> hosting your site. >> > >

google summer of code

2019-03-25 Thread Nourhan Hekal
"Test framework cleanup " actually I like to apply for this idea but I need more information to make up my mind can you tell me a little bit more

Re: Django REST custom registration

2019-03-25 Thread Sam W
Similar question in Stackoverflow: https://stackoverflow.com/questions/24791110/django-allauth-how-to-set-user-to-active-only-after-e-mail-verification/24809190 On Monday, March 25, 2019 at 4:17:11 AM UTC-5, shubham joshi wrote: > > How can I create sign up form in such a way that..once a form

Re: Web Push Notification in Django

2019-03-25 Thread Sam W
Web Push Notification Package for Django: https://github.com/safwanrahman/django-webpush On Monday, March 25, 2019 at 11:28:43 AM UTC-5, Aayush Bhattarai wrote: > > *I am working on blog project and I wanted to add Web Push Notification in > Django. I have researched a lot. I have not found

Re: Help Needed For .Error Solving

2019-03-25 Thread Mike Dewhirst
On 26/03/2019 4:35 am, Kumar Ashirwad Mishra wrote: I am trying to send a request to paytm gateway checkout api for online transaction so I have created a form that has hidden values for request. So how to solve the csrf_token problem .. Thankyou You need to include the CSRF token immediately

Re: How can I create schemas while writing creating table models.

2019-03-25 Thread Sushen Jamwal
Anyone? On Friday, 22 March 2019 20:58:20 UTC-4, Sushen Jamwal wrote: > > Hi all, > > I am finding it difficult to create tables in different schemas under one > database. > > For ex. mydatabase.myschemaone.school (DB.SCHEMA.TABLE) > > and mydatabase.myschematwo.school > > Thanks, > Sushen

Re: django cms beginner app issue

2019-03-25 Thread LIGHTNING OMEGA 2 636
Just letting you know that, I've read msg and reviewed you code. Although these are interview objects, it uses word tokens. Key words such as those used in this code are handled well by utilizing Natural Language Processing (NLP) methods. Mapping and Regular Expressions (Regex) do alot of the

django cms beginner app issue

2019-03-25 Thread Keegen Knapp
I'm trying to write a custom app where you can add new plants in the admin. Then create a list view, category view and detailed view. You can see my error and code below. Any help is greatly appreciated!! Error - [image: Screen Shot 2019-03-25 at 11.25.09 AM.png] models.py - from

Re: custom registration form

2019-03-25 Thread Sam W
Similar question in Stackoverflow: https://stackoverflow.com/questions/24791110/django-allauth-how-to-set-user-to-active-only-after-e-mail-verification/24809190 On Monday, March 25, 2019 at 7:52:57 AM UTC-5, Shubham Joshi wrote: > > How can I create sign up form in such a way that..once a form

Help Needed For .Error Solving

2019-03-25 Thread Kumar Ashirwad Mishra
I am trying to send a request to paytm gateway checkout api for online transaction so I have created a form that has hidden values for request. So how to solve the csrf_token problem .. Thankyou -- You received this message because you are subscribed to the Google Groups "Django users"

Re: Web Push Notification in Django

2019-03-25 Thread Aayush Bhattarai
Thanks dude. That's was very helpful. On Monday, 25 March 2019 22:13:43 UTC+5:45, Aayush Bhattarai wrote: > > *I am working on blog project and I wanted to add Web Push Notification in > Django. I have researched a lot. I have not found proper answer on it.* > *Looking for good answer. Thank

Re: Web Push Notification in Django

2019-03-25 Thread Ahmed Ishtiaque
Following this for my own purposes as well. I did only a little bit of research (testing the waters, if you like) on this. So far, here are some resources that are currently open in my browser right now: Introduction to Push Notifications

Re: Web Push Notification in Django

2019-03-25 Thread Suresh Kannan
Hi, I hope this helps https://www.digitalocean.com/community/tutorials/how-to-send-web-push-notifications-from-django-applications https://github.com/safwanrahman/django-webpush On Mon, 25 Mar 2019 at 12:28, Aayush Bhattarai wrote: > *I am working on blog project and I wanted to add Web

Re: add Image Field in model

2019-03-25 Thread Aayush Bhattarai
> > *Dude Use this code* > *image = models.ImageField(upload_to='media/') * *and also make sure to install pillow* -- 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

Re: how to deploy django on cpanel or server

2019-03-25 Thread Aayush Bhattarai
You can use Free Hosting Provider like Heroku and Python anywhere for > hosting your site. > > Paid one include digital ocean and many more. > Just Google it. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Web Push Notification in Django

2019-03-25 Thread Aayush Bhattarai
*I am working on blog project and I wanted to add Web Push Notification in Django. I have researched a lot. I have not found proper answer on it.* *Looking for good answer. Thank You.* -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: custom registration form

2019-03-25 Thread Mohamed Amin
O On Mar 25, 2019 17:01, "Chetan Ganji" wrote: > There is a better way in django. > > Django provides admin panel for the admins, you just have to create one > account for the admin as superuser. Email needs to be sent manually which > can be done immediately after the form is validated. > User

Re: Fix docs for model.save() with update_fields specified and auto_now field in model

2019-03-25 Thread Sebastian Haase
There are of course stackoverflow postings -e.g. https://stackoverflow.com/questions/17474057/enforce-auto-now-when-using-saveupdate-fields - is almost 6 years old. On Monday, March 25, 2019 at 4:30:57 PM UTC+1, Sebastian Haase wrote: > > Hi, > in section "Specifying which fields to save" ( >

Fix docs for model.save() with update_fields specified and auto_now field in model

2019-03-25 Thread Sebastian Haase
Hi, in section "Specifying which fields to save" (https://docs.djangoproject.com/en/dev/ref/models/instances/#specifying-which-fields-to-save) it reads that `update_fields` can be specified mostly for performance benefits... However, I found that regarding a field with "auto_now=True" there is

Re: custom registration form

2019-03-25 Thread Chetan Ganji
There is a better way in django. Django provides admin panel for the admins, you just have to create one account for the admin as superuser. Email needs to be sent manually which can be done immediately after the form is validated. User model has "*is_active*" flag that can be used to limit

ModelForm FileField Not Effecting the CSS

2019-03-25 Thread Irfan Khan
Hi, I have enquiry form developed in the MODELFORM, after rendering to the templates i defined the div tag in the put this form and applied the CSS effects.but the issue is all fields except fiel field are in the proper alignment, can any one please guide me to make this filefield also in

DEPLOYEMENT

2019-03-25 Thread Sylvain Tshiasuma
Salut, tous Je suis tout nouveau Quelqu'un peut m'aider à comment heberger mon site sur webfaction.com? Someone can help me to deploy my site on webfaction.com? -- You received this message because you are subscribed to

Blog post that look like pages in open book

2019-03-25 Thread MJ
Hello, I have an idea for a simple blog site that look like a open book. For a simple prototype this is only text nothing fancy, no animation of turning page and so on. But I stumble on a problem with presenting simple text. First I assume that every page in the "book" is diffrent

custom registration form

2019-03-25 Thread Shubham Joshi
How can I create sign up form in such a way that..once a form has been filled and submitted by user (teacher / student) . The form should be sent to the Admins email id , once s/he verified the sign up form , the user should able log in -- You received this message because you are subscribed

Re: Having problem with first page of first tutorial

2019-03-25 Thread kendiramartha
hello please i have problem with my manage.py to start up a blog but this is what it show *Requirement already satisfied: manage.py in c:\users\oluwatomiwa\desktop\practiceone\myvenv\lib\site-packages (0.2.10)* please help me out On Saturday, March 23, 2019 at 8:23:11 PM UTC+1, Ben Edwards

add comment to post

2019-03-25 Thread omar ahmed
hiii how can i make comments to my news posts ? -- 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

Django REST custom registration

2019-03-25 Thread shubham joshi
How can I create sign up form in such a way that..once a form has been filled and submitted by user (teacher / student) . The form should be sent to the Admins email id , once s/he verified the sign up form , the user should able log in -- You received this message because you are subscribed

Re: Deployment on Heroku

2019-03-25 Thread Aakash Baranwal
It goes into the site-packages in linux as well but it was not showing there, infact even after I installed it there itself, then also it was not there, however when I checked in the terminal by reinstalling it said that requirement is already satisfied and its already in the requirements.txt

Re: Deployment on Heroku

2019-03-25 Thread Aakash Baranwal
Its already present there. On Mon, Mar 25, 2019 at 1:23 PM Christhian Jesus wrote: > Add gunicorn to requeriments.txt > > On Mon, Mar 25, 2019 at 3:26 AM Ahmed Ishtiaque > wrote: > >> From the looks of it, it seems that in your procfile you need to point to >> the *exact* location gunicorn is

Re: Deployment on Heroku

2019-03-25 Thread Christhian Jesus
Add gunicorn to requeriments.txt On Mon, Mar 25, 2019 at 3:26 AM Ahmed Ishtiaque wrote: > From the looks of it, it seems that in your procfile you need to point to > the *exact* location gunicorn is installed in. So this could be somewhere > like ~/.local/lib/pythonx.y/site-packages/gunicorn

Re: Performing SQL queries on SQLite database

2019-03-25 Thread carl collins
Hello, Please I need advice on how I can go on with this. Thanks On Sat, Mar 23, 2019 at 8:26 PM carl collins wrote: > Hello guys, > I'm Carl Collins from Cameroon. I'm working on this Django Project and I > got stuck . Need help.The first thing I would love to ask is about > performing SQL

SMMP sms sending

2019-03-25 Thread mazz ahmed
Hi everyone, I am using smpplib python library for sending SMS but I am not able to send the message. When I am using the bind_transmitter it gives me invalid sys_id. But When i used bind_transceiver I am connected to the server and able to send the message but the message is not delivered to

Re: Deployment on Heroku

2019-03-25 Thread Ahmed Ishtiaque
>From the looks of it, it seems that in your procfile you need to point to the *exact* location gunicorn is installed in. So this could be somewhere like ~/.local/lib/pythonx.y/site-packages/gunicorn directory on your heroku instance (if it’s a Linux filesystem... I don’t remember what heroku uses