Re: What is the proper workflow before first migration?

2019-04-05 Thread silverstrings026
settings.py """ Django settings for freeThought project. Generated by 'django-admin startproject' using Django 2.1.7. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/

Re: What is the proper workflow before first migration?

2019-04-05 Thread silverstrings026
Everything in public_post got deleted for some reason so here is everything in there. == public_posts/ == # public_posts/admin.py # public_posts/admin.py from django.conf import settings from django.db import models from django.utils import timezone from django.contrib import adm

Using the request object in the forms.py file

2019-04-05 Thread Kayode Oladipo
Top of the morning to you. I'm trying to build a kinda-sorta e-voting system where there are positions and certain aspirants vie for said positions. Now I have a form setup with a radio Choice() widget, but I want the choices dict [CHOICES] to be dynamic per page, that is, the list only contains th

Re: How is the best way to separate costumers on my django site?

2019-04-05 Thread carlos
https://github.com/citusdata/django-multitenant the documentation clearly explains the differences of each method its advantages and disadvantages On Thu, Apr 4, 2019 at 7:17 PM Sithembewena L. Dube wrote: > Hi > > > https://www.codementor.io/pauloscardine/15-minute-guide-to-secure-saas-multite

Re: What is the proper workflow before first migration?

2019-04-05 Thread jgibson
Hi, Can you post the structure of your app, including project root? Setting up a CustomUser Model is not a simple task, especially if you are new to the framework. On Friday, April 5, 2019 at 11:06:43 AM UTC-4, silverst...@gmail.com wrote: > > Something odd is that when the Manager unavailable

Re: What is the proper workflow before first migration?

2019-04-05 Thread silverstrings026
Something odd is that when the Manager unavailable error comes up, the path in the terminal is " "POST /accounts/accounts/templates/registration/ HTTP/1.1" Why does accounts come up twice -- You received this message because you are subscribed to the Google Groups "Django users" group. T

Re: Migration auth.0011_update_proxy_permissions from Django 2.2 fails to apply

2019-04-05 Thread אורי
Hi Julien, Also, try to install a new - either local or remote - environment with your code and then try to upgrade Django there. There might be a problem specific with this deployment. This exception, on which environment did you receive it? Local or remote? אורי u...@speedy.net On Thu, Apr 4,

Re: Migration auth.0011_update_proxy_permissions from Django 2.2 fails to apply

2019-04-05 Thread אורי
Hi Julien, Sounds like a bug in Django 2.2. Try to report it on https://code.djangoproject.com/ and/or by email to django-develop...@googlegroups.com . In which table the exception occurs? Did you try to upgrade to Django 2.1 and then to 2.2? אורי u...@speedy.net On Thu, Apr 4, 2019 at 2:07 PM

What is the proper workflow before first migration?

2019-04-05 Thread silverstrings026
Hello, I've been trying to make a social media site and know nothing about django (i've been teaching myself using the documentation and tutorials) I've had to redo the site three times and now have to do a fourth because (even though I got AUTH_USER_MODEL in, all the forms ect. ect. before firs

Re: What step am I missing?

2019-04-05 Thread Joseph Jones
Jeremy, Thank you for suggesting I review my structure. It appears to be: /home/Joseph /home/Joseph/Anaconda3 /home/Joseph/Anaconda3/lib/site-packages The last of which appears to be where the error is occurring. I don't seem to be able to access the project from my manage.py file. Do you think t

Re: How can i start with learning django

2019-04-05 Thread Rached Alaya
Hi, As a start I recommand the "Programming Hero App" : https://play.google.com/store/apps/details?id=com.learnprogramming.codecamp&hl=en_US if you are using your smartphone to learn and "https://www.py4e.com/"; from Dr. Chuk which is also available on "Coursera". Good luck Le ven. 5 avr. 2019 à

Re: How can i start with learning django

2019-04-05 Thread Khushal Kumar
Google djangogirls On Fri, 5 Apr 2019, 4:52 pm Harsh Jain, wrote: > > -- > 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...@googlegroup

Re: How can i start with learning django

2019-04-05 Thread Karan Mittal
hey, Harsh, you can start with the Djangogirls tutorial and the Django Documentation is also very good. You can check out Youtube which has great courses. 1. Djangogirls tutorial https://tutorial.djangogirls.org/en/ 2. Django Original Documentation https://docs.djangoproject.com/en/2.1/ 3. Django R

Re: How can i start with learning django

2019-04-05 Thread Abhineet Baranwal
you can go through django documentation here On Fri, Apr 5, 2019 at 4:52 PM Harsh Jain wrote: > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving em

How can i start with learning django

2019-04-05 Thread Harsh Jain
-- 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 group, send email to django-users@googlegroups.com. V