Re: Adding a verbose_name to id field

2020-02-08 Thread Mike Dewhirst
On 9/02/2020 3:54 am, Bruckner de Villiers wrote: Mike, I tried id = model.AutoField(verbose_name=”Ticket #”).  Migrate didn’t like it – can’t have duplicate primaries.  I suspect this is because the Bug model already exists. What I am trying to achieve is an auto-increment field whereby ev

Re: is there a WYSIWYG for Django

2020-02-08 Thread john
Thanks - that was very helpful - but of course so were the personal suggestions. Johnf On 2/8/20 4:42 PM, Jason wrote: Anytime you have a question of "is there something in django that will do X?", check out https://djangopackages.org/ For example, there is a pretty good up to date WYSIWYG ca

Re: Adding a verbose_name to id field

2020-02-08 Thread Jason
Sounds to me you'd like a separate auto-increment field? On Saturday, February 8, 2020 at 11:55:48 AM UTC-5, Bruckner de Villiers wrote: > > Mike, > > I tried id = model.AutoField(verbose_name=”Ticket #”). Migrate didn’t > like it – can’t have duplicate primaries. I suspect this is because the

Re: is there a WYSIWYG for Django

2020-02-08 Thread Jason
Anytime you have a question of "is there something in django that will do X?", check out https://djangopackages.org/ For example, there is a pretty good up to date WYSIWYG category with possible options https://djangopackages.org/grids/g/wysiwyg/ -- You received this message because you are s

Re: Migrated code is not working in Django

2020-02-08 Thread Integr@te System
Hi Ram, plz show error code. On Sun, Feb 9, 2020, 01:03 Ram wrote: > Hi, > > I just noticed that the migrations table in Postgres is not updated though > we reset all the previous migrations. Do I need to run any step in the > database side whenever integrate new code drop? Unfortunately, we ar

Re: open source advice needed

2020-02-08 Thread John McClain
Kimberly, I would enjoy helping you with this journey. Please get in touch jmcclain0...@gmail.com On Wed, 29 Jan 2020 at 00:18, Kimberly Regan wrote: > Hello, > I have an idea that I pitched and placed 4th at the Harvard Zaentz Early > Innovation Challenge. I've been implementing the model at

is there a WYSIWYG for Django

2020-02-08 Thread Desmond Nyamador
Hi I suggest you try out Django summernote. Easy to setup for your admin and frontend -- 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...@

Re: Régrouper les lover de PYTHON

2020-02-08 Thread KONE GOMPOU LOUA ALASSANE
De quel module s’agit-il? Le sam. 8 févr. 2020 à 14:45, SORO MOISE a écrit : > SALUT JE VIENT DE DECOUVRIRE CE MODULE DE PYTHON ET JE VOUDRAIS SAVOIR > PLUS SUR CE QU'ON PEUT FAIRE AVEC. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. >

Re: Migrated code is not working in Django

2020-02-08 Thread Ram
Hi, I just noticed that the migrations table in Postgres is not updated though we reset all the previous migrations. Do I need to run any step in the database side whenever integrate new code drop? Unfortunately, we are not using the GIT method yet to bring over the new code. Best regards, ~Ram

Re: Migrated code is not working in Django

2020-02-08 Thread Ram
Hello DC, Thank you for your email. We have added code for user's registration where users use 1. sign up form and submit the form 2. upon submission users get a message about the next steps for activating their registration Issue # 1 The issue here is users are not getting any activation email

Re: is there a WYSIWYG for Django

2020-02-08 Thread Bill Freeman
That's the plan. It's what I though you meant by WYSIWYG. Fiber is nice because they don't have to understand a back end interface; you just edit from the page that you want to change, edit a particular element of it, which client's have an easier time with. But there still has to be something t

Re: Adding a verbose_name to id field

2020-02-08 Thread Bruckner de Villiers
Mike, I tried id = model.AutoField(verbose_name=”Ticket #”).  Migrate didn’t like it – can’t have duplicate primaries.  I suspect this is because the Bug model already exists. What I am trying to achieve is an auto-increment field whereby every time a user logs a bug/suggestion/comment it w

Re: is there a WYSIWYG for Django

2020-02-08 Thread johnf
Thanks Fiber looks better.  But you did say you use mostly TinyMCE.  I can develop the site (it's just as straight forward with some pictures, menu and a few pages) then hand that over to the owners to maintain using TinyMCE??  What about mobile etc...? Johnf On 2/8/20 8:36 AM, Bill Freeman w

Front end solution to run SQL query in django

2020-02-08 Thread oliseh obiajuru
I am trying to create a query builder, I have seen SQL explore which is a package but I can't bring it to the front end of my app. I need help please -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiv

Re: is there a WYSIWYG for Django

2020-02-08 Thread Bill Freeman
I have used Django Fiber: http://ridethepony.org/ And several other CMS. I mostly used TinyMCE. The world may have moved on. On Sat, Feb 8, 2020 at 11:02 AM johnf wrote: > Thanks that is a start. I would also like something that will help with > design of the pages/views. > > Johnf > > On 2/

Re: is there a WYSIWYG for Django

2020-02-08 Thread johnf
Thanks that is a start.  I would also like something that will help with design of the pages/views. Johnf On 2/8/20 7:51 AM, Andrew C. wrote: Try Quill.js. If you google Quill.js and Quill.js Django, I believe you'll find the Django package that goes along with that text editor. Really, you on

Re: is there a WYSIWYG for Django

2020-02-08 Thread Andrew C.
Try Quill.js. If you google Quill.js and Quill.js Django, I believe you'll find the Django package that goes along with that text editor. Really, you only need the Quill.js code for your template. WYSIWYG is just a user typing in HTML without realizing it. Just save the HTML (because the rest is es

is there a WYSIWYG for Django

2020-02-08 Thread john
Hi, I realize that Django does not have a frontend but is there a tool/package that works well for WYSIWYG a simple website? Johnf -- 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

Re: Using celery in django for making orders and payments

2020-02-08 Thread Kasper Laudrup
Hi Bhumika, On 08/02/2020 15.38, Bhumika shrestha wrote: im having trouble in using celery in django for making orders and payments can you guys help me with that That's really hard to tell since you don't explain which kind of troubles you are facing, but if you provide some details, I'm s

Re: Contractions in Django 3.0 and Django 2.2

2020-02-08 Thread אורי
For example in this case: if (django.VERSION >= (3, 0)): ... else: ... אורי u...@speedy.net On Sat, Feb 8, 2020 at 3:48 PM One Above All < the.one.above.all.ti...@gmail.com> wrote: > i am working on a project which is adding support for Django 3.0. While > doing so, I came across ticket

Re: Contractions in Django 3.0 and Django 2.2

2020-02-08 Thread אורי
You can check which Django version is used and assert accordingly. https://stackoverflow.com/a/6468505/1412564 אורי u...@speedy.net On Sat, Feb 8, 2020 at 3:48 PM One Above All < the.one.above.all.ti...@gmail.com> wrote: > i am working on a project which is adding support for Django 3.0. While

Régrouper les lover de PYTHON

2020-02-08 Thread SORO MOISE
SALUT JE VIENT DE DECOUVRIRE CE MODULE DE PYTHON ET JE VOUDRAIS SAVOIR PLUS SUR CE QU'ON PEUT FAIRE AVEC. -- 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

Re: Trie Data Structure

2020-02-08 Thread Soumen Khatua
Sorry. But I don't have any mail in my inbox from your side. Thank you On Sat 8 Feb, 2020, 5:49 PM onlinejudge95, wrote: > I am ready to answer your question, but not here it's a Django User's > Group. The question you are asking is about implementation of an algorithm > which is language agn

Re: Getting this error with running django server

2020-02-08 Thread Kasper Laudrup
Hi "python stories" On 08/02/2020 10.43, python stories wrote:   File "C:\Users\user\PycharmProjects\pyshop\pyshop\urls.py", line 17     from django.urls import path path, include                                  ^ SyntaxError: invalid syntax Can anyone help me out. Many thanks! The erro

Using celery in django for making orders and payments

2020-02-08 Thread Bhumika shrestha
im having trouble in using celery in django for making orders and payments can you guys help me with that -- 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

Getting this error with running django server

2020-02-08 Thread python stories
C:\Users\user\PycharmProjects\pyshop>py manage.py runserver Watching for file changes with StatReloader Performing system checks... Exception in thread django-main-thread: Traceback (most recent call last): File "C:\Python38\lib\threading.py", line 932, in _bootstrap_inner self.run() File

Contractions in Django 3.0 and Django 2.2

2020-02-08 Thread One Above All
i am working on a project which is adding support for Django 3.0. While doing so, I came across ticket # 30400 https://code.djangoproject.com/ticket/30400 after which contractions were rewritten. I am writing a test which should work with both Django 3.0 and 2.2. I have to assert error_messages

Re: Python Django Training

2020-02-08 Thread Hector Gonzalez
Iam interest!!! Take my email El 2 feb. 2020 12:33 PM, "V S V Narsimha Murthy" escribió: > Hi Everyone, > > I am interested to attend the python and Django training. Please add my > email as well for the training classes. > > Thanks in advance. > > Regards, > Narasimha Murthy > > On Sun, Feb

Re: Trie Data Structure

2020-02-08 Thread onlinejudge95
I am ready to answer your question, but not here it's a Django User's Group. The question you are asking is about implementation of an algorithm which is language agnostic. Technically, it shouldn't be asked in the Python Mailing list too. Keep a watch on your inbox though. :) Thanks, onlinejudge

Re: How to best secure environment variables (secret key, passwords etc.) stored in .yml files?

2020-02-08 Thread Motaz Hejaze
This discussion was very helpful On Sat, 8 Feb 2020, 2:10 pm onlinejudge95, wrote: > +1 for the same > > On Thu, Jan 30, 2020, 8:17 PM Chris Wedgwood wrote: > >> Hi Tom >> >> You are definitely not overthinking this. it's important. >> >> This is an area that has baked my noodle for a while now

Re: How to best secure environment variables (secret key, passwords etc.) stored in .yml files?

2020-02-08 Thread onlinejudge95
+1 for the same On Thu, Jan 30, 2020, 8:17 PM Chris Wedgwood wrote: > Hi Tom > > You are definitely not overthinking this. it's important. > > This is an area that has baked my noodle for a while now and I always am > left wondering "Do I have this right?" "Am I vulnerable to attack?" . > an

RE: Adding a verbose_name to id field

2020-02-08 Thread Mike Dewhirst
I imagine you need to specify the id field in your model and give it a verbose name. This is an unusual requirement. Why do you want to do such a thing?Mike Original message From: Bruckner de Villiers Date: 8/2/20 21:33 (GMT+10:00) To: django-users@googlegroups.com Subject: A

Adding a verbose_name to id field

2020-02-08 Thread Bruckner de Villiers
Using Sqlite3 & Django 3.0.2 - I have searched high and low, but can’t find a way to add a verbose name to the id of a model. Anyone have ideas, please? Bruckner de Villiers +27 83 625 1086 -- You received this message because you are subscribed to the Google Groups "Django users" group.

Trie Data Structure

2020-02-08 Thread Soumen Khatua
from collections import defaultdict class TrieNode(): def __init__(self): self.children = defaultdict() self.terminating = False class Trie(): def __init__(self): self.root = self.get_node() def get_node(self): return TrieNode() def get_index(self, ch): return ord(ch) - ord('a') def insert

Re: django

2020-02-08 Thread Kasper Laudrup
On 07/02/2020 21.14, mick wrote: |as_crispy_field got passed an invalid or inexistent field https://stackoverflow.com/help/how-to-ask -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails fr

How to fill the form field with the data based on drop down selection of another form field using ajax request

2020-02-08 Thread Dilipkumar Noone
Dear group, I am Django learner. I have two models. 1. ModelRegister 2. ModelGSP ModelRegister returns model_name. ModelGSP has a foreignkey to ModelRegister. When we select a particular model from a ModelGSP model,i want to fill a field in ModelGSP with the data for a selected model when aj

Re: Django Channels Redis: MaxClientsError

2020-02-08 Thread Sabuhi Shukurov
hello, have you solved this issue? On Saturday, 6 July 2019 15:55:26 UTC+4, Cédric Foellmi wrote: > > Hello everyone. I am seeking some help with Django Channels and Redis. > > I have a Django app running on Heroku. This app is rather simple: a Daphne > server, a background worker and a scheduli