Re: How 2 access the Primary model's ID in the Foreign model??

2018-12-31 Thread Peter of the Norse
Also song.album_id will work as well, and faster too. Sent from my iPad > On Dec 4, 2018, at 3:43 PM, Mike Dewhirst wrote: > >> On 5/12/2018 7:07 AM, Sourajit Mohanty wrote: >> I have 2 model classes Album and Songs(where Song is the Foreign key) >> I want to access the Albums ID in the Songs

Re: How to deploy a django python webapp with windows10?

2018-12-31 Thread gian castillo
Great thanks! I see that his tutorials are quite complete and deployment is the number 11 but He's the only one I saw that works on windows. Bless You sir! Il giorno lunedì 31 dicembre 2018 21:47:28 UTC+1, Keegen Knapp ha scritto: > > Here is a good tutorial for getting going. >

Re: How to deploy a django python webapp with windows10?

2018-12-31 Thread Keegen Knapp
Here is a good tutorial for getting going. https://www.youtube.com/watch?v=FNQxxpM1yOs=en Cheers, Keegen On Mon, Dec 31, 2018 at 2:43 PM gian castillo wrote: > Hi, > How do I deploy online a django python webapp when I am working on a > Windows10? I was looking into Digital Ocean but They use

How to deploy a django python webapp with windows10?

2018-12-31 Thread gian castillo
Hi, How do I deploy online a django python webapp when I am working on a Windows10? I was looking into Digital Ocean but They use ubuntu for their droplets. I downloaded VirtualBox with Ubuntu in It to setup the droplet. Or is It necessary to install a duel boot with both ubuntu and windows? I

How to deploy Django Python Webapp with Windows10?

2018-12-31 Thread gian castillo
Hi, I built a webapp with django python and It's done. Now I want to deploy It online, It's just a portfolio website for my first client, nothing too heavy. I looked into Digital Ocean but It deploys It with ubuntu and I'm having troubles in turning my laptop into a deul boot(working on

Re: Form no longer validates after upgrading django from 2.0.5 to 2.1. Should I report a bug?

2018-12-31 Thread Franc Boekelo
Fair enough. I think the behavior makes sense the way it is, so I'll leave it. -- 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: Form no longer validates after upgrading django from 2.0.5 to 2.1. Should I report a bug?

2018-12-31 Thread Tim Graham
I think the behavior changed in https://github.com/django/django/commit/5fa4f40f45fcdbb7e48489ed3039a314b5c961d0. The old behavior looks like a bug to me (can you explain why it would be expected?) and we don't generally document bug fixes in the release notes. On Monday, December 31, 2018 at

Re: template location for django-registration framework

2018-12-31 Thread Yuval Bachrach
(the suggested url: I saw it before writing the message. It is outdated. Example: It uses "python manage.py syncdb" Besides: It instruct adding to INSTALLED_APPS : "'registration'": This yield errors: First reason: A comma is missing.. I also think, but not sure,that this line is not relevant

Re: STATIC FILES not working for admin site, projects and apps on DJANGO

2018-12-31 Thread abel otugeme
How do you explain the admin site too? A missing tag in just one part of the html file shouldn't break the entire site. I'll send you the files so you can review them On Monday, December 31, 2018 at 4:24:14 AM UTC+1, Joel Mathew wrote: > > Your site has more wrong with it than just static css.

ChannelsLiveServerTestCase Apps are not loaded error

2018-12-31 Thread Sam Taiwo
I am trying to follow the 4 part channels tutorial, however I am getting an error on the last part where we run selenium to test against a live server. It's not the end of the world as I can still run the server with no problems, however it limits my ability to test which is a shame. I have the

Form no longer validates after upgrading django from 2.0.5 to 2.1. Should I report a bug?

2018-12-31 Thread Franc Boekelo
Hello, In our project we have a Model with this field: has_drivers_license = models.BooleanField(verbose_name=_('Heeft rijbewijs'), default=False, choices=BOOL_CHOICES) and we have a ModelForm, where this field is used: fields = [*...* 'has_drivers_license', ] and we use a radio

Re: Overriding settings in Django when used by the models

2018-12-31 Thread Jason
Sounds like what you want is something in https://djangopackages.org/grids/g/live-setting/ This will let you change settings via an admin interface -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop