Re: any good books for django2

2019-01-29 Thread Danylo K.
https://www.packtpub.com/application-development/django-2-example Great tutorial style-book. On Tue, Jan 29, 2019 at 11:02 AM Lutalo Bbosa joseph wrote: > guys can anyone assist me with a link to any django2 book because it seems > its > most are not free > > -- > You received this message becau

Re: Best Learning Resources

2019-01-21 Thread Danylo K.
* I love this book:* *https://www.packtpub.com/application-development/django-2-example* On Wednesday, January 16, 2019 at 8:20:15 AM UTC-5, cale...@gmail.com wrote: > > Hi All, > > I'm just starting out with Django and python and wondering if anyone can > direct me to some goto learning res

Re: Is Microsoft Visual Studion 2017 Environment is good for Django development ?

2019-01-21 Thread Danylo K.
Visual Studio 2017 is excellent for Django development. Just don't use project templates to create new Django projects. Create new project in command line tool (cmd) and then create new Visual Studio project using "Existing Python Project" option. Cheers. Danyo On Mon, Jan 21, 2019 at 9:56 AM Mat

Re: problem in activating virtual environment in Django with ". \Scripts\activate" command

2019-01-17 Thread Danylo K.
try .\scripts\activate.bat On Thu, Jan 17, 2019 at 2:18 PM Django Geek Aditya wrote: > Shell Output after entering command is > PS E:\todo> . \Scripts\activate > . : The term '\Scripts\activate' is not recognized as the name of a > cmdlet, function, script file, or operable > program. Check the

Re: working fine with sqllite but not showing result in mysql

2019-01-14 Thread Danylo K.
if you change the code to this, it will work: post = get_object_or_404(Post, slug=post, status='published', publish__year=year) # publish__month=month, # publish__day=day) On Mo

Re: working fine with sqllite but not showing result in mysql

2019-01-14 Thread Danylo K.
I have the same issue. In MySQL, search works fine by the *year part*, but not by the *month* and *day* *parts*. Cheers! On Mon, Jan 14, 2019 at 1:54 PM Alex Kimeu wrote: > Have you configured MySQL correctly? > > On Mon, Jan 14, 2019 at 9:07 PM tribhuvan kishor < > tribhuvankishor...@gmail.com

Re: Difficulty validating ModelMultipleChoiceField

2007-07-06 Thread danylo
) return data.get(name, None) On Jul 5, 9:30 pm, danylo <[EMAIL PROTECTED]> wrote: > I can't get a form to validate and for the life of me, can't figure > out why. > > I keep getting an error on the topics. Regardless of how many I > choose, it returns an "Enter a li

Difficulty validating ModelMultipleChoiceField

2007-07-05 Thread danylo
I can't get a form to validate and for the life of me, can't figure out why. I keep getting an error on the topics. Regardless of how many I choose, it returns an "Enter a list of values." error. It looks like even though the form returns a list of topics, it doesn't send the list to the valid

rss problem

2006-01-25 Thread danylo
As part of my first steps into Python and Django, I'm trying to generate an RSS feed for a group of individual writers. I'm finally able to generate an RSS feed, but it's incorrect. This is what I'm getting: http://www.foo.bar http://www.foo.bar The link and guid are correct, but I'm not ge