Re: trouble going from django on Windows to Ubuntu using Eclipse & Aptana Studio

2011-07-18 Thread Fatrix
Hi Doug Perhaps [0] on stackoverflow helps you solving the problem (--noreload option). As I remember I had the same issue within Aptana. -V, before using PyCharm I was also developing with a simple editor (vi). Aptana wasn't a good choice, because the support for Django isn't built-in. PyCharm d

Re: AW: admin_media_prefix in page source is wrong

2011-07-18 Thread Bram Deprettere
Op 15/07/2011 9:33, Szabo, Patrick (LNG-VIE) schreef: I'm sorry maybe this is a dumb question but what do you mean when you say " Inside static-folder I made a link to ../../lib/python2.7/site-packages/django/contrib/admin/static/admin for the admin-media files." ?! . . . . . . . . . . . . .

AW: AW: admin_media_prefix in page source is wrong

2011-07-18 Thread Szabo, Patrick (LNG-VIE)
Maybe I'm still not getting it but I think what you want to set is admin_media_url instead of admin_media_prefix. . . . . . . . . . . . . . . . . . . . . . . . . . . Patrick Szabo XSLT Developer LexisNexis Marxergasse 25, 1030 Wien mailto:patrick.sz...@lexisnexis.at Tel.: 00431 534521573 Fax

Re: FTP prefic in URL field

2011-07-18 Thread ggavy
Thanks Tim, I kinda guessed that would be the case. Thanks for the advice. G On Jul 15, 3:12 pm, Tim Shaffer wrote: > Yeah, it doesn't look like 1.1 allowed for ftp protocol: > > https://github.com/django/django/blob/1.1.X/django/forms/fields.py#L545 > > Best bet might be to create your ow

Delete a record

2011-07-18 Thread bahare hoseini
hi there, does someone know how i can delete a record from my form, i'm using SQLite3 ? thank you -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group,

unable to show headline

2011-07-18 Thread bahare hoseini
hi, i used this code: {{ My_Model_Name.Attribute1 }} in my html page. when i open this page with browser, mentioned HEADER isn't visible, but rest of things(buttons, texts, ...) is visible, can anybody help me plz? -- You received this message because you are subscribed to the Google Groups "D

AW: Delete a record

2011-07-18 Thread Szabo, Patrick (LNG-VIE)
Do you mean actually deleting an entry in the db https://docs.djangoproject.com/en/dev/topics/db/queries/#topics-db-queri es-delete or removing (not showing) it from the form that is shown in html: https://docs.djangoproject.com/en/dev/topics/forms/modelforms/#using-a-s ubset-of-field

AW: unable to show headline

2011-07-18 Thread Szabo, Patrick (LNG-VIE)
Take a look at the sourcecode of the html. Maybe it's there but has a weird style or if it's not there at all you might want to show us what's actually in "My_Model_Name.Attribute1" Von: django-users@googlegroups.com [mailto:django-users@googlegroups.com] Im Auftrag von bahare hoseini Gesendet

Re: Multiple Databases || External Databases

2011-07-18 Thread Uros Trebec
On Jul 17, 10:36 pm, Lycan wrote: > I am building a Django User profile management portal. In one of the > sections of the website i need pull data from an external database(Its > managed by someone else, i have access to it). > > How can i achieve this and also can someone please point me to a

Re: AW: AW: admin_media_prefix in page source is wrong

2011-07-18 Thread Bram Deprettere
Op 18/07/2011 9:42, Szabo, Patrick (LNG-VIE) schreef: Maybe I'm still not getting it but I think what you want to set is admin_media_url instead of admin_media_prefix. . . . . . . . . . . . . . . . . . . . . . . . . . . Patrick Szabo XSLT Developer LexisNexis Marxergasse 25, 1030 Wien mailt

Re: SQL Server Support - Does it Exist

2011-07-18 Thread Tom Evans
On Fri, Jul 15, 2011 at 3:21 AM, Python_Junkie wrote: > I have installed django-mssql and still seem to be stuck. > > What are the correct attributes that need to be set in the settings.py > file? > > I am getting an error > > This is how I have configured my settings.py file > ***

USE_I18N vs. USE_L10N

2011-07-18 Thread Lucy Brennan
I believe I understand the general definitions of internationalization and localization, e.g. as defined on http://en.wikipedia.org/wiki/Internationalization_and_localization. Internationalization is somewhat like building/designing a piece of software for being used with different locales. And lo

Pinboard.in links on Django Community feeds page usually don't work.

2011-07-18 Thread swiharta
With the rise in popularity of tagging Django links using Pinboard.in, it would be nice if the links on the feeds page actually worked. The titles come across fine, but the url's usually just point to the pinboard.in homepage. I just highlight the title and Google it to find the page, not a lot of

Re: USE_I18N vs. USE_L10N

2011-07-18 Thread Shawn Milochik
If you look up those terms in the Django docs instead of Wikipedia I think that will erase your confusion. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from th

Re: trouble going from django on Windows to Ubuntu using Eclipse & Aptana Studio

2011-07-18 Thread Andre Terra
> Well, i would recommend that you use a simple editor(like vim in linux) or > Programmer's Notepad(in windows) for development in django/python. > It is much easier to develop and also helps you keep your development > environment 'lightweight'. > > An IDE is required only for languages like Java,

Re: trouble going from django on Windows to Ubuntu using Eclipse & Aptana Studio

2011-07-18 Thread Andre Terra
On Mon, Jul 18, 2011 at 4:01 AM, Fatrix wrote: > > -V, before using PyCharm I was also developing with a simple editor > (vi). > Aptana wasn't a good choice, because the support for Django isn't > built-in. > PyCharm doesn't face you with these kind of problems, because PyCharm > is very well > p

Re: trouble going from django on Windows to Ubuntu using Eclipse & Aptana Studio

2011-07-18 Thread Cal Leeming [Simplicity Media Ltd]
Personally, I absolutely hate Eclipse and anything associated with it. An IDE really comes down to personal preference, which is why there are so many of them. I'd like to throw Komodo in the mix. I moved from NetBeans to Komodo about 2 months ago, and haven't looked back since. Although Komodo c

Re: django.core.urlresolvers.reverse capturing group before include behavior

2011-07-18 Thread Squeesh
Thanks Chang.Jian, Goth test_url = reverse('test.views.index', args=['slug']) and test_url = reverse('test.views.index', kwargs={'some_slug': 'slug'}) work as expected... reverse('test:index', args=['slug']) would be the desired syntax, but the other will work fine as a work around. Anyon

Re: django.core.urlresolvers.reverse capturing group before include behavior

2011-07-18 Thread Squeesh
Both* -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/9r8bIyO8WyUJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from

import django models without runing the server

2011-07-18 Thread Alexander Crössmann
Hi, I want to write a python script that works with django models without runing the server. My OS ist Ubuntu 10.10. My skipt looks as follows: import sys sys.path.append('/home/myname/python/django_projects/') sys.path.append('/home/myname/python/') import settings from django_projects.codierun

Re: import django models without runing the server

2011-07-18 Thread Malcolm Box
On 18 July 2011 13:34, Alexander Crössmann wrote: > Hi, > > I want to write a python script that works with django models without > runing the server. My OS ist Ubuntu 10.10. > > I'd suggest using Django management commands: https://docs.djangoproject.com/en/1.3//howto/custom-management-commands/

Re: Class-Based Generic Views (CreateView) - field exclusions and defaults

2011-07-18 Thread br
While this doesn't contribute an answer to your question, I must say that name "class-based generic views" is a bit misleading . . . implying that these class-based views are for doing things you want to do that follow a strictly set pattern out of the box (i.e, listviews, detailviews, create views

Re: Django - can't open image in model save()

2011-07-18 Thread Malcolm Box
On 18 July 2011 02:04, galgal wrote: > def upload_path_handler(instance, filename): > > return filename > > class SpectacleGallery(models.Model): > > image = models.ImageField(upload_to=upload_path_handler) > > def save(self, *args, **kwargs): > > Image.open(self.image) > > super(SpectacleGall

Re: import django models without runing the server

2011-07-18 Thread Alexander Crössmann
Hi Malcom, I am not sure the management commands are what I want, but the setting of the DJANGO_SETTINGS_MODULE environment variable helped. I had experimented with these settings already, but wasn't successful until now. So, thanks for the help! Alex Am 18.07.2011 15:17, schrieb Malcolm Box

Re: Django - can't open image in model save()

2011-07-18 Thread br
Not sure if this is your problem but there are some issues with some PIL installations and JPG files that require some potential configuration/install-time magic, so make sure you test on PNG's or GIF's first and make sure its working with those. If it ends up being JPG-specific issue, and google

re:NameError at /admin/

2011-07-18 Thread arthur_mwai
I wanted to register an app called "news" in the admin site and i got this error: NameError at /admin/ name 'news' is not defined Request Method: GET Request URL:http://127.0.0.1:8000/admin/ Django Version: 1.3 Exception Type: NameError Exception Value: name 'news' is not defined Exception Loc

Re: import django models without runing the server

2011-07-18 Thread bruno desthuilliers
On Jul 18, 3:33 pm, Alexander Crössmann wrote: > Hi Malcom, > > I am not sure the management commands are what I want Strange enough, it seems that everyone starts by saying this and ends up writing custom management commands ;) -- You received this message because you are subscribed to the Goo

Re: import django models without runing the server

2011-07-18 Thread Shawn Milochik
On Mon, Jul 18, 2011 at 10:33 AM, bruno desthuilliers wrote: > On Jul 18, 3:33 pm, Alexander Crössmann > wrote: >> Hi Malcom, >> >> I am not sure the management commands are what I want > > Strange enough, it seems that everyone starts by saying this and ends > up writing custom management comman

Storing IP address as integer within database to remove need for full text search

2011-07-18 Thread Cal Leeming [Simplicity Media Ltd]
Hi, I have created a ModelField called RealIPAddressField. It stores the IP address in integer form, meaning the lookups on large tables are much faster: http://djangosnippets.org/snippets/2493/ @django-developers - Do you think there is any possibility of this getting included into the core?

Re: Storing IP address as integer within database to remove need for full text search

2011-07-18 Thread Javier Guerra Giraldez
On Mon, Jul 18, 2011 at 9:56 AM, Cal Leeming [Simplicity Media Ltd] wrote: > It stores the IP address in integer form, meaning the lookups on large > tables are much faster: are they?hashtables shouldn't be too sensitive to key size, as long as the string size stays bounded... like on IP addr

Re: Storing IP address as integer within database to remove need for full text search

2011-07-18 Thread Cal Leeming [Simplicity Media Ltd]
Sorry, I should have been a little more specific. I meant faster lookups in terms of database index, such as MySQL with InnoDB. Cal On Mon, Jul 18, 2011 at 4:13 PM, Javier Guerra Giraldez wrote: > On Mon, Jul 18, 2011 at 9:56 AM, Cal Leeming [Simplicity Media Ltd] > wrote: > > It stores the IP

Re: Storing IP address as integer within database to remove need for full text search

2011-07-18 Thread Cal Leeming [Simplicity Media Ltd]
Or maybe you were talking about hash tables in MySQL. Either way, you're right that this would probably need some benchmarks before being approved for the core. @django-developers, if I was to provide some benchmarks, would this possibly be considered for the core? Cal On Mon, Jul 18, 2011 at 4

Re: Storing IP address as integer within database to remove need for full text search

2011-07-18 Thread Javier Guerra Giraldez
On Mon, Jul 18, 2011 at 10:13 AM, Javier Guerra Giraldez wrote: > On Mon, Jul 18, 2011 at 9:56 AM, Cal Leeming [Simplicity Media Ltd] > wrote: >> It stores the IP address in integer form, meaning the lookups on large >> tables are much faster: > > are they?    hashtables shouldn't be too sensitiv

Re: Storing IP address as integer within database to remove need for full text search

2011-07-18 Thread Dmitry Gladkov
I like the idea, but I don't like the approach, it should be a subclass of PositiveIntegerField, as it is an unsigned int on DB level. Also, I agree with Łukasz that it should support both IPv6 and IPv4. -- Best wishes, Dmitry Gladkov, mailto:dmitry.glad...@gmail.com +380 91 303-37-46 On Mon,

Re: Storing IP address as integer within database to remove need for full text search

2011-07-18 Thread Brett Parker
On 18 Jul 18:28, Dmitry Gladkov wrote: > I like the idea, but I don't like the approach, it should be a > subclass of PositiveIntegerField, as it is an unsigned int on DB > level. Also, I agree with Łukasz that it should support both IPv6 and > IPv4. IPAddressField appears to be v4 only for backwa

using signals to add users to a group

2011-07-18 Thread Andrew Marder
Dear Django Users, I want to add users to a particular group based on the domain of their email address. I set up some code in models.py to do this and it seems to work. But, when I go to test the code things don't work out so smoothly. I think in the test environment the objects I try to create i

syntax

2011-07-18 Thread NISA BALAKRISHNAN
what is the correct syntax for this: self.ErrorMessages = _('Problem with data of Waybill') '%s: %s \n' % ( the_waybill, str( errorObj.code ) ) -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@goo

Re: using signals to add users to a group

2011-07-18 Thread Shawn Milochik
What traceback do you get? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more opt

Re: syntax

2011-07-18 Thread Cal Leeming [Simplicity Media Ltd]
Something like this? _str = _('Problem with data of Waybill') _str2 = "%s: %s \n" % ( the_waybill, str( errorObj.code ) ) self.ErrorMessages = "%s %s" % ( _str, _str2) (i split into two parts to make it easier on the eyes) Cal On Mon, Jul 18, 2011 at 5:59 PM, NISA BALAKRISHNAN < snisa.balakrish

Re: manytomany query problem

2011-07-18 Thread Tony
As I still haven't solved this, any suggestions would be appreciated. On Jun 26, 10:16 pm, Tony wrote: > Alex, > I did it your way and although it does return the intersected sets > correctly, it is not exactly what I want because I need those sets to > be returned with their respective model A o

Re: syntax

2011-07-18 Thread NISA BALAKRISHNAN
self.ErrorMessages = _('Problem with data of Waybill') ' %s: %s \n' % ( the_waybill, str( errorObj.code ) ) there is an error in this statement. i do not know if this is a valid python assignment statement becoz what i want to assign to self.errormessages is Problem with data of waybill (-value i

Re: syntax

2011-07-18 Thread Cal Leeming [Simplicity Media Ltd]
Well I just pasted you valid python syntax, so why not try that? Or am I missing something? :X On Mon, Jul 18, 2011 at 6:21 PM, NISA BALAKRISHNAN < snisa.balakrish...@gmail.com> wrote: > > self.ErrorMessages = _('Problem with data of Waybill') ' %s: %s \n' % > ( the_waybill, str( errorObj.code )

Re: syntax

2011-07-18 Thread Andre Terra
There is an error because you are concatenating the function _() and the string '%s: %s \n' You also don't need the space before \n and don't add unnecessary spaces: (the_waybill, str(errorObj.code)) is the right way to write the last part of the code[1]. [1] http://www.python.org/dev/peps/pep-

Re: syntax

2011-07-18 Thread Cal Leeming [Simplicity Media Ltd]
On Mon, Jul 18, 2011 at 6:30 PM, Andre Terra wrote: > There is an error because you are concatenating the function _() and the > string '%s: %s \n' > > You also don't need the space before \n > > and don't add unnecessary spaces: (the_waybill, str(errorObj.code)) is the > right way to write the l

Re: Multiple Databases || External Databases

2011-07-18 Thread Andre Terra
Or maybe you want to authenticate using a remote resource? Authentication using REMOTE_USER https://docs.djangoproject.com/en/dev/howto/auth-remote-user/ Cheers, AT On Mon, Jul 18, 2011 at 6:08 AM, Uros Trebec wrote: > > > On Jul 17, 10:36 pm, Lycan wrote: > > I am building a Django User pro

Re: trouble going from django on Windows to Ubuntu using Eclipse & Aptana Studio

2011-07-18 Thread Fatrix
I didn't aim to start a discussion about which IDE is better. But every one has its own pros and cos. While working with Aptana I had to recreate several times a broken workspace, a really annoying work. That was my main reason to switch from the free Eclipse-World to the (not expensive) PyCharm w

Django site broken after Debian upgrade

2011-07-18 Thread bkline
I just upgraded my Debian server, which brought the python-django package up to version 1.2, and now any attempt to post to the database tables results in a CSRF failure. I'm using the admin pages to do just about everything, so it not clear how to apply the instructions in the Django CSRF docs [1

Re: Multiple Databases || External Databases

2011-07-18 Thread Lycan
Thank you both! On Jul 18, 1:39 pm, Andre Terra wrote: > Or maybe you want to authenticate using a remote resource? > > Authentication using > REMOTE_USERhttps://docs.djangoproject.com/en/dev/howto/auth-remote-user/ > > Cheers, > AT > > > > > > > > On Mon, Jul 18, 2011 at 6:08 AM, Uros Trebec w

RE: [] Django site broken after Debian upgrade

2011-07-18 Thread Henrik Genssen
feel free to disable the csrf middleware and all problems should go away... >reply to message: >date: 18.07.2011 13:45:56 >from: "bkline" >to: "Django users" >subject: [] Django site broken after Debian >upgrade > >I just upgraded my Debian server, which brought the python-django >package up to

get django/lighttpd "hello world" page

2011-07-18 Thread Phil
Hi, I have an ubuntu server, django is fully installed and working, lighttpd is installed and working(works with standard html page), but I am not sure how to get them talking to each other? It is my first time putting a django site onto a live server so any help is appreciated. I'm used to a php

Accounting app - design decisions needed

2011-07-18 Thread Andre Terra
Hello, django-users. I'm in need of some serious help on deciding how to design my next project. Below is my attempt to describe the use case: *USE CASE* I'm writing an accounting app that will be generating unique monthly reports of the revenue results for a list of Accounts (model) in the compa

Re: Django site broken after Debian upgrade

2011-07-18 Thread Andre Terra
Django has a policy of warning about deprecations for two versions and finally dropping support on the third dot release. Installing the python-django package is not the canonical way of using django, let alone running production servers. Perhaps you have a replica of the old admin templates on y

Re: get django/lighttpd "hello world" page

2011-07-18 Thread Daniel Roseman
Op maandag 18 juli 2011 20:29:03 UTC+1 schreef Phil het volgende: > > Hi, > > I have an ubuntu server, django is fully installed and working, > lighttpd is installed and working(works with standard html page), but > I am not sure how to get them talking to each other? > > It is my first time pu

Render nested queryset in a template ?

2011-07-18 Thread kooliah
I need to render a nested queryset in a template, a classic father/son structure like publisher>dvds>renters, code --- class publisher(models.Model): publisherid = models.IntegerField(primary_key=True) publishe

Re: get django/lighttpd "hello world" page

2011-07-18 Thread Phil
Thanks for reply. Yeah I seen that, I did run "./manage.py runfcgi method=threaded host=my ip address port=80" in my mysite directory but am still getting a "not found" page. On Jul 18, 10:41 pm, Daniel Roseman wrote: > Op maandag 18 juli 2011 20:29:03 UTC+1 schreef Phil het volgende: > > > > >

Re: Render nested queryset in a template ?

2011-07-18 Thread Daniel Roseman
Op maandag 18 juli 2011 20:29:17 UTC+1 schreef kooliah het volgende: > > I need to render a nested queryset in a template, a classic father/son > structure like > publisher>dvds>renters, > > > in python code i can use this code: > > code > > -

Re: get django/lighttpd "hello world" page

2011-07-18 Thread Javier Guerra Giraldez
On Mon, Jul 18, 2011 at 4:55 PM, Phil wrote: > I did run "./manage.py runfcgi > method=threaded host=my ip address port=80" don't use port 80 for FastCGI. chances are that it's already used -- Javier -- You received this message because you are subscribed to the Google Groups "Django users"

Re: Accounting app - design decisions needed

2011-07-18 Thread Marc Aymerich
On Mon, Jul 18, 2011 at 10:54 PM, Andre Terra wrote: > Hello, django-users. > > I'm in need of some serious help on deciding how to design my next project. > Below is my attempt to describe the use case: > > *USE CASE* > I'm writing an accounting app that will be generating unique monthly > repor

Re: Accounting app - design decisions needed

2011-07-18 Thread Andre Terra
Marc, First of all, thank you for your insights. I'll try to clarify things as best as I can. On Mon, Jul 18, 2011 at 7:21 PM, Marc Aymerich wrote: > > > On Mon, Jul 18, 2011 at 10:54 PM, Andre Terra wrote: > >> Hello, django-users. >> >> I'm in need of some serious help on deciding how to desi

SOLVED Re: Render nested queryset in a template ?

2011-07-18 Thread kooliah
Thank you On 07/18/2011 11:57 PM, Daniel Roseman wrote: Op maandag 18 juli 2011 20:29:17 UTC+1 schreef kooliah het volgende: I need to render a nested queryset in a template, a classic father/son structure like publisher>dvds>renters, in python code i can use this cod

POST requests that don't send any data - Django development version 1.4.0 Alpha

2011-07-18 Thread Jesse
I'm not sure if this is a bug (though it probably is) and wanted to review here before submitting a report. Consider the following handler: def test(req): if req.method == "POST": HttpResponse("the request was a POST") else: HttpResponse("the request was not a POST") Thi

Re: Accounting app - design decisions needed

2011-07-18 Thread Mike Dewhirst
On 19/07/2011 9:13am, Andre Terra wrote: The problem is I'm supposed to have millions of entries; all with the same date, thousands for the same Account, hundreds with the same description and perhaps dozens with the same value. I think I'm going with force-overwrite for the month, at least f

Re: Django site broken after Debian upgrade

2011-07-18 Thread bkline
On Jul 18, 5:25 pm, Andre Terra wrote: "Installing the python-django package is not the canonical way of using django, let alone running production servers." Really? It would be better if I went back to the days where we all built everything from the source? Do all Django users running on

Re: POST requests that don't send any data - Django development version 1.4.0 Alpha

2011-07-18 Thread Venkatraman S
Are you missing to 'return' HttpResponse? -V -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroup

Re: Django site broken after Debian upgrade

2011-07-18 Thread Aldiantoro Nugroho
On Tue, Jul 19, 2011 at 9:48 AM, bkline wrote: > On Jul 18, 5:25 pm, Andre Terra wrote: > > Really?  It would be better if I went back to the days where we all > built everything from the source?  Do all Django users running on > Linux (which I assume is the platform for the majority of > install

Re: POST requests that don't send any data - Django development version 1.4.0 Alpha

2011-07-18 Thread Jesse Tane
Aha! I knew i was crazy :) Thanks! On Mon, Jul 18, 2011 at 7:49 PM, Venkatraman S wrote: > Are you missing to 'return' HttpResponse? > > -V > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us

Proper way to strip whitespace from Charfields in a form in current version of Django?

2011-07-18 Thread br
There seems to be a raging and unresolved discussion about how to address the issue of stripping whitespace from form fields in future versions of Django over on the Developers group: http://groups.google.com/group/django-developers/browse_thread/thread/90352cc0da78390b . In the present, what is t

Re: trouble going from django on Windows to Ubuntu using Eclipse & Aptana Studio

2011-07-18 Thread bedros
komodo is absolutely brilliant! couple months ago I spent two hours learning how to write komodo macros in python and how to use their shortcuts in writig commands; I recommend you try komodo and check their bundled macros and commands in the toolbox panel (on the right) click properties to edit co

Re: Django site broken after Debian upgrade

2011-07-18 Thread Andre Terra
> > On Tue, Jul 19, 2011 at 9:48 AM, bkline wrote: > > On Jul 18, 5:25 pm, Andre Terra wrote: > > > > Really? It would be better if I went back to the days where we all > > built everything from the source? Do all Django users running on > > Linux (which I assume is the platform for the majorit

Re: Django site broken after Debian upgrade

2011-07-18 Thread Kejun He
hi, I met the same problem when updated diango from version 1.2 to version 1.3. And it comes back to normal after back to version 1.2. May be your trouble came from the same reason rgs, he On Tue, Jul 19, 2011 at 1:13 PM, Andre Terra wrote: > On Tue, Jul 19, 2011 at 9:48 AM, bkline wrote: >>

static urls

2011-07-18 Thread NISA BALAKRISHNAN
i am new to django @import "{{STATIC_URL}}/css/demo_page.css"; the slash after {{STATIC_URL}} is needed? what is the actual usage ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.

Re: static urls

2011-07-18 Thread Anoop Thomas Mathew
Hi, Depends on how you configured STATIC_URL in settings. If / is there in the STATIC_URL, then no need to add it. Add it with STATIC_URLS, that is the standard practice. regards, Anoop atm ___ Life is short, Live it hard. On 19 July 2011 11:31, NISA BALAKRISHNAN wrote: > i am new to django

setting up homepage, and naming/organizing apps

2011-07-18 Thread Alex Hall
Hello all, I was on this list a few months ago, but was unable to get a django-friendly web host. I am now helping with a site on Bluehost, which does support django, and I am hoping to be given permission by the guy in charge to use django instead of php for our project. I have been going through