Re: New Django Developer

2023-02-03 Thread Israel Akinoso
Can we collaborate on one together? It'll boost us both :) On Wednesday, February 1, 2023 at 4:03:40 PM UTC+1 vinodr...@gmail.com wrote: > Hi All, I am recently complete *Django course* with *small projects*, > can any one help me to find *real world projects* to master Django, > i have basic k

Django Froala Editor

2023-02-03 Thread Israel Akinoso
Please I need help on how to change the upload path of django froala editor. Possiby to Cloudinary Please I need help 🙏🙏 -- 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

Re: Django Froala Editor

2023-02-03 Thread 'Steven Mapes' via Django users
Easiest way will be to overload their default upload view. If you look in the urls.py for the package it has two entries *path('image_upload/', views.image_upload, name='froala_editor_image_upload'),path('file_upload/', views.file_upload, name='froala_editor_file_upload'),* Take a look at tho

Re: Django Froala Editor

2023-02-03 Thread 'Steven Mapes' via Django users
Sorry hit send too soon. An alternative is to update your settings.py entry for FROALA_STORAGE_BACKEND to point to a different backend as per their docs https://github.com/froala/django-froala-editor#other-settings On Friday, 3 February 2023 at 14:30:12 UTC Steven Mapes wrote: > Easiest way wil

Re: New Django Developer

2023-02-03 Thread adeyinka newton
You can change the upload path of Django Froala Editor to Cloudinary by using Cloudinary's upload API. Here is an example of how to do this: Sign up for a Cloudinary account and get your cloud name, API key, and API secret. Install the Cloudinary Python library: settings.py: === pip inst

deleting a user model that extends abstractuser

2023-02-03 Thread d07
I am trying to delete a user object that belongs to a User class that extends AbstractUser. The extending class looks something like this: class User(AbstractUser): name = CharField("Name", blank=True, max_length=255) def __str__(self): return self.username When I try to del

Re: deleting a user model that extends abstractuser

2023-02-03 Thread Mike Dewhirst
On 4/02/2023 7:58 am, d07 wrote: I am trying to delete a user object that belongs to a User class that extends AbstractUser. The extending class looks something like this: class User(AbstractUser):     name = CharField("Name", blank=True, max_length=255)     def __str__(self):         return