Order of migration dependencies when running makemigrations from scratch

2018-12-06 Thread Dakota Hawkins
We haven't really deployed yet, so generally to make migrations we're deleting existing migration files and re-running makemigrations. We have two apps, and one of them depends on the other as well as django.contrib.auth. In that app's migrations the dependencies often swap order seemingly inde

Re: How I can insert data into database automaticaly

2018-12-06 Thread Mike Dewhirst
Jesús Where is your data right now? If you can put it into a separate database - or even a spreadsheet - it can be automatically reloaded at any time. There are two ways to do this. One is a data migration ... https://docs.djangoproject.com/en/1.11/ref/migration-operations/#runpython ... an

RE: django-EmailSending with PHP

2018-12-06 Thread Matthew Pava
Here, take a look at this: https://www.webforefront.com/django/setupdjangoemail.html From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of Andréas Kühne Sent: Thursday, December 6, 2018 2:25 PM To: django-users@googlegroups.com Subject: Re: django-EmailSending w

Re: django-EmailSending with PHP

2018-12-06 Thread Andréas Kühne
Well The thing is you will still need to pay for sending emails. Regardless of how you want to send your email, you will need to pay for it somehow. Regards, Andréas Den tors 6 dec. 2018 kl 13:20 skrev Nagarjuna J : > sendgrid was paid service so i want price less service. is there any >

Re: forms.FORM in django

2018-12-06 Thread Mohamed Hashi
home page isnt runinng with me i did all steps guys help thanks ‫في الاثنين، 3 ديسمبر 2018 في 8:06 م تمت كتابة ما يلي بواسطة ‪Mohamed Hashi‬‏ <‪fysaljack...@gmail.com‬‏>:‬ > You are seeing this page because DEBUG=True is in your settings file and > you have not configured any URLs > i wrote the c

Re: Dango Im,voip and video calls

2018-12-06 Thread Kasper Laudrup
Hi Mohamed, On 06/12/2018 19.59, Mohamed Hashi wrote: the home page of django isnt running with me idid all the steps any advice Yes. Have a look at this: https://stackoverflow.com/help/how-to-ask Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the

Re: Dango Im,voip and video calls

2018-12-06 Thread Mohamed Hashi
the home page of django isnt running with me idid all the steps any advice ‫في الخميس، 6 ديسمبر 2018 في 2:05 ص تمت كتابة ما يلي بواسطة ‪Henry U‬‏ <‪ henryude...@gmail.com‬‏>:‬ > Thanks > I am already considering webrtc, however how to configure it to work with > Django is where I'm having challen

Re: How I can insert data into database automaticaly

2018-12-06 Thread Informatico de Neurodesarrollo
Saludos Gerson: Es real, trabajo en salud y estoy trabajando en un sistema para el control de medicamentos y necesito tener ya en la base de datos las provincias, sus municipios, áreas de salud, medicamentos controlados, etc. con los que voy a trabajar y cuando lo termine será puesto es todas

Re: django.core.exceptions.ImproperlyConfigured: Requested setting AUTH_USER_MODEL, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call sett

2018-12-06 Thread Parker Bernard
how do i open my django in my pycharm or python On Thu, Dec 6, 2018, 3:40 PM Sidnei Pereira It seems you are trying to execute de `views.py` module directly. As you > are running Django you should run it's webserver through `manage.py` so > Django you setup everything it is expected and the proc

Re: django.core.exceptions.ImproperlyConfigured: Requested setting AUTH_USER_MODEL, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call sett

2018-12-06 Thread Sidnei Pereira
It seems you are trying to execute de `views.py` module directly. As you are running Django you should run it's webserver through `manage.py` so Django you setup everything it is expected and the process starts to listen to port: So: python manage.py runserver It will run the server by default

Re: Use an aggregation function's filter with aggregate of a value from an annotation with a subquery

2018-12-06 Thread Daniel Gilge
Hi everyone, @Matthew and @Simon Thanks for your answers! > I assume you are trying to work > around the cross join of multiple table annotations? This is correct. > There's tickets tracking adding subquery support to aggregate functions but > using subqueries doesn't seem to be necessary here?

Re: Databases configuration

2018-12-06 Thread Arnaldo Díaz Molina
Did you have installed the mysql driver??? Is your host localhost??? Did you have your mysql service started??? 2018-12-06 15:38 GMT+01:00, C. Kirby : > Did you start your mysql process? > > On Thursday, December 6, 2018 at 9:33:37 AM UTC-5, Cool Smith wrote: >> >> Hi everyone, >> >> I am new to D

Re: Databases configuration

2018-12-06 Thread C. Kirby
Did you start your mysql process? On Thursday, December 6, 2018 at 9:33:37 AM UTC-5, Cool Smith wrote: > > Hi everyone, > > I am new to Django. I have started a new project running on my localhost. > Rather than using the default sqlite database, I changed it to mysql with > the following settin

Databases configuration

2018-12-06 Thread Cool Smith
Hi everyone, I am new to Django. I have started a new project running on my localhost. Rather than using the default sqlite database, I changed it to mysql with the following settings on MacOS High Sierra v13.10.6: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql',

Re: How to extract a number from a url

2018-12-06 Thread Sourajit Mohanty
But how do I access the pk_url_kwarg(ie. the album_id) in the respective model?? I have a model class Song and I need 2 access the album_id in the get_absolute_url() On Thu 6 Dec, 2018, 6:32 PM Jason you have to set up the URL with it in your urls.py to map to the view > method. > > what that doe

Re: How to extract a number from a url

2018-12-06 Thread Jason
you have to set up the URL with it in your urls.py to map to the view method. what that does is tells django you want the regex in the url path you defined to be the parameter you send to the view method pk_url_kwarg = 'pk' set that in your view, and ensure the url definition you have maps t

Re: django-EmailSending with PHP

2018-12-06 Thread Nagarjuna J
sendgrid was paid service so i want price less service. is there any option to get this service without price On Thu, Dec 6, 2018 at 2:38 PM Andréas Kühne wrote: > Hi, > > I'm sorry, but I think this is a really strange request - why would you > want to send email with PHP? The thing is that PHP

Re: django-EmailSending with PHP

2018-12-06 Thread Andréas Kühne
Hi, I'm sorry, but I think this is a really strange request - why would you want to send email with PHP? The thing is that PHP itself needs a SMTP server to send the email with - so you'll just be moving the configuration to a different place - you can use the SMTP settings from the PHP server in

django-EmailSending with PHP

2018-12-06 Thread nagarjuna . j
hi guys, Now am using sendgrid to send_email in django(using SMTP). But i need to add php mailing in django (django PHP Email integration ). Is there any way to integrate PHP Email with django? -- You received this message because you are subscribed to the Google Groups "Django users" group.