Re: Web and mobile app with Django? Kivy? sth else?

2014-12-05 Thread Mariusz Wilk
om/resources/essentialjsdesignpatterns/book/ > [3] http://qunitjs.com/ > [4] http://www.seleniumhq.org/ > [5] http://emberjs.com/ > [6] > http://www.amazon.co.uk/The-Clean-Coder-Professional-Programmers/dp/0137081073 > [7] http://techcrunch.com/2012/03/25/dont-just-ship-it/ > [8]

Re: Web and mobile app with Django? Kivy? sth else?

2014-12-02 Thread Mariusz Wilk
> > Thanks. But is it possible to create a pretty web/mobile app with pop-ups, > buttons, input boxes, pics etc in Django/Python alone? > I'm asking since I'm doing Django tutorial and so far I only have a > raw-looking poll (as an example). > When a website is made with Django does it have

Web and mobile app with Django? Kivy? sth else?

2014-11-21 Thread Mariusz Wilk
I'm new to programming. Eventually, I'd like to make a website and an android/ios app that would work together and display pretty much the same content on a mobile as on the the web. Each client would log in (via mobile or desktop) and continue solving some exercises from the place he previousl

Django frustrations :)

2014-08-16 Thread Mariusz Wilk
Hi guys. If I seem like a spoilt brat or sth in this post then maybe I am, let me know. I'm completely new to programming. I completed Python tutorial on codecademy and completed about 20 'assignments' on CheckiO, but I wanted to actually implement what I'd learned to a larger project like a web

Re: creating project in Django

2014-08-10 Thread Mariusz Wilk
I even uninstalled Django and installed it again. But the problem (from the first post) remains. -- 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+un

Re: creating project in Django

2014-08-09 Thread Mariusz Wilk
the first one returns: *No such file or directory* the second one: *Not recognised as a command* (my translation from Polish) This worked before (a week ago): django-admin.py startproject mysite But then I deleted the whole mysite folder (cause of some problems) and started all over again. Now

creating project in Django

2014-08-09 Thread Mariusz Wilk
according to the official tutorial I need to type the following to the cmd in the directory where I want to create my project.: django-admin.py startproject mysite I created a folder named "site" on my desktop, cd into it and typed the obove command. Nothing appeared in "site". Instead, Python

Re: unsupported opperand type(s)

2014-08-04 Thread Mariusz Wilk
Django-1.6.5 W dniu poniedziałek, 4 sierpnia 2014 13:34:41 UTC+1 użytkownik Collin Anderson napisał: > > What version of django are you using? > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Re: unsupported opperand type(s)

2014-08-04 Thread Mariusz Wilk
Kinda worked. I deleted my Poll objects and created a new one. But then, a few more lines into the tutorial, there are these commands one after another: p = Poll.objects.get(pk=1) p.choice_set.all() I get: *OperationalError: no such column: polls_choice.choice_text* It should be simply: []

Re: unsupported opperand type(s)

2014-08-02 Thread Mariusz Wilk
But when I enter: p = Poll(id=1, question="What's new?", pub_date=timezone.now()) p.save() and then enter: Poll.objects.filter(question__startswith='What') it should return: [] but it returns: [, , ] ..and so other commands form the tutorial also return things completely different from wh

Re: unsupported opperand type(s)

2014-08-01 Thread Mariusz Wilk
thanks, that helped I also got confused and created too many objects, so now instead of p.id "1" cdm returns "3". How do I delete objects from p? >>> from django.utils import timezone>>> p = Poll(question="What's new?", >>> pub_date=timezone.now()) # Save the object into the database. You ha

unsupported opperand type(s)

2014-08-01 Thread Mariusz Wilk
Hi guys. I'm just going through the official tutorial for Django: "Writing your first Django app, part 1" At the bottom of the page it says: # Make sure our custom method worked. >>> p = Poll.objects.get(pk=1) >>> p.was_published_recently() True So far everything went well but now cmd retur