RE: remove django polymorphism

2022-07-16 Thread Mike Dewhirst
--(Unsigned mail from my phone)
 Original message From: Joseph Amiri  
Date: 17/7/22  05:41  (GMT+10:00) To: Django users 
 Subject: remove django polymorphism hey all.i 
have models like this :class basemodel(polymorphism):...class 
teachers(basemodel):...class courses(basemodel):...now i want to remove 
teachers from polymorphism basemodel and transfer records from basemodel to 
teachers table. any document to do that ?Yes. Django has you totally covered. 
You need to look at docs.djangoproject.com and search "migrations".Essentially, 
you write the code to move records between tables according to your heart's 
desire. On that page there is a section called 'Data migrations' which will 
solve your problem.Good luckM



-- 
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 
https://groups.google.com/d/msgid/django-users/1bd0a2bd-8521-43a6-8fc8-aa6e92feafe2n%40googlegroups.com.

-- 
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 
https://groups.google.com/d/msgid/django-users/62d37861.1c69fb81.2820e.b8e0SMTPIN_ADDED_MISSING%40gmr-mx.google.com.


Re: Need Work

2022-07-16 Thread ASAMOAH EMMANUEL
Hi lightning emperor! I am glad to see you post this message. I am also a
backend django developer and I belong to a startup company. I think that it
would be a perfect idea to connect and work together since even the basics
you know about django, restful services and frontend technologies would
prove astronomically useful. Reach up to me when you are interested in
joining us. Kind regards


On Sat, Jul 16, 2022 at 9:09 PM lightning emperor <
thelesserlovedem...@gmail.com> wrote:

> Hi, everyone
>
> I am new to Django
> I have made multiple small sized projects (here
> )
> I know CRUD functionality with Class based views
> some basic knowledge of Django Restful API
> some basic use of Swagger and setup works
>
> I am looking for a internship from where I can learn to use Django in real
> world situations.
> If anyone here can help me with any opportunity then please do reply
>
> Thank-You
>
> --
> 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
> https://groups.google.com/d/msgid/django-users/ca16dbbc-a971-4db7-a71f-5d3071f5aeean%40googlegroups.com
> 
> .
>

-- 
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 
https://groups.google.com/d/msgid/django-users/CABFHQYxLE25phR15T_vtVBupet4RngTjgoBEgdb_QOfR7hWmjg%40mail.gmail.com.


Need Work

2022-07-16 Thread lightning emperor
Hi, everyone

I am new to Django
I have made multiple small sized projects (here 
)
I know CRUD functionality with Class based views
some basic knowledge of Django Restful API
some basic use of Swagger and setup works

I am looking for a internship from where I can learn to use Django in real 
world situations. 
If anyone here can help me with any opportunity then please do reply

Thank-You 

-- 
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 
https://groups.google.com/d/msgid/django-users/ca16dbbc-a971-4db7-a71f-5d3071f5aeean%40googlegroups.com.


remove django polymorphism

2022-07-16 Thread Joseph Amiri
hey all.
i have models like this :
class basemodel(polymorphism):
...
class teachers(basemodel):
...
class courses(basemodel):
...
now i want to remove teachers from polymorphism basemodel and transfer 
records from basemodel to teachers table. any document to do 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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1bd0a2bd-8521-43a6-8fc8-aa6e92feafe2n%40googlegroups.com.


Re: Updated invitation with note: PYTHON SESSION @ Sat Jul 16, 2022 8pm - 8:30pm (IST) (Django users)

2022-07-16 Thread Muhammad Juwaini Abdul Rahman
Stop this spammy invitation.

On Sat, 16 Jul 2022 at 16:21,  wrote:

> PYTHON SESSION
> Join with Google Meet – Python notes for beginners: Introduction Syntax
> Statement, Indentation, and Comments Variables and Datatypes Operators
> Numbers Strings List, Tuple, Set, Dictionary If Else Elif Condition Error
> Handli
>
> This event has been updated with a note:
> "Guys be Available for Core Python session from scratch at 8:00 - 8:30 PM
> IST"
> Changed: description
>
> Join with Google Meet 
>
> Meeting link
> meet.google.com/oqu-zuyq-kze 
> Description
> CHANGED
> Python notes for beginners:
>
> Introduction
> Syntax
> Statement, Indentation, and Comments
> Variables and Datatypes
> Operators
> Numbers
> Strings
> List, Tuple, Set, Dictionary
> If Else Elif Condition
> Error Handling
> Loops
>
>
> Python notes for intermediates:
> Module
> Classes
> Function
> Methods
> Iterators
> Decorators
> Generators
> OOP
>
> Python notes for advanced learners:
> Data structure
> Web framework - Django
> Relational Database - MySQL, Postgresql
> WhenSaturday Jul 16, 2022 ⋅ 8pm – 8:30pm (India Standard Time - Kolkata)
> Guests
> satyajitbarik@gmail.com - organizer
> Django users 
> abdouliabba...@gmail.com
> Vogler, Thomas 
> jagades...@gmail.com
> solixzsys...@gmail.com
> kato...@gmail.com
> alonski...@gmail.com
> kasrel...@gmail.com
> aeonaspire...@gmail.com
> kadirbeya...@gmail.com
> varaganihare...@gmail.com
> letebr...@gmail.com
> vallabanenisand...@gmail.com
> xaadxheh...@gmail.com
> code4...@gmail.com
> marco.giard...@gmail.com
> mohansince1...@gmail.com
> nibeditabarik...@gmail.com
> saipragyanparida1...@gmail.com
> saipragyan...@gmail.com
> djyotsn...@gmail.com
> View all guest info
> 
> Reply for django-users@googlegroups.com
> Yes
> 
> No
> 
> Maybe
> 
> More options
> 
>
> Invitation from Google Calendar 
>
> You are receiving this email because you are an attendee on the event. To
> stop receiving future updates for this event, decline this event.
>
> Forwarding this invitation could allow any recipient to send a response to
> the organizer, be added to the guest list, invite others regardless of
> their own invitation status, or modify your RSVP. Learn more
> 
>
> --
> 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
> https://groups.google.com/d/msgid/django-users/26375d05e3e7d1cc%40google.com
> 
> .
>

-- 
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 
https://groups.google.com/d/msgid/django-users/CAFKhtoQCRqdRyFJPSzz9%3DXKnOfOU4ketKFn20d7GPvbiEpNEAQ%40mail.gmail.com.


Updated invitation with note: PYTHON SESSION @ Sat Jul 16, 2022 8pm - 8:30pm (IST) (Django users)

2022-07-16 Thread satyajitbarik . dev
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VTIMEZONE
TZID:Asia/Kolkata
X-LIC-LOCATION:Asia/Kolkata
BEGIN:STANDARD
TZOFFSETFROM:+0530
TZOFFSETTO:+0530
TZNAME:IST
DTSTART:19700101T00
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=Asia/Kolkata:20220716T20
DTEND;TZID=Asia/Kolkata:20220716T203000
DTSTAMP:20220716T082109Z
ORGANIZER;CN=satyajitbarik@gmail.com:mailto:satyajitbarik@gmail.com
UID:BE590D99-E95D-4D93-AAF8-02520DE126E8
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Django users;X-NUM-GUESTS=0:mailto:django-users@googlegroups.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=satyajitbarik@gmail.com;X-NUM-GUESTS=0:mailto:satyajitbarik.dev@gma
 il.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=abdouliabba...@gmail.com;X-NUM-GUESTS=0:mailto:abdouliabba...@gmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=DECLINED;RSVP=TRUE
 ;CN="Vogler, Thomas";X-NUM-GUESTS=0:mailto:thomas.vog...@hm.edu
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=jagades...@gmail.com;X-NUM-GUESTS=0:mailto:jagades...@gmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=solixzsys...@gmail.com;X-NUM-GUESTS=0:mailto:solixzsys...@gmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=kato...@gmail.com;X-NUM-GUESTS=0:mailto:kato...@gmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=alonski...@gmail.com;X-NUM-GUESTS=0:mailto:alonski...@gmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=TENTATIVE;RSVP=TRU
 E;CN=kasrel...@gmail.com;X-NUM-GUESTS=0:mailto:kasrel...@gmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=aeonaspire...@gmail.com;X-NUM-GUESTS=0:mailto:aeonaspire...@gmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=TENTATIVE;RSVP=TRU
 E;CN=kadirbeya...@gmail.com;X-NUM-GUESTS=0:mailto:kadirbeya...@gmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=varaganihare...@gmail.com;X-NUM-GUESTS=0:mailto:varaganihareesh@gmail.c
 om
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=letebr...@gmail.com;X-NUM-GUESTS=0:mailto:letebr...@gmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=vallabanenisand...@gmail.com;X-NUM-GUESTS=0:mailto:vallabanenisandeep@g
 mail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=xaadxheh...@gmail.com;X-NUM-GUESTS=0:mailto:xaadxheh...@gmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=code4...@gmail.com;X-NUM-GUESTS=0:mailto:code4...@gmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=marco.giard...@gmail.com;X-NUM-GUESTS=0:mailto:marco.giard...@gmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=mohansince1...@gmail.com;X-NUM-GUESTS=0:mailto:mohansince1980@gmail
 .com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=nibeditabarik...@gmail.com;X-NUM-GUESTS=0:mailto:nibeditabarik760@g
 mail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=saipragyanparida1...@gmail.com;X-NUM-GUESTS=0:mailto:saipragyanpari
 da1...@gmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=saipragyan...@gmail.com;X-NUM-GUESTS=0:mailto:saipragyan131@gmail.c
 om
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=djyotsn...@gmail.com;X-NUM-GUESTS=0:mailto:djyotsn...@gmail.com
X-GOOGLE-CONFERENCE:https://meet.google.com/oqu-zuyq-kze
X-MICROSOFT-CDO-OWNERAPPTID:247914532
RECURRENCE-ID;TZID=Asia/Kolkata:20220716T20
CLASS:PUBLIC
CREATED:20220715T083035Z
DESCRIPTION:Python notes for beginners:\n\nIntroduction\nSyntax\nStatement\
 , Indentation\, and Comments\nVariables and Datatypes\nOperators\nNumbers\n
 Strings\nList\, Tuple\, Set\, Dictionary\nIf Else Elif Condition\nError Han
 dling\nLoops\n\n\nPython notes for intermediates:\nModule\nClasses\nFunctio
 n\nMethods\nIterators\nDecorators\nGenerators\nOOP\n\nPython notes for adva
 nced learners:\nData structure\nWeb framework - Django\nRelational Database
  - MySQL\, Postgresql\n\n-::~:~::~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:
 ~:~:~:~:~:~:~:~:~:~:~:~:~:~:~::~:~::-\nDo not edit this section of the desc
 ription.\n\nThis event has a video call.\nJoin: https://meet.google.com/oqu
 -zuyq-kze\n\nView your event at https://calendar.google.com/calendar/event?
 action=VIEW=Xzg5MmphZTlnOGdzamliYTU3NHFrOGI5azhnc2o2YmExODUzM2diOWc2OHF
 qNGMyNDhrb2o0ZGk1NzBfMjAyMjA3MTZUMTQzMDAwWiBkamFuZ28tdXNlcnNAZ29vZ2xlZ3JvdX
 

Invitation: PYTHON SESSION @ Sat Jul 16, 2022 8pm - 8:30pm (IST) (Django users)

2022-07-16 Thread satyajitbarik . dev
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VTIMEZONE
TZID:Asia/Kolkata
X-LIC-LOCATION:Asia/Kolkata
BEGIN:STANDARD
TZOFFSETFROM:+0530
TZOFFSETTO:+0530
TZNAME:IST
DTSTART:19700101T00
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=Asia/Kolkata:20220716T20
DTEND;TZID=Asia/Kolkata:20220716T203000
DTSTAMP:20220716T074604Z
ORGANIZER;CN=satyajitbarik@gmail.com:mailto:satyajitbarik@gmail.com
UID:BE590D99-E95D-4D93-AAF8-02520DE126E8
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Django users;X-NUM-GUESTS=0:mailto:django-users@googlegroups.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=satyajitbarik@gmail.com;X-NUM-GUESTS=0:mailto:satyajitbarik.dev@gma
 il.com
X-GOOGLE-CONFERENCE:https://meet.google.com/oqu-zuyq-kze
X-MICROSOFT-CDO-OWNERAPPTID:247914532
RECURRENCE-ID;TZID=Asia/Kolkata:20220716T20
CLASS:PUBLIC
CREATED:20220715T083035Z
DESCRIPTION:-::~:~::~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~
 :~:~:~:~:~:~:~:~::~:~::-\nDo not edit this section of the description.\n\nT
 his event has a video call.\nJoin: https://meet.google.com/oqu-zuyq-kze\n\n
 View your event at https://calendar.google.com/calendar/event?action=VIEW
 id=Xzg5MmphZTlnOGdzamliYTU3NHFrOGI5azhnc2o2YmExODUzM2diOWc2OHFqNGMyNDhrb2o0
 ZGk1NzBfMjAyMjA3MTZUMTQzMDAwWiBkamFuZ28tdXNlcnNAZ29vZ2xlZ3JvdXBzLmNvbQ=
 Mjcjc2F0eWFqaXRiYXJpay5kZXZAZ21haWwuY29tOGY4OTdiMTE4OGJlODIzMTlmZWU5ZGE3MWZ
 jODY0NWY0MDkxMjg0NQ=Asia%2FKolkata=en=1.\n-::~:~::~:~:~:~:~:~:~:~
 :~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~::~:~::-
LAST-MODIFIED:20220716T074602Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:PYTHON SESSION
TRANSP:OPAQUE
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:This is an event reminder
TRIGGER:-P0DT0H5M0S
END:VALARM
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:This is an event reminder
TRIGGER:-P0DT0H30M0S
END:VALARM
END:VEVENT
END:VCALENDAR


invite.ics
Description: application/ics


Re: How to Deploy Django App on Centos server having domain secured With SSL?

2022-07-16 Thread Muhammad Juwaini Abdul Rahman
You can refer to this as guidance:
https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-20-04

I never use Centos for production, (I use Ubuntu) but the steps in those
link are probably similar with minimal modifications.

On Fri, 15 Jul 2022 at 22:29, Abhilash Singh Chauhan <
abhilashaan...@hau.ac.in> wrote:

> Hii Everyone
>
>
>
> I have a Django App which I want to deploy on a Centos Linux server having
> a global/public IP which is assigned to a domain and is secured with SSL
> 
> .
>
> The System configuration is as:
>
> centos-release-6-10.el6.centos.12.3.x86_64
>
> Apache/2.2.15 (CentOS)
>
> When I run the server using:
>
> python manage.py runserver 0.0.0.0:8000,
>
> then it is only accessible from the browser by passing a local IP say
>
> http://192.xxx.xx.xxx:8000/django_app/home
>
> But I want to access it from the public/global IP, but it gives an error
> when I replace the local IP with Global/Public IP or domain assigned to the
> public IP as:
>
> 105.168.296.58 took too long to respond.
>
> Try:
>
>
>
> Checking the connection
>
> Checking the proxy and the firewall
>
> Running Windows Network Diagnostics
>
> ERR_CONNECTION_TIMED_OUT
>
> When I simply put this public IP in the browser as https://105.168.296.58 then
> it redirects the browser to the app/website say https://mywebsite.com/home 
> which
> is running at port 80 on Apache, and shows the assigned domain instead of
> IP, so IP is working fine.
>
> in settings.py: all hosts are allowed as ALLOWED_HOSTS = ['*']
>
> Methods tried are:
>
> 1.   by using 
> django-extensions as:
>
> python manage.py runserver_plus --cert certname 0.0.0.0:8000
>
> 2.   by using 
> django-sslserver as:
>
> python manage.py runsslserver 0.0.0.0:8000
>
> The app runs from both of these methods only locally at
> http://192.xxx.xx.xxx:8000/django_app/home, but None of them worked from
> a Public IP.
>
> Kindly tell, How to deploy or configure this Django App to Run Outside the
> Local Network?
>
>
> Thanks
>
> *Dr. Abhilash Singh Chauhan*
>
> *Project Scientist-B*
>
> *Agromet Advisory Service Division (AASD)*
>
> *India Meteorological Department (IMD)*
>
>
> *Mausam Bhawan, Lodhi Road New Delhi – 110003*
>
> *Contact no: +91-9416372068*
>
>
> * 
> 
> *
>
> --
> 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
> https://groups.google.com/d/msgid/django-users/CAB0sGggcFAYwLuRpee64E1S6w8SEsu1tjzbJGyr0ZkP2SHHqMg%40mail.gmail.com
> 
> .
>

-- 
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 
https://groups.google.com/d/msgid/django-users/CAFKhtoT_yEiu-osP%2B27QJHBbhhhGM%3DpGv_-9hdHGi%2B0B6udfVA%40mail.gmail.com.