Re: Does Django detect changes in models Meta ?

2014-08-22 Thread Norman Bird
how about: python manage.py sql myapp I just changed my model and I had to runt that in order to build the tables. On Fri, Aug 22, 2014 at 11:49 AM, Norman Bird wrote: > I stand corrected. :-) > > > On Fri, Aug 22, 2014 at 11:47 AM, Larry Martell

Re: Preparing virtualenvwrapper for Django 1.6 development

2014-08-22 Thread Mike Dewhirst
On 23/08/2014 7:23 AM, Sithembewena Lloyd Dube wrote: Hi everyone, I am developing on a Windows 8.1 machine and wold like to setup virtualenvironment via virtualenvwrapper so as to have a properly set up Python development environment. I am referring to Jeff Knupp's guide atÂ

Re: trouble logging in to post ticket for django documentation

2014-08-22 Thread Steve
Thanks Russ. Everything's peachy. I poked around enough before posting my message that I ought have put that together myself. Sorry to have bothered you. Cheers. On Friday, 22 August 2014 20:33:58 UTC-4, Russell Keith-Magee wrote: > > Hi Steve, > > We recently changed the login procedures

Re: trouble logging in to post ticket for django documentation

2014-08-22 Thread Russell Keith-Magee
Hi Steve, We recently changed the login procedures for our Trac instance, and we're still shaking out some of the bugs. In this case, the forbidden page has the wrong link on it. If you want to log in with your Github account, visit: https://code.djangoproject.com/github/login then go ahead an

Re: Creating a QuerySet where the presence of a row is dependent on other rows in the result

2014-08-22 Thread Russell Keith-Magee
On Fri, Aug 22, 2014 at 3:20 PM, Dave Cole wrote: > I have a problem where I need to define a QuerySet where the conditions > for including one row depend on evaluating values in one or more other rows > in the QuerySet. > > Is there a way to manually construct a QuerySet

Re: How to set response headers in DetailView

2014-08-22 Thread Lucas Simon Rodrigues Magalhaes
after much research [1] managed to do this [2] in the ListView class. Now I apply the DetailView. [1] https://docs.djangoproject.com/en/dev/topics/conditional-view-processing/ [2] https://github.com/lucassimon/pywatch.com.br/blob/cache-techniques/screencasts/views.py#L75-L95 Em

Re: How to set response headers in DetailView

2014-08-22 Thread André Luiz
I did it two days ago rewriting the render_to_response method. for reference http://stackoverflow.com/questions/1628/send-a-file-through-django-class-based-views/16287950#16287950 2014-08-22 18:55 GMT-03:00 Lucas Simon Rodrigues Magalhaes < lucass...@gmail.com>: > Hello, > > I see this

How to set response headers in DetailView

2014-08-22 Thread Lucas Simon Rodrigues Magalhaes
Hello, I see this tutorial [1] to control the response header and caching of pages in django. So I'm trying to enable this response header in a generic class DetailView. I did a search and found this code [2] at the end of the page and also the source code [3] of View. But are confused and

Preparing virtualenvwrapper for Django 1.6 development

2014-08-22 Thread Sithembewena Lloyd Dube
Hi everyone, I am developing on a Windows 8.1 machine and wold like to setup virtualenvironment via virtualenvwrapper so as to have a properly set up Python development environment. I am referring to Jeff Knupp's guide at

trouble logging in to post ticket for django documentation

2014-08-22 Thread Steve
Total noob here. I'm working through the (very helpful) django tutorials. I'd like to enter a suggestion ticket. I've created a github account and logged into it, yet I still receive the following error message from code.djangoproject.com: You are currently not logged in. You may want to do

Re: Comments in real time

2014-08-22 Thread Julo
If you need to save the comments, take a look to django-angular. Its an integration of angularJS into django. Where you can save the model via javascript, i really recommend you Angular for this. -Original Message- From: Collin Anderson Sender:

Re: Jump on 1.7 in new project or stick to 1.6, target release date 30th of September

2014-08-22 Thread Robert
Imagine it's May 2014, with all the knowledge you had at that time. What would your answer be? Now do the same thinking for June. July. August. On Sunday, June 22, 2014 3:22:22 PM UTC+2, Jorge Andrés Vergara Ebratt wrote: > > I've been asking myself the same thing, I think I'm going to start

Re: hosting django app

2014-08-22 Thread Cal Leeming [iops.io]
Have a look at Heroku too Alternative, your own VPS on DigitalOcean if you have enough in-house devops guys Cal On Fri, Aug 22, 2014 at 9:25 AM, ngangsia akumbo wrote: > my boss uses php to build web apps > > he is n9ot very convince that django can be very cheap in

Re: hosting django app

2014-08-22 Thread Nikolas Stevenson-Molnar
WebFaction: https://www.webfaction.com Decent price and they handle some of the setup/deploy hassle for you. _Nik On 8/22/2014 1:25 AM, ngangsia akumbo wrote: > my boss uses php to build web apps > > he is n9ot very convince that django can be very cheap in hosting as php. > > is there any way

Re: hosting django app

2014-08-22 Thread Collin Anderson
ramnode.com is the cheapest if you can live within 128mb of ram. digitalocean.com is also good. -- 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

Re: Comments in real time

2014-08-22 Thread Collin Anderson
You could also look into the EventSource JavaScript API. -- 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

First app using mouse click event

2014-08-22 Thread ASHISH KUMAR GUPTA
Hi, I am very new to web development and started learning django few days back as I really like and enjoy Python. I have done the first tutorial and I understand some of the basic concepts. I want to develop an app where I need to record mouse clicks from the user, can someone please guide me

Re: Does Django detect changes in models Meta ?

2014-08-22 Thread Norman Bird
I stand corrected. :-) On Fri, Aug 22, 2014 at 11:47 AM, Larry Martell wrote: > On Fri, Aug 22, 2014 at 9:55 AM, Norman Bird > wrote: > > I am new, just completed the tutorials, but from my understanding you run > > "python manage.py syncdb"

Re: Does Django detect changes in models Meta ?

2014-08-22 Thread Larry Martell
On Fri, Aug 22, 2014 at 9:55 AM, Norman Bird wrote: > I am new, just completed the tutorials, but from my understanding you run > "python manage.py syncdb" and that rebuilds the tables etc. No, syncdb only create tables that do not exist. It does not alter any existing

Re: Does Django detect changes in models Meta ?

2014-08-22 Thread Norman Bird
I believe so. Wont hurt to try it and see what happens. On Fri, Aug 22, 2014 at 11:03 AM, Néstor wrote: > is that true if the table is already there? > > > On Fri, Aug 22, 2014 at 6:55 AM, Norman Bird > wrote: > >> I am new, just completed the

Re: Does Django detect changes in models Meta ?

2014-08-22 Thread Néstor
is that true if the table is already there? On Fri, Aug 22, 2014 at 6:55 AM, Norman Bird wrote: > I am new, just completed the tutorials, but from my understanding you run > "python manage.py syncdb" and that rebuilds the tables etc. > > On Friday, August 22, 2014

Re: Handling temporary file storage with WizardView

2014-08-22 Thread zubair alam
although this post older, you might have found a solution for your problem...how you did that. I think if file path is set to something where you want to save it finally would be much better than cleaning tmp directory. destination folder can be specified to FileSystemStorage On Friday,

Re: Does Django detect changes in models Meta ?

2014-08-22 Thread Norman Bird
I am new, just completed the tutorials, but from my understanding you run "python manage.py syncdb" and that rebuilds the tables etc. On Friday, August 22, 2014 3:32:43 AM UTC-4, termopro wrote: > > Hi there, > > I am using Django 1.7 RC2. > I have created models and have run all the

Re: hosting django app

2014-08-22 Thread Mark Phillips
Check out linode.com. Great service and very easy to use and manage. Mark On Fri, Aug 22, 2014 at 6:56 AM, ngangsia akumbo wrote: > thanks bro > > > On Friday, August 22, 2014 1:36:32 PM UTC+1, Jonathan Querubina wrote: > >> dreamhost.com >> >> Sent from my iPhone >> >> On

Re: hosting django app

2014-08-22 Thread ngangsia akumbo
thanks bro On Friday, August 22, 2014 1:36:32 PM UTC+1, Jonathan Querubina wrote: > > dreamhost.com > > Sent from my iPhone > > On Aug 22, 2014, at 05:25, ngangsia akumbo > wrote: > > my boss uses php to build web apps > > he is n9ot very convince that django can be very

Re: hosting django app

2014-08-22 Thread Jonathan Querubina
dreamhost.com Sent from my iPhone > On Aug 22, 2014, at 05:25, ngangsia akumbo wrote: > > my boss uses php to build web apps > > he is n9ot very convince that django can be very cheap in hosting as php. > > is there any way i can host a django app whic is as cheap as php?

Creating a QuerySet where the presence of a row is dependent on other rows in the result

2014-08-22 Thread Dave Cole
I have a problem where I need to define a QuerySet where the conditions for including one row depend on evaluating values in one or more other rows in the QuerySet. Is there a way to manually construct a QuerySet by iterating over rows from another QuerySet and individually adding them to the

Does Django detect changes in models Meta ?

2014-08-22 Thread termopro
Hi there, I am using Django 1.7 RC2. I have created models and have run all the migrations so Django created tables in database. Now i decided to change database table names and have added Meta class to models containing table name: class SomeModel(models.Model): ... class Meta:

Re: hosting django app

2014-08-22 Thread ngangsia akumbo
ok thanks On Friday, August 22, 2014 9:28:54 AM UTC+1, Tundebabzy wrote: > > Google Redhat Openshift > On 22 Aug 2014 09:25, "ngangsia akumbo" > wrote: > >> my boss uses php to build web apps >> >> he is n9ot very convince that django can be very cheap in hosting as php. >>

Re: cms web buyilding

2014-08-22 Thread ngangsia akumbo
thanks bro On Friday, August 22, 2014 10:48:30 AM UTC+1, somecallitblues wrote: > > There's nothing else to be said mate > On 22/08/2014 6:35 pm, "ngangsia akumbo" > wrote: > >> Then i should be very comfortable with my django. >> >> Any more comments on that? >> >> On

Re: cms web buyilding

2014-08-22 Thread Mario Gudelj
There's nothing else to be said mate On 22/08/2014 6:35 pm, "ngangsia akumbo" wrote: > Then i should be very comfortable with my django. > > Any more comments on that? > > On Tuesday, August 19, 2014 11:23:07 AM UTC+1, Tom Evans wrote: >> >> On Mon, Aug 18, 2014 at 9:00 AM,

Re: cms web buyilding

2014-08-22 Thread ngangsia akumbo
Then i should be very comfortable with my django. Any more comments on that? On Tuesday, August 19, 2014 11:23:07 AM UTC+1, Tom Evans wrote: > > On Mon, Aug 18, 2014 at 9:00 AM, ngangsia akumbo > wrote: > > then if drupal , jomlam has what django has then why are u

Re: hosting django app

2014-08-22 Thread Babatunde Akinyanmi
Google Redhat Openshift On 22 Aug 2014 09:25, "ngangsia akumbo" wrote: > my boss uses php to build web apps > > he is n9ot very convince that django can be very cheap in hosting as php. > > is there any way i can host a django app whic is as cheap as php? > > -- > You

hosting django app

2014-08-22 Thread ngangsia akumbo
my boss uses php to build web apps he is n9ot very convince that django can be very cheap in hosting as php. is there any way i can host a django app whic is as cheap as php? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from