Re: Django admin suitable for external users?

2015-09-28 Thread Derek
I'd say for non-technical users, you may want something custom; particularly if they are only working with a smaller sub-set of the data. We have users that are fairy technical (working in the science domain) that are used to large grid-like data displays (typically in spreadsheets). So, for t

Converting implicit m2m through table to explicit through model with Django 1.7 migrations

2015-09-28 Thread John Lucas
Hi all, I'm attempting to convert an implicit m2m through table to an explicit through model and want to make sure I'm not shooting myself in the foot. Any input would be greatly appreciated. My team was on Django 1.6 until a few months ago and was still living in the South world. We had a nee

Re: Converting implicit m2m through table to explicit through model with Django 1.7 migrations

2015-09-28 Thread Simon Charette
Hi John, Until #23034 is fixed you'll have to keep using migrations.SeparateDatabaseAndState to achieve the implicit to explicit conversion. >From what I've read of your process everything should be working fine in the long term and your approach i

Admin: Unknown fields

2015-09-28 Thread Rolston Jeremiah
Hello, I am new to Python and Django so please bear with me. I have created a model(below) and would now like to access from the admin interface. As per instructions I found on the django site (Part 2 tutorial version 1.8.4) model ///

Error

2015-09-28 Thread Rajat Singh
I am getting error while using the command in shell python manage,py runserver -- 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...@googlegr

Sending mail using smtp server

2015-09-28 Thread Rajat Singh
I want to know the how to send mail using google smtp server in django -- 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.

Re: Sending mail using smtp server

2015-09-28 Thread Mike Dewhirst
Rajat In your settings.py file you need to tell Django about your mail server like this ... EMAIL_HOST = EMAIL_PORT = EMAIL_HOST_USER = EMAIL_HOST_PASSWORD = https://docs.djangoproject.com/en/1.7/topics/email/ On 29/09/2015 5:07 AM, Rajat Singh wrote: I want to know the how to send mail u

Re: Sending mail using smtp server

2015-09-28 Thread François Schiettecatte
You going to need to set EMAIL_USE_TLS = True, and EMAIL_PORT = 587. And you will need to set "Allow less secure apps: ON” on: https://myaccount.google.com/security?hl=en because Google uses OAUTH (I think) and it is beyond the standard SMTP client (to the best of my recollection) Fr

Drop constrailts

2015-09-28 Thread Григорий Крамаренко
In migrations I need delete constraints before creating table-partitioning. But Django generates different constraint names on different servers. On server 1: ALTER TABLE "order_autoselect" ADD CONSTRAINT "order_autoselec_summary_id_1d623f742c26ae09_fk_order_summary_id" FOREIGN KEY ("summary_id")

Re: Admin: Unknown fields

2015-09-28 Thread Gergely Polonkai
Hello, I suspect you didn't make/run migrations: python manage.py makemigrations python manage.py migrate The first command creat the so-called migration files that are required to update the database by adding new tables and fields, while the second one does the actual upgrade. Also, allow me