Re: Django Game Development?

2013-11-13 Thread Rafael E. Ferrero
You can use Templates to render whatever plain text you want. 2013/11/13 Eamonn Rea > That's what I was thinking. Does PyJS work with Django? I believe you > write Python code and it turns into JavaScript. If that was the case, maybe > I could render graphics to the Canvas? Or, better yet, if y

Re: Startproject failing on Django 1.6

2013-11-13 Thread Ramiro Morales
On Wed, Nov 13, 2013 at 10:31 PM, Steve Sawyer wrote: > Thanks, Tom - however, I completely removed the Django 1.5 folders prior to > installing Django 1.6, so unless there are Django components installed > outside of those folders, I should be good. > > It seems that I might have something mis-co

Re: Startproject failing on Django 1.6

2013-11-13 Thread Steve Sawyer
Thanks, Tom - however, I completely removed the Django 1.5 folders prior to installing Django 1.6, so unless there are Django components installed outside of those folders, I should be good. It seems that I might have something mis-configured. I have the http.cookies module and I've done everyt

Re: Widget isn't sticking?

2013-11-13 Thread Jason Arnst-Goodrich
Actually you're using something I'd probably not even bother using a widget for. Really, you probably just want to include the appropriate CSS and JS in your template (although you can use the widget class as well - the key here is that the CSS and JS need to be on your page somewhere). You th

Django Weekend Cardiff

2013-11-13 Thread Daniele Procida
(With apologies if you have already seen this on another email list or newsgroup.) The UK's first-ever Django conference will take place on the 7th-9th February 2014 in Cardiff, Wales. The programme for the event: Friday: tutorials and demonstrations (also open to t

Re: Django Game Development?

2013-11-13 Thread Eamonn Rea
That's what I was thinking. Does PyJS work with Django? I believe you write Python code and it turns into JavaScript. If that was the case, maybe I could render graphics to the Canvas? Or, better yet, if you can use JS libraries with PyJS, I could use jQuery/jQueryUI. Or better again I could us

Re: Widget isn't sticking?

2013-11-13 Thread Lachlan Musicman
Nothing, unfortunately. On 14 November 2013 07:37, Jason Arnst-Goodrich wrote: > Try: > > expiry_date = forms.DateField(widget=CalendarWidget()) > > > On Tuesday, November 12, 2013 5:41:27 PM UTC-8, Lachlan Musicman wrote: >> >> Hola, >> >> I've set up a CalendarWidget as per the docs >> https://

Re: Widget isn't sticking?

2013-11-13 Thread Jason Arnst-Goodrich
Try: expiry_date = forms.DateField(widget=CalendarWidget()) On Tuesday, November 12, 2013 5:41:27 PM UTC-8, Lachlan Musicman wrote: > > Hola, > > I've set up a CalendarWidget as per the docs > https://docs.djangoproject.com/en/1.6/topics/forms/media/ and can see > correct results in the shell:

Re: Django Game Development?

2013-11-13 Thread Rafael E. Ferrero
The thing would be how render graphics on a navigator... but i think its strong posible write games 2013/11/13 Eamonn Rea > Thanks! I'll check that person out :-) So the D is silent! Thanks for that > too :-D > > On Wednesday, November 13, 2013 7:13:52 PM UTC, larry@gmail.com wrote: > >> On

Re: Django Game Development?

2013-11-13 Thread Eamonn Rea
Thanks! I'll check that person out :-) So the D is silent! Thanks for that too :-D On Wednesday, November 13, 2013 7:13:52 PM UTC, larry@gmail.com wrote: > > On Wed, Nov 13, 2013 at 2:05 PM, Eamonn Rea > > wrote: > >> >> Oh, and one more thing: How do you pronounce Django? Is it just >> pro

Re: Django Game Development?

2013-11-13 Thread Larry Martell
On Wed, Nov 13, 2013 at 2:05 PM, Eamonn Rea wrote: > > Oh, and one more thing: How do you pronounce Django? Is it just pronounced > 'Jango', or "D Jango"? I've always pronounced it 'D Jango', but I've heard > some people pronounce it 'Jango'. Is there any special meaning behind the > name 'Django

Django Game Development?

2013-11-13 Thread Eamonn Rea
Hi! I'm fairly new to Django, but I am so far loving it. So, I was wondering: Is it possible to write simple 2D games with Django? I'm not new to Python. I've been programming in Python for about a year and a half now consistently (I started programming in Python 3 years ago, but jumped from it

STATIC_URL and Django 1.6

2013-11-13 Thread TM
I have a very strange problem in the production server (apache + wsgi, python 2.7, ubuntu server). I updated Django to 1.6 from 1.5.4 and {{ STATIC_URL }}, {{ LANGUAGE_CODE }} (from localeUrl) don't work - returns an empty string. I returned to the 1.5.4 Django and works fine. Any ideas what's w

Re: How can I use {% for ROW in LIST %} within

2013-11-13 Thread Pepsodent Cola
I found out what I did wrong. It was a simple miss spelling in the most obvious of places. The jQuery code is fetching data from my database now. Thanks for the feedbacks it showed me the problem perimeter. {% for row in *uns*translated_words %} * != *{% for row in *un*translated_words %} [

Re: Startproject failing on Django 1.6

2013-11-13 Thread Tom Evans
On Tue, Nov 12, 2013 at 6:35 PM, Steve Sawyer wrote: > Sorry for the typeface - it was the default that the page gave me and didn't > bother to change it (it also wouldn't word-wrap, so my apologies also for > the ragged layout). > > In any case, 1.6 is out now, and I'm trying to get started with

Re: wsgi vs. debug server URL's

2013-11-13 Thread Daniel Roseman
On Tuesday, 12 November 2013 17:42:06 UTC, fred wrote: > We deploy with Apache and it serves both django and generic html. We > are a small shop with internal applications and minimal server load and we > are not ready to have a django server and an html server. > > > > I use the /wsgi pref

Re: How can I use {% for ROW in LIST %} within

2013-11-13 Thread Daniel Roseman
On Wednesday, 13 November 2013 00:46:55 UTC, Pepsodent Cola wrote: > How can I use *{% for ROW in LIST %}* within *

Re: How can I use {% for ROW in LIST %} within

2013-11-13 Thread tim
Seems like it should work -- what issue or error are you facing? On Tuesday, November 12, 2013 7:46:55 PM UTC-5, Pepsodent Cola wrote: > > How can I use *{% for ROW in LIST %}* within * type="text/javascript">* tag? The code I refer to are lines 21 to 25. > > Re: ImportError: No module named filestorage
I did a Google search for "from filestorage import DatabaseStorage" and came up with this link: https://bitbucket.org/david/django-storages/issue/132/name-databasestorage-is-not-defined On Tuesday, November 12, 2013 1:15:13 AM UTC-5, ckg...@gmail.com wrote: > > i was doing this on the python int

Re: Is this what you would expect from this Q query?

Hi Phoebe, I cannot reproduce this on Django's master branch. What version of Django are you using? It's possible it was fixed since then. Could you provide a minimal set of models to reproduce? If upgrading to a more recent version of Djanago doesn't fix the problem, you might try .exclude(us

Re: Tango with Django Chapter 7 (Add_page)

try to change Add a Page to Add a Page Many thanks, Serge +380 636150445 skype: skhohlov On Wed, Nov 13, 2013 at 2:14 PM, Amimo Benja wrote: > Hey all, > > Am currently practicing using this tutorial > http://www.tangowithdjango.com/book/chapters/forms.html, but I'm constantly > getting this

Re: Tango with Django tutorial, problem getting category function to pass a variable

More details please. On Wed, Nov 13, 2013 at 3:22 PM, Sergiy Khohlov wrote: > check your template. or html > Many thanks, > > Serge > > > +380 636150445 > skype: skhohlov > > > On Wed, Nov 13, 2013 at 2:18 PM, Amimo Benja > wrote: > > Hi Jimmy am currently facing an error that "The current URL

Re: Tango with Django tutorial, problem getting category function to pass a variable

check your template. or html Many thanks, Serge +380 636150445 skype: skhohlov On Wed, Nov 13, 2013 at 2:18 PM, Amimo Benja wrote: > Hi Jimmy am currently facing an error that "The current URL, > rango/category//add_page/, didn't match any of these." How did you resolve > it? > > > On Sunday,

Re: Tango with Django tutorial, problem getting category function to pass a variable

Hi Jimmy am currently facing an error that "The current URL, rango/category//add_page/, didn't match any of these." How did you resolve it? On Sunday, October 27, 2013 12:01:06 PM UTC+3, James Yeo wrote: > > Hey yall > > Here is my current views.py: > > http://pastebin.mozilla.org/3361332 > > PR

Tango with Django Chapter 7 (Add_page)

Hey all, Am currently practicing using this tutorial http://www.tangowithdjango.com/book/chapters/forms.html, but I'm constantly getting this error "The current URL, rango/category//add_page/, didn't match any of these." every time I click on the Add a Page