Re: django windows user

2013-08-12 Thread Robin Lery
Thank you all! Just one more question though, does hosting provider provides any interface like virtual machine or so? It would have been great if they were. On Mon, Aug 12, 2013 at 5:09 AM, Mike Dewhirst wrote: > On 12/08/2013 8:47am, Aaron C. de Bruyn wrote: > >> MySQL or Postgresql for your d

Django: Temporary "wait page" while heavy compute processing is handled

2013-08-12 Thread Howard S
Hi everyone, I have a page whose content cannot be loaded until a lot of computations are done, which may take a minute or two. How can I set up a temporary "wait page" that will direct users to a new link once the computing is done? For example: User submits an input: http://127.0.0.1:8000/too

Re: __unicode__() addition not working in basic poll application.

2013-08-12 Thread Waqas Javed
I was having the same problem my django version was 1.3.1 and python 2.7. There was indentation problem with my code after correcting it my problem was solved. On Tuesday, June 14, 2011 11:01:54 PM UTC+5, Kyle Latham wrote: > > Hello, > > I am having the same problem while working through the t

Incrementing the slug by avoiding Integrity error in django models save method

2013-08-12 Thread shiva krishna
I have a model with two fields as below **models.py** class Publisher(models.Model): name = models.CharField(max_length=200) slug = models.SlugField(max_length=150, unique=True) def save(self, *args, **kwargs): if not self.id and not self.slug:

Re: Error: ImportError: No module named south

2013-08-12 Thread Tito Gonzales
before installing psycopg2 you have to install Postgres, you did it right? To test the south use the sqlite3 first then switch to Postgres Em domingo, 11 de agosto de 2013 08h30min54s UTC-3, alekto.a...@gmail.com escreveu: > > Hi, > am using django==1.5.1 and south==0.8.2, as well as pip-1.1-py

Custom auth backend and importing custom user model

2013-08-12 Thread Rok Jaklič
Hi, I wrote custom auth backend, however when I try to import custom user model I get an error like: ImportError: cannot import name "CustomUser" even though I have in custom_auth.py from users.models import CustomUser. I found out that custom_auth.py is called before custom models. Any ideas

Re: Django: Temporary "wait page" while heavy compute processing is handled

2013-08-12 Thread Julio Molina Soler
Hi Howard, I'm not very experience with django yet, but if you are not very familiar with Ajax I recommend to have a look on jQuery, I also have no experience with Ajax, that's why I work with it, I find it more friendly, and get the things nicely done (mostly popup menus and so on). That link

Re: Django: Temporary "wait page" while heavy compute processing is handled

2013-08-12 Thread Nick Santos
Hi Howard, You will want to look into Celery , which lets you do heavy processing outside of your web requests. You can then use some checking via Javascript to see if the work is done yet and load a new page, or ask the user to come back later. There's a celery "app" fo

Re: south in windows

2013-08-12 Thread Karl Arunachal
Thank you! That solved my problem. On Mon, Aug 12, 2013 at 5:05 AM, Mike Dewhirst wrote: > On 12/08/2013 5:36am, Karl Arunachal wrote: > >> Hi, >> I am trying to sync south in my db, but i can't sync it. Its giving me >> an error: >> (use ./manage.py migrate to migrate these) >> Is there anyway

broken packages

2013-08-12 Thread Truongxuan Quang
I run command $sudo apt-get install geonode it showed as the list bellows: geonode : Depends: python-django (>= 1.5.1) but 1.4.1-2ubuntu0.3 is to be installed Depends: python-agon-ratings but it is not installable Depends: python-dialogos but it is not installable

Re: problem with deploying django using mod wsgi

2013-08-12 Thread Rob Ladd
It may be looking in html because it isn't getting the definition from the view method or class, so it's going with the default. Try importing everything in views: from webapp import views * On Saturday, August 10, 2013 3:46:19 AM UTC-4, WongoBongo wrote: > > Is your form (on page /mice/search_mi

Re: How can I order my list based on a field in a different table?

2013-08-12 Thread Pepsodent Cola
Thank you Eric for the pointers! But I think Django is complaining about me having too many Relationships in table Altword, or perhaps I have typed syntax wrong and missunderstand the error message? Exception Value: has more than 1 ForeignKey to #_

Re: Django: Temporary "wait page" while heavy compute processing is handled

2013-08-12 Thread François Schiettecatte
Hi Another option is to email something with a link to a page where they can pick up their job results, you could easily generate a one-time token which can be inserted into a table and in the email as part of a url. You could even you the same table as your job queue, rows missing their tokens

Re: broken packages

2013-08-12 Thread Aaron C. de Bruyn
This isn't a django issue, but rather an issue with the package management system in your Linux distribution. This can happen if someone publishes a broken package, or you add on PPA's that have conflicting requirements. Basically it's saying that geonode depends on a version of Django greater th

Creating an "Edit Page"

2013-08-12 Thread Liz
I've been struggling in creating an edit page and I need help, please! The goal is to get the user to search a record and when they click on the link, I would like to use form.p with the values it finds from the database. For example if they search a name and click on the person that is alread

Getting Timezone conversion in template with USE_TZ = False;

2013-08-12 Thread Lee Hinde
I'm displaying a date/time field in template. Data in the database: 2013-05-30 00:00:00 template tag: {{ reg.registration_date }} as displayed in the web page: May 29, 2013, 5 p.m. I didn't have a USE_TZ setting until I tried to figure out what was happening here. The data I'm playing with no

Re: django windows user

2013-08-12 Thread gilberto dos santos alves
search google for cpanel many providers have this (also google have one). and see lots of steps that you could use. [1] [1] https://cpanel.net/ Em sábado, 10 de agosto de 2013 19h27min47s UTC-3, Robin Lery escreveu: > > Hello, > I am a windows user, and its great learning django and python as w

check user status

2013-08-12 Thread Scheck Nyori
Hi, How do i check whether a user has liked an object or not? And if yes, how do block the user from liking it again? Any help will be appreciated. Thanks. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop r

how to print json object in django template?

2013-08-12 Thread navnath gadakh
-- 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. V