Re: Setting up admin in visual studio

2018-11-09 Thread Simon McConnell
Times have changed -- 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

Problems with AbstractUser

2018-08-21 Thread Simon McConnell
https://simpleisbetterthancomplex.com/tutorial/2016/07/22/how-to-extend-django-user-model.html -- 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

Re: What's the Better approach to do these?

2018-08-21 Thread Simon McConnell
There is some discussion on the topic here: https://www.reddit.com/r/django/comments/8xcbtq/book_announcement_building_multi_tenant/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

Including DetailView context in ListView page in the Order history page using Django

2018-07-14 Thread Simon McConnell
item.product.image from your template points to nothing. Product is a CharField so I don't see it having any image attribute. Try to display some text for item.product or item.price and see how you go. -- You received this message because you are subscribed to the Google Groups "Django users"

Re: money field question

2018-05-28 Thread Simon McConnell
On Mon., 28 May 2018, 7:50 pm Mike Dewhirst, wrote: > On 24/05/2018 12:03 PM, Mike Dewhirst wrote: > > On 23/05/2018 12:31 PM, Simon McConnell wrote: > >> I'm in a similar boat at the moment. There > >> is https://github.com/vimeo/py-money too. > > > > I lo

Re: money field question

2018-05-22 Thread Simon McConnell
I'm in a similar boat at the moment. There is https://github.com/vimeo/py-money too. Note that django-money uses py-moneyed which does not yet use Babel, so rendering of the correct symbol is limited to a few hardcoded currencies. https://github.com/python-babel/babel On Tuesday, 22 May

StaticLiveServerTestCase: database emptied after first test after upgrading to Django 1.11

2018-02-23 Thread Simon McConnell
Nothing to do with this? https://docs.djangoproject.com/en/2.0/releases/1.11.2/ -- 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

Re: passing data to template

2017-06-13 Thread Simon McConnell
{{a.nat_balance}} sure it shouldn't be spelt {{a.net_balance}} ? On Wednesday, 14 June 2017 06:57:30 UTC+10, suabiut wrote: > > Hi ludovic, > Thanks for your response. > when i did what you say it print out the date and sum in an array. Date > still in Julian date but i don't worry about the

Re: Define port for LiveServerTestCase in 1.11?

2017-05-07 Thread Simon McConnell
iscussion > > On Sunday, May 7, 2017 at 12:18:06 AM UTC-4, Simon McConnell wrote: >> >> Hi, >> >> >> >> Is it possible to define the port for LiveServerTestCase in Django 1.11? >> Google requires a static address for OAuth authentication. >> &

Define port for LiveServerTestCase in 1.11?

2017-05-06 Thread Simon McConnell
Hi, Is it possible to define the port for LiveServerTestCase in Django 1.11? Google requires a static address for OAuth authentication. from docs : *Changed in Django 1.11:* In older versions,

Define port for LiveServerTestCase in 1.11?

2017-05-06 Thread Simon McConnell
Hi, Is it possible to define the port for LiveServerTestCase in Django 1.11? Google requires a static address for OAuth authentication. from docs : Changed in Django 1.11: In older versions, Django tried a

Re: Configurar Supervisor + Gunicorn + Nginx

2017-05-02 Thread Simon McConnell
https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-16-04 On Tuesday, 2 May 2017 20:34:31 UTC+10, Ariel Gavegno wrote: > > Buenas, necesito saber como configurar Supervisor en un servidor Ubuntu, > de un proyecto Django 1.11. > Un

Re: Project layout

2017-04-15 Thread Simon McConnell
I came across this in my reading. I'm only just starting to learn django so don't know the reason it does it. As I understand it the first clientmgmtsystem is actually