Re: Using multiple model files per app with the Improved Multiple Model Files Django Snippet

2013-06-01 Thread Doug S
Awesome, thanks, I love python but I am not (yet) skilled at the art of incantation. The snippet above: http://djangosnippets.org/snippets/1838/ did have some incantation but the post was fairly old in terms of django/python's history. I can't tell one incantation from another but I can tell a

Re: Django & Ember

2013-06-01 Thread Siddharth Shah
Thank you for sharing this information. Much appreciated. On Sunday, June 2, 2013 7:00:23 AM UTC+5:30, Toran Billups wrote: > > My small software company has a team of 4 python devs and we started using > ember earlier this year (here are a few things we learned along the way) > > 1.) use a

Re: Django & Ember

2013-06-01 Thread Toran Billups
My small software company has a team of 4 python devs and we started using ember earlier this year (here are a few things we learned along the way) 1.) use a REST framework to transform your models into JSON over the wire ** We use the latest 2.x of django-rest-framework and it's been great **

Re: Django & Ember

2013-06-01 Thread Doug S
yea, more specifically, I've heard Ember is performant. THe HTML templates and style and static media are all loaded once with the app and from there its all just AJAX calls for your data. WHen you ask about lots of data, it depends what you mean by lots of data. I'm beginning to learn about

Re: Django & Ember

2013-06-01 Thread Doug S
Yea, I'm just getting into Django & Ember too. The django ember app posted above is really just some convenience tags for the most part. I'm not an expert at all on this and I'm probably in about the same place as you with this. My initial feeling is that Ember is just like Django on the front

Re: What to Django people have to say about Javascript frameworks to complement Django's philosophy on the front end

2013-06-01 Thread Doug S
That sounds interesting, I'll definitely check it out and see how I can work that into my code. Are you going to announce it on this list? On Thursday, April 18, 2013 2:44:03 AM UTC-4, Thomas Weholt wrote: > > I've looked at some of the frameworks you mention and I'm by no means a > javascript

Re: django , python and ides

2013-06-01 Thread Doug Snyder
Hey I just ran into a new opensource Python IDE that looks interesting that wasn't around when I commited to Aptana Ninja-ide http://www.ninja-ide.org/ review at: http://yatharthrock.blogspot.com/2013/01/ninja.html Has anyone used this yet? On Sat, Jun 1, 2013 at 4:56 PM, Doug Snyder

Re: django , python and ides

2013-06-01 Thread Doug Snyder
one free one on LInux I'd avoid is SPE IDE - Stani's Python Editor It's just too old and in the dark ages I had a lot of problems with encodings and white space/indentation nightmares when taking my code from it to other editors If you go with a simple text editor on Linux try Kate, its got some

Re: django , python and ides

2013-06-01 Thread Doug Snyder
I use an IDE called Aptana Studio 3 and like it. I can't say that I've tried a lot of IDEs and I tend to get more opinionated about programming languages and technologies than editors but when I got into Django I looked at some options and found Aptana to be the most full featured free and

Re: Bootstrap and Django together at last!

2013-06-01 Thread Doug S
Awesome Kevin, thanks for sharing. Its always fun to learn a new front technology through Django awesomeness. I'm just getting started on Bootstrap so having the beginner examples/templates is a nice plus ;-) On Tuesday, May 28, 2013 5:44:58 PM UTC-4, Kevin wrote: > > Hello everyone! > > I

Re: Bootstrap and Django together at last!

2013-06-01 Thread Kevin
Hello Artem, There are no requirements but Django, and my blog post is essentially the README file: http://www.pythondiary.com/blog/May.25,2013/django-bootstrap-theme-ready.html After looking at the packages you provided below, here is my assessment on why I created my own based on what

Re: django , python and ides

2013-06-01 Thread Jacky Tedy
I just use Vim -- 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

Re: linux or windows

2013-06-01 Thread Kakar Arunachal Service
Thanks! On Sat, Jun 1, 2013 at 9:04 PM, Artem Zinoviev wrote: > Django is a python. And nothing more... if you want be a python developer > linux is must have. Of course you can develop in windows and play with you > code some times... But a lot of python package don`t

Re: Bootstrap and Django together at last!

2013-06-01 Thread Artem Zinoviev
https://github.com/nigma/django-modern-template https://bitbucket.org/danjac/django-bootstrap-template https://github.com/estebistec/django-twitter-bootstrap https://github.com/rbrady/django-bootstrapped and all templates include bootstrap and other things:

Re: Bootstrap and Django together at last!

2013-06-01 Thread Artem Zinoviev
did you think about add requirements and README file in project? среда, 29 мая 2013 г., 0:44:58 UTC+3 пользователь Kevin написал: > > Hello everyone! > > I thought I'd provide a recently released Django app I built. I have > listed it on several Django communities including my blog, but I

Re: Django & Ember

2013-06-01 Thread Artem Zinoviev
It`s whery simple. https://github.com/noirbizarre/django-ember. суббота, 1 июня 2013 г., 8:34:01 UTC+3 пользователь JJ Zolper написал: > > Hello, > > So I'm thinking about bundling together Django and Ember. The reason is my > front end is going to be lots of data in realtime. Think like

Re: django , python and ides

2013-06-01 Thread Artem Zinoviev
vim is the best IDE for python/django. Second place i think is for sublime. пятница, 31 мая 2013 г., 13:54:42 UTC+3 пользователь tony gair написал: > > Python and Django are not my first languages and currently I am using it > like I would a compiled language inside gedit on debian wheezy. I was

Re: django , python and ides

2013-06-01 Thread Chris Lawlor
Cool, thank you! On Friday, 31 May 2013 16:10:12 UTC-4, JoeLinux wrote: > > Sure thing :) I'll even give you the stuff that makes my prompt and all > that: > > $HOME/.bashrc (partial): http://collabedit.com/bnxfx > > /bin/postactivate: http://collabedit.com/6bvfr > > $HOME/.screenrc-:

Re: linux or windows

2013-06-01 Thread Artem Zinoviev
Django is a python. And nothing more... if you want be a python developer linux is must have. Of course you can develop in windows and play with you code some times... But a lot of python package don`t work in windows. if you want meet new problem every day - windows is your choice :) пятница,

Re: (error) tutorial 2: local admin page not working

2013-06-01 Thread Artem Zinoviev
Ok. so you have settings of your database... But did you do something for enabling admin ? (my answer is Nope.) See your urls.py file (there is a comment line - read it closely.) Then go to settings.py file and find INSTALLED_APPS dict(in comments here you can read all.) Only after it you

Re: save data using checkbox click an input

2013-06-01 Thread Artem Zinoviev
How you send your form? Checkbox don`t send your form... Why you duplicate logic in views and template? ( for type in typeList: if not type.parent_type_id: *** && {% for type in typeList%} {% if type.parent_type_id == None %} ). *** P.S. All this code is

Re: how to import excel file into django models?

2013-06-01 Thread Artem Zinoviev
Django models - it`s ORM to database, and exel is not database it`s only zipped xml file. You can convert your .xslt to .csv format and export it in db. суббота, 1 июня 2013 г., 12:21:33 UTC+3 пользователь Ali hallaji написал: > > > -- You received this message because you are subscribed to

Re: SQL from Model ?

2013-06-01 Thread Josueh
Russ, call_comman("sqlall", "appname") runs!!! :) the code is: from django.conf import settings settings.configure(DATABASES=..., LOGGING_CONFIG=..., INSTALLED_APPS=("appname",) ) I only added databases and logging i puts the app ninstalled and run :) very very thank you!! :) --

Re: SQL from Model ?

2013-06-01 Thread Josueh
thank you, Russ! :) Django is fullstack I want something more simple... ...and I love Django Model! :) Im using Tornado(for requests) + Django(for Models) then... my database model is static, but dont want write SQL for creation (create table and create index) manually

pattern validation in QueryDict.get()

2013-06-01 Thread CHI Cheng
In url.py, we could use regex to limit string patterns. Is there anything similar for QueryDict.get()? e.g. given q = request.GET.get(key='q', default=10, *pattern=r'\d+'*) # new parameter pattern If value of q in //*path?q=xxx* does not match the pattern, then give default value. -- Chi

save data using checkbox click an input

2013-06-01 Thread roopasingh250
Hi,i am using django developing an app.Problem i am facing is i queried a list of data from one table and save the same data to another table,but the condition is if the user clicks the checkbox and press save.If the checkbox is clicked the value(label) of the checkbox should save in

how to import excel file into django models?

2013-06-01 Thread Ali hallaji
-- 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 django-users@googlegroups.com.

Re: SQL from Model ?

2013-06-01 Thread Russell Keith-Magee
On Sat, Jun 1, 2013 at 11:24 AM, Josueh wrote: > hi! > is possible generate the SQL ("create table/index/") in hardcode? > example: > class Book(models.Model): > title = models.CharField(...) > price = models.DecimalField(...) > print django_generate_sql_model(

Re: (error) tutorial 2: local admin page not working

2013-06-01 Thread Nigel Legg
Doesn't what you have posted tell you enough of what you need to do? Regards, Nigel Legg 07722 652866 http://twitter.com/nigellegg http://uk.linkedin.com/in/nigellegg On 1 June 2013 00:20, Issam Laradji wrote: > After setting up the database using the command: > >