Re: Choosing a JS framework to go together with Django

2013-07-14 Thread dotnetCarpenter
In the end, my project stalled due to lack of resources. We might pick it up but it's been abandoned for quite some time. I haven't had any django projects since. Hence, I can't make any recommendations. DjangoAjax looks promising but might lack the community support you expect. It is however b

Re: Choosing a JS framework to go together with Django

2013-07-14 Thread Phang Mulianto
Hi , Why not using REST for serving your data to the Front End app, it can be from mobile app or just web app with HTML + javascript. With that you don't need to worry about redo the template side in django and in your front end js app. With REST serving JSON, no template / html needed for the re

Getting started with django( the new one is confusing , especially first episode)

2013-07-14 Thread naufalyahaya
What is vagrant ?? how do i set it up, what is cheffile? what is virtual env??? Please could someone explain these to me. Cheers! Naufal -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails f

Re: Getting started with django( the new one is confusing , especially first episode)

2013-07-14 Thread Randy Baxley
http://docs.python-guide.org/en/latest/dev/virtualenvs.html https://github.com/applicationsonline/librarian http://docs.vagrantup.com/v2/why-vagrant/index.html Now maybe you can help me by telling me what episode you are refering to? On Sun, Jul 14, 2013 at 5:05 AM, wrote: > What is vagrant

Re: Big Picture?

2013-07-14 Thread Amirouche Boubekki
2013/7/7 Amirouche Boubekki > Hi, > > I have a diagram I call big picture, you might find it useful (see > attachment). > > Anything green is most of the time provided by the framework at least it > is the case in Django. > > Anything gray you have to make a choice for. > > Anything blue is your

Re: Choosing a JS framework to go together with Django

2013-07-14 Thread Jon
The idea is to generate pure HTML views for non JS clients like search bots. If your view depends on AJAX calls, then it defies the purpose. I've been developing native mobile apps for the past year, so I get your argument about providing REST end points for your data. The point of my original

Re: Choosing a JS framework to go together with Django

2013-07-14 Thread François Schiettecatte
Hi FWIW an approach I have taken is to split the app into two components, one is a REST based API (developed in Java, but you could use Django), and a website developed with Django. The website renders pages of content (all SEO friendly, with known urls), all interactive JS is provided by jque

Re: Big Picture?

2013-07-14 Thread Amirouche Boubekki
2013/7/8 Sanjay Bhangar > > > > On Sun, Jul 7, 2013 at 7:05 AM, Amirouche Boubekki < > amirouche.boube...@gmail.com> wrote: > >> Hi, >> >> I have a diagram I call big picture, you might find it useful (see >> attachment). >> >> Anything green is most of the time provided by the framework at least

Re: Big Picture?

2013-07-14 Thread Amirouche Boubekki
> >> I normally dislike technical "diagrams", but this is simple and awesome >> :-) -- it's a really nice "big picture" and introduction to the different >> components that can be hard to visualize in one's head when just getting >> started .. do you mind if I use it when introducing people to Djan

Re: Getting started with django( the new one is confusing , especially first episode)

2013-07-14 Thread cingusoft
Hi, Why you don't use google If you find vagrant, virtualenv and more you obtain all the informations. You obtain more infos from the projects site than in any mailing group. BlackBerry de movistar, allí donde estés está tu oficin@ -Original Message- From: naufalyah...@gmail.com Sender:

Django-Ajax Issue

2013-07-14 Thread vijay shanker
Hey all I am trying to make a simple ajax call to show items retrieved from database. I am displaying bunch of fields like a text input for keyword and radio button for filter in a form like this: {% csrf_token %} Search

help with query set

2013-07-14 Thread Bobby Roberts
hi. I need help with this simple setup. i need to get a list of announcements where active =1 and the discontinueDate is either null OR less than NOW. There are two issues: 1) the filter doesn't work 2) numannouncements always equals 1 even when nothing is returned any ideas? * model

Error with Passing a class name as a parameter in a ManyToManyField

2013-07-14 Thread Charounson Saintilus
This is my first time using the Django Web Framework and I'm new to the python language, so please bear with me. I've created a model (i.e. a class) called Course which defines several variables: class Course(models.Model): name = models.CharField(max_length=32)

Re: Error with Passing a class name as a parameter in a ManyToManyField

2013-07-14 Thread Jonathan Baker
You error is in the following line: prereq = models.ManyToManyField(*Course*, blank=True, null=True, through='PreReqToCourse') To phrase this as a sentence, you're saying that "Many courses can belong to many courses." which doesn't follow. I'm guessing that you're aiming to achieve something

Re: Big Picture?

2013-07-14 Thread Subhodip Biswas
Hi, That diagram clears a lot of misconceptions that I had. Thanks a lot for that. Will keep it as a reference. - Regards Subhodip Biswas GPG key : FAEA34AB Server : pgp.mit.edu http://subhodipbiswas.wordpress.com On Sun, Jul 14, 2013 at 8:38 PM, Amirouche Boubekki < amirouch

Re: Big Picture?

2013-07-14 Thread Amirouche Boubekki
The link to new version is missing: https://github.com/amirouche/experiments/tree/master/django-big-picture Thanks again, please share with us what were you misconceptions maybe one can improve from them or maybe can also make it more clear in the diagram :) 2013/7/14 Subhodip Biswas > Hi, > >

Re: Big Picture?

2013-07-14 Thread Mark Phillips
A suggestionadd a note to explain the colors as you did in your previous email. Mark On Jul 14, 2013 10:13 AM, "Amirouche Boubekki" wrote: > The link to new version is missing: > https://github.com/amirouche/experiments/tree/master/django-big-picture > > Thanks again, please share with us wh

Re: Getting Started with Mac OS X

2013-07-14 Thread Mando
Hi, This is the way I have it set up my osx $ sudo pip install virtualenv $ virtualenv --distribute pytho_projects $ source python_projects/bin/activate $ (python projects) pip install django $ django-admin.py startproject myblog and that should get you past that. using virtualenv just makes it

Re: Getting Started with Mac OS X

2013-07-14 Thread Thomas Lockhart
On 7/14/13 1:26 PM, Mando wrote: Hi, This is the way I have it set up my osx $ sudo pip install virtualenv $ virtualenv --distribute pytho_projects $ source python_projects/bin/activate $ (python projects) pip install django $ django-admin.py startproject myblog and that should get you past t

how to do conditional order_by

2013-07-14 Thread surya
SELECT id, ((positive_count + 1.9208) / (positive_count + negative_count) - 1.96 * SQRT((positive_count * negative_count) / (positive_count + negative_count) + 0.9604) / (positive_count + negative_count)) / (1 + 3.8416 / (positive_count + negative_

django statics

2013-07-14 Thread Kakar Arunachal Service
Hello, I read the django docs, but my still confused. How do i use the static files, for css? Thank you. -- 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-u

Re: help with query set

2013-07-14 Thread Mike Dewhirst
On 15/07/2013 1:11am, Bobby Roberts wrote: hi. I need help with this simple setup. i need to get a list of announcements where active =1 and the discontinueDate is either null OR less than NOW. I haven't looked at your code but your words above indicate you want all announcements which have

Re: django statics

2013-07-14 Thread Sébastien Billion
Hi, In your project folder, you can create a folder media zith a subfolder css, an other img, js, whatever. In your settings.py, you can use this line to get the absolute path dynamically: from os import path PROJECT_ROOT = path.dirname(path.abspath(__file__)) After, you need to specify your MED

Re: Error with Passing a class name as a parameter in a ManyToManyField

2013-07-14 Thread Mike Dewhirst
On 15/07/2013 1:02am, Charounson Saintilus wrote: This is my first time using the Django Web Framework and I'm new to the python language, so please bear with me. I've created a model (i.e. a class) called Course which defines several variables: class Course(models.Model): name = models