Hi
The problem is that the css files are not being rendered in the path
that you mentioned
to try debugging further do a find in your media folder to list the
css files if you dont find them , then you found the problem
Regards
Subramanyam
On Jun 13, 9:11 pm, Jagdeep Singh Malhi
wrote:
> i am
On Jun 14, 10:50 am, Benjamin Webber
wrote:
> Hi Graham, sorry for replying to you so incredibly late, I haven't had
> much time to work on my project.
>
> So the syntax of the WSGIDaemonProcess directive should be,
>
> WSGIDaemonProcess user=username group=groupname threads=15 maximum-
> reques
On Sun, Jun 13, 2010 at 8:22 PM, Sam wrote:
> As it stands, I'm inclined to think this issue is a bug.
>
It sounds like it. Could you open a ticket for it?
Karen
--
http://tracey.org/kmt/
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To p
On Sun, Jun 13, 2010 at 9:06 PM, JRMAbock wrote:
> if i do that i get this error
>
> 'module' object has no attribute 'current_datetime'
>
So the Python interpreter cannot find current_datetime defined in your views
module. The code you showed for it also would have caused Python to report a
ind
it is an optin when that is shown in the command prompt along with
sqlite 3 ad the others. Thank you for clearing that up tho I will look
at sqlite 3
On Jun 13, 10:37 pm, Russell Keith-Magee
wrote:
> On Mon, Jun 14, 2010 at 10:22 AM, JRMAbock wrote:
> > well ive actually tried setting it to djan
I was wondering what would be the best method of trying to dump a
large database.
I am trying to migrate from postgresql to oracle, using django 1.2.1 I
have been unsucessful in using dumpdata.
It gives me a memory error. I saw one post to just try and using dump
data into several fixtures. I tried
Hello,
Are you using MySQL and what is the collation of your database. I am
running 1.2.1 and encountering similar problems.
My issue involves utf8_bin collation on mysql 5.1.41-3ubuntu12.3. The
issue is thus: I create a model with an ImageField and save a new
instance to my utf8_bin collated mys
On Jun 13, 9:56 am, Daniel Hilton wrote:
> On 13 June 2010 06:24, Tyler Andersen wrote:
>
> > I'm trying to figure out how to take two Point objects and determine
> > the distance between them.
>
> > It seems that it is trivial to search the DB (well, provided that I'm
> > not using mySQL, which
On Mon, Jun 14, 2010 at 10:22 AM, JRMAbock wrote:
> well ive actually tried setting it to django.contrib.backends.dummy
> and it says the same thing.
Why did you try to set it to dummy? The comment in the settings file says:
# Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracl
and also, in the code the error message shows up for many different
erros that are told to display the improperly configured message
On Jun 13, 10:22 pm, JRMAbock wrote:
> well ive actually tried setting it to django.contrib.backends.dummy
> and it says the same thing.
>
> On Jun 13, 9:22 pm, raj
well ive actually tried setting it to django.contrib.backends.dummy
and it says the same thing.
On Jun 13, 9:22 pm, raj wrote:
> The problem is obvious, right? Which comment says you to leave the
> ENGINE as blank? set it to the db you want, say, sqlite3.
>
> Rajeesh.
--
You received this messa
The problem is obvious, right? Which comment says you to leave the
ENGINE as blank? set it to the db you want, say, sqlite3.
Rajeesh.
--
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...@googl
when I try to set up my database using the dummy it always gives me an
error saying:
django.core.exceptions.improperlyconfigured: you havent set the
database ENGINE setting yet.
I have followed the tutorial correctley and also left the ENGINE area
blank as the comment said in order to tel the syn
if i do that i get this error
'module' object has no attribute 'current_datetime'
On Jun 13, 8:10 pm, David Escobar wrote:
> Or you may not even need the mysite part of the import:
>
> import views
>
> urlpatterns = patterns('',
> ('^time/$', views.current_datetime),
>
> On Sun, Jun 13, 2010
Hi Graham, sorry for replying to you so incredibly late, I haven't had
much time to work on my project.
So the syntax of the WSGIDaemonProcess directive should be,
WSGIDaemonProcess user=username group=groupname threads=15 maximum-
requests=1
For each individual Django user. But you state in
Or you may not even need the mysite part of the import:
import views
urlpatterns = patterns('',
('^time/$', views.current_datetime),
On Sun, Jun 13, 2010 at 5:06 PM, David Escobar wrote:
> In your urls.py try doing a straight import instead of the from module
> import function version:
>
>
In your urls.py try doing a straight import instead of the from module
import function version:
import mysite.views
urlpatterns = patterns('',
('^time/$', mysite.views.current_datetime),
...doesn't seem like it should make a difference, but it's worth a shot...
On Sun, Jun 13, 2010 at 4:52
Ok, so I was able to fix the caching issue with IE by using $.ajax instead
of $.get and setting the cache option to false.
I was reading something about Firefox blocking all AJAX requests when it
thinks that you're going across different domains - it thinks it's XSS -
cross-site scripting. Apparen
I have enter the code in correctly,
views.py:
from django.http import HttpResponse
import datetime
def current_datetime(request):
now = datetime.datetime.now()
html = "It is now %s." % now
return HttpResponse(html)
urls.py:
from django.conf.urls.defaults import *
from mysite.
Thanks for starting this thread ... just hit this myself porting to
1.2.1 from 1.1.1 ...
On May 18, 4:38 pm, Jori wrote:
> Thanks, you're correct. I don't know how I didn't notice but then
> again it worked just fine with 1.1.1.
>
> -Jori
--
You received this message because you are subscribed
Hello.
I want to change default text input widget in admin for CharField to
text area...
How can I do it?
--
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...@googlegroups.com.
To unsubscribe from thi
On Sun, Jun 13, 2010 at 7:06 PM, Jani Rahkola wrote:
> Hei,
>
> I hope someone could shed some light on this one.
> I have these in their appropriate files:
>
> class ShoppinglistForm(ModelForm):
>
>def __init__(self, user=False, *args, **kwargs):
>ModelForm.__init__(self, *args, **kwa
On Sun, Jun 13, 2010 at 6:18 PM, MichaleHjulskov wrote:
> Hi Karen, I did not know there was a new release, sorry.
>
> So if I just install the new release, it will solve the problem just
> like that?
> Or do I still need to do something, in order to make it work with
> special chars in the filen
Read about python version difference in function overloading domain
-->ModelForm.__init__(self, *args, **kwargs) # this can be different
On Mon, Jun 14, 2010 at 2:06 AM, Jani Rahkola wrote:
> Hei,
>
> I hope someone could shed some light on this one.
> I have these in their appropriate file
Hei,
I hope someone could shed some light on this one.
I have these in their appropriate files:
class ShoppinglistForm(ModelForm):
def __init__(self, user=False, *args, **kwargs):
ModelForm.__init__(self, *args, **kwargs)
self.fields['pantry'].empty_label = None
if us
reload(sys) etc you can put it in start of your settings.py it will reload
python utf-8 support so you will able to use different i had such problem
executing spain/portugal project
import os, sys
reload(sys)
sys.setdefaultencoding( "utf-8" )
On Mon, Jun 14, 2010 at 1:24 AM, Alexander Jeliuc
wro
It also depends on your filesystem i think
On Mon, Jun 14, 2010 at 1:18 AM, MichaleHjulskov wrote:
> Hi Karen, I did not know there was a new release, sorry.
>
> So if I just install the new release, it will solve the problem just
> like that?
> Or do I still need to do something, in order to ma
brilliant, you are correct:
Foreign-key constraints:
"traffic_tracking2010_content_type_id_fkey" FOREIGN KEY
(content_type_id) REFERENCES django_content_type(id) DEFERRABLE
INITIALLY DEFERRED
"traffic_tracking2010_src_content_type_id_fkey" FOREIGN KEY
(src_content_type_id) REFERENCES djan
Hi Alexander
No I havent tried that.
What does it do?
Im a little newbie in python, so its a little tricky for me to
understand. Sorry
Michael
On 13 Jun., 01:39, Alexander Jeliuc wrote:
> did you tried so:
>
> import sys
> reload(sys)
> sys.setdefaultencoding('utf-8')
>
> or something similar?
Hi Karen, I did not know there was a new release, sorry.
So if I just install the new release, it will solve the problem just
like that?
Or do I still need to do something, in order to make it work with
special chars in the filenames?
Thanks :o)
Michael
On 13 Jun., 01:47, Karen Tracey wrote:
On 13 kesä, 12:14, Dave E wrote:
> I have a Django blog app with data in the (SQLite) database and have
> installed South so that I can add a 'modified' date field to the
> 'Entry' model. The field will initially be blank so I need blank=True
> for Django's admin validation.
>
> However, since i
> Can anybody figure out why the IntegrityError doesn't get thrown till
> then ?
> Why didn't Django catch errors thrown in middleware ?
Most likely the foreign keys are defined as "deferrable initially
deferred", meaning that the database doesn't check them before commit.
And this of course mean
In the process of serving a view I am saving a record that an incoming
URL specified a tracking ID.
One of the URLs got mangled by somebody somewhere resulting in it
being decoded as a non-existent user ID.
# I would expect this to throw an integrity error
tracking.save()
but it doesn't
On 13 June 2010 06:24, Tyler Andersen wrote:
> I'm trying to figure out how to take two Point objects and determine
> the distance between them.
>
> It seems that it is trivial to search the DB (well, provided that I'm
> not using mySQL, which I am) to filter by distance, however, that's
> not wha
On Jun 13, 5:17 pm, Aljosa Mohorovic
wrote:
> if i have MyModel with 2 fields (field_1 CharField, field_2
> IntegerField) is it possible to tell admin app to display all items in
> a single edit form?
> instead of having to edit each item i would like to do it in a single
> form/view.
> maybe some
if i have MyModel with 2 fields (field_1 CharField, field_2
IntegerField) is it possible to tell admin app to display all items in
a single edit form?
instead of having to edit each item i would like to do it in a single
form/view.
maybe some combination with formsets?
Aljosa Mohorovic
--
You re
i am use this commands many time , it does not make any effect .
On Jun 13, 12:12 am, Rolando Espinoza La Fuente
wrote:
> On Sat, Jun 12, 2010 at 12:58 PM, Jagdeep Singh Malhi
>
> wrote:
> > Myhttp://localhost/admin/ is display in pattern without grapic or
> > image not like that which is show
ln -s admin/media to /var/ww
On Sun, Jun 13, 2010 at 7:04 PM, Jagdeep Singh Malhi <
singh.malh...@gmail.com> wrote:
>
>
> On Jun 13, 12:12 am, Rolando Espinoza La Fuente
> wrote:
> > On Sat, Jun 12, 2010 at 12:58 PM, Jagdeep Singh Malhi
> >
> > wrote:
> > > Myhttp://localhost/admin/ is display
On Jun 13, 12:12 am, Rolando Espinoza La Fuente
wrote:
> On Sat, Jun 12, 2010 at 12:58 PM, Jagdeep Singh Malhi
>
> wrote:
> > Myhttp://localhost/admin/ is display in pattern without grapic or
> > image not like that which is shown in Tutorial
> >http://docs.djangoproject.com/en/1.2/intro/tuto
Ahhh. Beautiful. That's what I was looking for. That information
was on the same page I was reading. But, I didn't know exactly what I
was looking for. Thanks.
For those who may stumble upon this thread, note there was a typo in
the solution provided. The "IF" should have been db_field.name.
To change the order of a foreign key in the admin and admin only, you
can override the formfield_for_foreignkey method in your ModelAdmin
for AtBat. See the docs at:
http://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.formfield_for_foreignkey
for more details, bu
On Jun 12, 11:12 pm, jerryLee wrote:
> I installed python, I am not sure if I use the IDLE, or the command
> line, then I downloaded Django, and double clicked on install.py,
> another command windows opened and shut real fast, I don't know what
> to do now. When I go to the python command line
This only impacts the order of the records already entered. But, when
adding a new record with the admin interface, one of the fields (a
select box auto generated from line 107 below) is not in the order I
would prefer.
While typing this email, I just figured out how to order it. I needed
to mod
Hello.
I'm using django1.2.1 with i18n and l10n enabled...
standart django admin date format is mm-dd-
when it changes to Spain it becomes dd/mm/
Not problem it is possible to choice date and save it...
But if I want to edit row it becomes like standart mm-dd-...
No problem... but if I
You should do it in admin.py
class MyClassAdmin(admin.ModelAdmin):
ordering = ['-myfield']
On Sun, Jun 13, 2010 at 6:18 AM, darren wrote:
> I'm sure the answer is probably documented clearly somewhere. But, I
> can't find it.
>
> I would like to change the ordering of a field in a form on
I have a Django blog app with data in the (SQLite) database and have
installed South so that I can add a 'modified' date field to the
'Entry' model. The field will initially be blank so I need blank=True
for Django's admin validation.
However, since it will also be empty in the database, do I need
Ubuntu (quickest, easiest way to get started, ignoring various
options):
1. Check if you have Python's setup_tools (http://pypi.python.org/pypi/
setuptools) by typing (it will ask for your root password):
sudo easy_install Django
If that works, it may be all you need to get started. At this stag
I'm trying to figure out how to take two Point objects and determine
the distance between them.
It seems that it is trivial to search the DB (well, provided that I'm
not using mySQL, which I am) to filter by distance, however, that's
not what I'm looking for at the moment.
I have a set of Point o
48 matches
Mail list logo