hello, i myself cannot parse this. what is the question?
On Apr 30, 10:16 pm, kandee wrote:
> I just got this new phone, and was trying to download some sound
> affects, from a download Page, but an error page came on and said that
> I needed to go on my django setting file and change it to false
I just got this new phone, and was trying to download some sound
affects, from a download Page, but an error page came on and said that
I needed to go on my django setting file and change it to false so it
can display 500 pages...but I didn't find it anywhere, so I Googled it
amd it brang me here..
Hi Django Users,
I'm trying to use sapnwrfc to comunicate with SAP.
Everything works fine in the python shell. But when i put the same
code on the views.py nothing happens or doesn't wait to finish the
connection?
I'm newbie to django so maybe i'm passing in the wrong way the
variable to the temp
Hi deikna,
you can just start with the tutorial at
http://net.tutsplus.com/tutorials/other/intro-to-django-building-a-to-do-list/where
you can get basic knowledge of django and its most powerful admin
interface as well.
On Thu, Apr 15, 2010 at 9:45 AM, Aman wrote:
> http://docs.djangoproject.co
http://docs.djangoproject.com/en/1.1/intro/tutorial01/#intro-tutorial01
This is definitely the url you need to start with.
On Apr 14, 9:33 am, "bax...@gretschpages.com"
wrote:
> Start with the docs and walk through building the example poll app.
> From there, move on to looking at some of the s
Start with the docs and walk through building the example poll app.
>From there, move on to looking at some of the simple pluggable apps,
and/or grab the "practical django projects" book.
On Apr 14, 6:40 am, deikna wrote:
> Hallo , I want to know where I can get simple application examples
> writ
Hallo , I want to know where I can get simple application examples
written with Django, I just start reading django view weeks ago and
I need your help.thank you bye.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send
On Mar 28, 9:51 am, common_nick wrote:
> Hello, i am new in Django and i wanted to start with some simple app,
> but have problems with customizing admin panel. Below is my setup
>
> http://pastebin.com/gsXqZWfy
>
> I don't know how to make Mailbox to have single unique owner
> (HostingUserProfi
Hello, i am new in Django and i wanted to start with some simple app,
but have problems with customizing admin panel. Below is my setup
http://pastebin.com/gsXqZWfy
I don't know how to make Mailbox to have single unique owner
(HostingUserProfile in this case), but be able to assign multiple
mailb
no i want to use mysql and postgres parallel.
On Thu, Mar 11, 2010 at 10:04 PM, Harsha Reddy wrote:
> And the database that you are using is?
> By chance is it SQLite?
>
> I recently encountered such a requirement.. I am using django checked
> out from the svn repo.
> I solved it by doing someth
And the database that you are using is?
By chance is it SQLite?
I recently encountered such a requirement.. I am using django checked
out from the svn repo.
I solved it by doing something like this...
def result(request):
DATABASES['default']['NAME']='./data/db/scenario1.db'
... b
thanks for ur suggestion jirka
On Thu, Mar 11, 2010 at 3:01 AM, Jirka Vejrazka wrote:
> Hi Silaja,
>
> first, I'm going to guess that no one will be able to solve your
> problem. There are multiple reasons for it:
>
> - Multiple database support is in Django 1.2. You insist on using it
> on Dja
Hi Silaja,
first, I'm going to guess that no one will be able to solve your
problem. There are multiple reasons for it:
- Multiple database support is in Django 1.2. You insist on using it
on Django 1.1, without mentioning why you can't upgrade (the upgrade
would make sense for any reader not
Hi avinash thanks for ur reply.. i want that in Django1.1.1
as specified in this link
http://www.eflorenzano.com/blog/tag/multiple-databases/ i think there is
one way to get multiple db concept in django 1.1.1. but i cont able to get
the right way to do. if u know please reply. thank u.
On Thu,
Hi silaja,
The best place to get a clear idea is to go to
http://www.djangoproject.comand look for its documentation under
multiple databases section.
The support for multiple databases is there only in django's latest version.
In settings.py file
the DATABASES dictionary now has multiple keys wher
hi swawn, thanks for ur reply. i tried in django2.1. but i want that in
Django 1.1.1. i tried as shown in this url.
http://www.eflorenzano.com/blog/tag/multiple-databases/
but i dont want to do like that. i want to seperate tables. i.e some of rows
in some "x" table in one database and some of rows
Go to google.com.
Search for this: multi-database support in django
You will find that the first result is from a page on code.djangoproject.com
which directly discusses this and links to the usage documentation. Note that
this feature is currently in beta, and will be officially released as p
Hi,
i'm silaja, in my django project i want to work with multiple
database. i'm new to django. if any one know about multiple databases
concept please reply me. even u have any links regarding this concept
please reply.
thank you.
--
You received this message because you are subscribed to the Goo
Thank you Shawn.
On Wed, Feb 24, 2010 at 11:58 PM, Shawn Milochik wrote:
> Multi-DB support doesn't exist in 1.1 -- only 1.2 (still in beta).
>
> The "managed" attribute in the Meta tells Django whether it should handle
> the model with its ORM. The default is True. If it's True, Django will mak
Multi-DB support doesn't exist in 1.1 -- only 1.2 (still in beta).
The "managed" attribute in the Meta tells Django whether it should handle the
model with its ORM. The default is True. If it's True, Django will make a
database table for that model. If not, Django's ORM won't do anything to the
Hi all,
I'm using the multidb concept in django1.1. i studied some documentation and
i tried and its working fine. but i have some doubts in that.
class MyModel1(models.Model):
class Meta:
managed = False
db_table = 'table1'
objects = ExtDBManager(altconnection1)
...
class
Thanks for your reply Oliver, Your reply really helpful to me.
On Wed, Feb 24, 2010 at 1:14 PM, Oliver Beattie wrote:
> I'm not entirely sure why you'd want to do this, but I'm sure you have
> your reasons. Probably the best way would be to write your own
> serializer, which subclasses Django's
I'm not entirely sure why you'd want to do this, but I'm sure you have
your reasons. Probably the best way would be to write your own
serializer, which subclasses Django's XML serializer (in
django.core.serializers.xml_serializer), and overrides the
start_serialization and end_serialization methods
Hi all,
I want to convert the model object to xml data. i used the django
serialization for that. then i'm getting the xml data as shown in bellow.
But my aim to remove the "" tag or replacing
that tag by other name. is there is any way to achieve that one. If anybody
know please help me.
Thanks Thanos, that answered my question! Btw, which plan do you have
your site on? I was going to suggest a Shared 4 with extra RAM.
On Feb 16, 1:17 pm, thanos wrote:
> I would use Django's current behavior. This defaults to using 64K
> chunks when a file is bigger that FILE_UPLOAD_MAX_MEMORY_S
I would use Django's current behavior. This defaults to using 64K
chunks when a file is bigger that FILE_UPLOAD_MAX_MEMORY_SIZE.
Since 64k chunks should be small enough for Webfaction. You just need
to set FILE_UPLOAD_MAX_MEMORY_SIZE in the settings.py to something
low such as 102500 (100K).
I
Hi Michael,
I'm familiar with using with. The documentation states that it's
usually easiest to use chunks of a file to prevent memory over use. My
client's site needs to run in a shared environment at WebFaction, so
I'm just trying to limit memory use on these file uploads as much as
possible.
S
I'm wondering where you got the idea that your custom handler is a function
that goes into your view. From what I'm reading
(http://docs.djangoproject.com/en/dev/topics/http/file-uploads/#upload-handlers)
it looks like a custom handler needs to be a class that implements at least
receive_data_c
Hi Everyone,
I'm confused about creating a custom upload handler and how it ties
into my model. From the docs, this is an example of a custom upload
handler, which I'm assuming goes in my view, or is accessed from my
view:
def handle_uploaded_file(f):
destination = open('some/file/name.txt',
It's probably a little more complex than that. When you want to display
the current DB value in a form for editing, you're going to have to turn
it back into a list.
If I recall correctly, there is a field on djangosnippets that implements
storing a multi-select as comma separated values. I don'
This must be a fairly common need so I'd love some help figuring out
why I've made it so complicated.
I've got a CharField "days_available" with choices set to a tuple of
weekdays (e.g. Monday, Tuesday, etc.).
In my form I am representing this field as a forms.MultipleChoiceField
so that multiple
On do, 2010-02-11 at 03:36 -0800, roomy wrote:
> Hi... I was wondering if someone could tell me how can I represent
> this mysql statement in django . "order by first_name='Yash',
> first_name"
http://docs.djangoproject.com/en/dev/ref/models/querysets/#extra-select-none-where-none-params-none-
Hi... I was wondering if someone could tell me how can I represent
this mysql statement in django . "order by first_name='Yash',
first_name"
--
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...@go
I have been developing a Django web application using the development
root. It had been a while since I updated and, when I recently did (to
version 1.2 alpha 1 SVN-12271) it was clear something fairly basic had
gone awry. My application works fine under Version 1.1.1, but with the
development root
In case anyone else runs across this, the answer appears to be:
disable csrf protection while testing.
On Jan 8, 7:04 pm, Skylar Saveland wrote:
> I wondering what I'm doing wrong here. These views work as expected
> with a browser. I was looking to improve my test coverage.
>
> >>> c = Client(
I wondering what I'm doing wrong here. These views work as expected
with a browser. I was looking to improve my test coverage.
>>> c = Client()
>>> get_response = c.get( reverse('create', kwargs={'typ':'residential'}) )
>>> get_response.status_code
200
>>> post_response = c.post( reverse('create
The difference between the PDF and JPG is that the JPG has to be an 'img' tag
and the PDF has to be an 'href' tag.
So instead of:
Try:
Download Important Stuff
Shawn
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
I know this is VERY basic, but I am NOT a programmer or web designer -
I am just trying to maintain and update the site.
I am having a problem inserting/editing a pdf to the site. It's a
basic pdf, no report generation, etc. I am trying to insert the pdf to
a flat page in the:
General
Image/URL
Thanks Daniel
Yes, it was multiple keys not just 'department'.
Will have a go and do some more reading on lambda.
cheers
-sam
On Thu, Dec 17, 2009 at 8:38 PM, Daniel Roseman wrote:
> On Dec 17, 6:23 am, Sam Walters wrote:
>> Hi I have been reading stuff like:
>>
>> http://wiki.python.org/moin/
On Dec 17, 6:23 am, Sam Walters wrote:
> Hi I have been reading stuff like:
>
> http://wiki.python.org/moin/SortingListsOfDictionaries
>
> I want to sort a list of dictionaries (alphanumeric values) by
> multiple keys (achieved with code below). However I would like to
> customise the comparator t
Hi I have been reading stuff like:
http://wiki.python.org/moin/SortingListsOfDictionaries
I want to sort a list of dictionaries (alphanumeric values) by
multiple keys (achieved with code below). However I would like to
customise the comparator to put empty objects last.
eg:
def orderBasedOnDepa
Thanks for you answer. i resolve my problem with callback. I put the second
load in the first loaf callback function, and works OK.
2009/12/4 Daniel Roseman
> On Dec 4, 9:52 am, NMarcu wrote:
> > Hello all,
> >
> > I have a strange problem with jquery load. I have this two loads
> > on a cl
On Dec 4, 9:52 am, NMarcu wrote:
> Hello all,
>
> I have a strange problem with jquery load. I have this two loads
> on a click event:
>
> action='first';
> $( '#operators_list_div' ).html( ' ' ).load( '{% url
> add_save_view %}',{'action':action, });
> action='second';
> $( '#address_list' ).
I put some alerts, before first load, before second load, and in every
template. Them are fired like this:
First the alert before first load
Second the alert before second load(strange, I was expected to fire
the alert from the first template)
Third the alert form the second template
Forth the aler
Hello all,
I have a strange problem with jquery load. I have this two loads
on a click event:
action='first';
$( '#operators_list_div' ).html( ' ' ).load( '{% url
add_save_view %}',{'action':action, });
action='second';
$( '#address_list' ).html( ' ' ).load( '{% url add_save_view %}',
{'actio
On 13 Lis, 20:58, Info Cascade wrote:
> art_list = Article.objects.filter(status__status='PUBLISHED',
> QExtra(where=['title_tsv @@ plainto_tsquery(%s)'],
> params=[term])) |
> Q(tags__name__icontains=term)).distinct()
I'm not aware of any QExtra-like function
Hi --
I need help with a query!
Currently using .extra to do full text query on the article.title field.
art_list = Article.objects.filter(status__status='PUBLISHED')
art_list = art_list.extra(
where=['title_tsv @@ plainto_tsquery(%s)'],
params=[term])
That works great
Hello,
I am pretty new to django and python and stuck with admin interface
functionality.
I have a model which represents a product, and I want to have
functionality to add product via admin interface with picture and
later to have possibility to update it using the same admin
interface.
The pr
I would still raise the warning of caution, that certain external
Python libraries do not have 64-bit versions, like PIL. I tried the
whole 64-bit Python thing, and I just couldn't do it because of some
library dependancies.
I also use a setup like yours on Windows 7, except with MySQL, and a
32
Turns out the problem was with PostgreSQL. The prior installation was
running 8.3 (not 8.4 as noted). The new installation was using 8.4.
Dropping back to 8.3 on the new installation corrected the issue for
me. I'm sure there are migration issues to consider moving from 8.3
to 8.4, but I'll lea
Hello, All,
I am trying to migrate my application from Python 2.5, Dango 1.0,
PostgreSQL 8.4, Windows XP (32-bit) to Python 2.6, Django 1.1,
PostgreSQL 8.4, Windows 7 (64-bit). I have donwloaded and installed
the 64-bit version of Python 2.6.
I am having a problem with a particular model under
On Oct 14, 10:42 am, Kenneth Gonsalves wrote:
> On Wednesday 14 Oct 2009 3:08:00 pm robin nanola wrote:
>
> > try reading this
> >http://www.cotellese.net/2007/12/11/adding-model-field-validation-to-...
> >ango-admin-page/
>
> I do not think validators exist in django now - that blog post was don
On 14 Oct 02:34, danin wrote:
>
> hi guys,
> I am new to Django (started 2 weeks back). right now i am
> designing one application having model-
> class info(models.Model):
>name=models.CharField(max_length=100)
>dob=models.DateField()
>dod=models.DateField()
>
On Wednesday 14 Oct 2009 3:08:00 pm robin nanola wrote:
> try reading this
> http://www.cotellese.net/2007/12/11/adding-model-field-validation-to-the-dj
>ango-admin-page/
I do not think validators exist in django now - that blog post was done in
2007.
--
regards
kg
http://lawgon.livejournal.com
On Wednesday 14 Oct 2009 3:04:10 pm danin wrote:
> I am new to Django (started 2 weeks back). right now i am
> designing one application having model-
> class info(models.Model):
>name=models.CharField(max_length=100)
>dob=models.DateField()
>dod=models.DateField()
>
try reading this
http://www.cotellese.net/2007/12/11/adding-model-field-validation-to-the-django-admin-page/
On Wed, Oct 14, 2009 at 5:34 PM, danin wrote:
>
> hi guys,
>I am new to Django (started 2 weeks back). right now i am
> designing one application having model-
> class info(models.Mo
hi guys,
I am new to Django (started 2 weeks back). right now i am
designing one application having model-
class info(models.Model):
name=models.CharField(max_length=100)
dob=models.DateField()
dod=models.DateField()
address=models.CharField(max_length=250)
Thanks Jim. I'll give this a shot.
On Sep 25, 8:24 pm, Jim McGaw wrote:
> What you might be asking for is the following syntax, that allows you
> to perform queries against the data in more than one table:
>
> CurrentRanking.objects.filter
> (school__schoolseason__league__league_name="League Na
Derek,
I actually had done my model the way you suggested, but changed my
mind. I guess I should listen to my first instinct!
Thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post t
Jim's right, but I'd also suggest redoing your CurrentRanking model so
it has just one foreign key, to SchoolSeason (since that in turn has
fk's to the School model):
class League(models.Model):
league_name = models.CharField(max_length=100)
class School(models.Model):
school_name = mode
What you might be asking for is the following syntax, that allows you
to perform queries against the data in more than one table:
CurrentRanking.objects.filter
(school__schoolseason__league__league_name="League Name").order_by('-
rating')
Those are double underscores between the model names and
Oops. I should have said my current view returns a list of rankings
(school_name, rating) rather than all schools.
On Sep 25, 7:59 pm, jeffself wrote:
> I've got the following models:
>
> class League(models.Model):
> league_name = models.CharField(max_length=100)
>
> class School(models.Mod
I've got the following models:
class League(models.Model):
league_name = models.CharField(max_length=100)
class School(models.Model):
school_name = models.CharField(max_length=100)
class SchoolSeason(models.Model):
season = models.IntegerField()
school = models.ForeignKey(School
Hi django-users
I try to figure out how to upload files using django.
I have two models which are involved here:
Post, which has a user and content.
Attachment, which has a filefield (attachment), a user and a FK to Post.
This is how it should work:
Step 1:
The form is displayed with
that doesnt work here because im first looping trough every project in
the given topic and of couse more projects have the same technology and
it shows up multiple times.
i guess i have to filter that in the view...
mrts wrote:
>
> On Sep 17, 1:04 pm, andreas schmid wrote:
>
>> hi,
>>
>> i h
On Sep 17, 1:04 pm, andreas schmid wrote:
> hi,
>
> i have 3 models topic, project, technology. a topic contains projects
> and projects have technolgies.
> the 3 models are related to each other by foreignkeys in the project model.
>
> in the topic detail view i need to have the projects withi
hi,
i have 3 models topic, project, technology. a topic contains projects
and projects have technolgies.
the 3 models are related to each other by foreignkeys in the project model.
in the topic detail view i need to have the projects within the given
topic which works with a wrapper around the o
Hi,
We need help to do a small Django project, it might take 5-10 hours.
If anyone interested in it, please email me: happyra...@yahoo.com.
Please provide your charge rate, by hour or by project. When will you
have time and your experience in Django.
Thanks
2009/9/2 Kenneth Gonsalves :
>
> On Tuesday 01 Sep 2009 10:55:18 pm mrsource wrote:
>> - It has many tools for safety, with a normal opensource CMS you have
>> many more issues with security holes because all the code is public.
>
> this is sheer FUD to say that 'many more issues with security hol
On Tuesday 01 September 2009 10:25:18 am mrsource wrote:
> Two points:
> - Django has good performance and scales well.
> - It has many tools for safety, with a normal opensource CMS you have
> many more issues with security holes because all the code is public.
>
Isn't django's code public, why w
On Tuesday 01 Sep 2009 10:55:18 pm mrsource wrote:
> - It has many tools for safety, with a normal opensource CMS you have
> many more issues with security holes because all the code is public.
this is sheer FUD to say that 'many more issues with security holes because
all the code is public.' O
> I work as a web developer at a reasonably large company in London. We
> are just about to completely re brand and rebuild the companies website
> (s) and implement a CMS. I'm having a meeting tomorrow to discuss
> different avenues we can go down in regards to what technologies we
> can use. I
Two points:
- Django has good performance and scales well.
- It has many tools for safety, with a normal opensource CMS you have
many more issues with security holes because all the code is public.
On 1 Set, 18:52, "Rob B (uk)" wrote:
> I work as a web developer at a reasonably large company in
I work as a web developer at a reasonably large company in London. We
are just about to completely re brand and rebuild the companies website
(s) and implement a CMS. I'm having a meeting tomorrow to discuss
different avenues we can go down in regards to what technologies we
can use. I'm hoping
Thank you, I have "solved" this with a custom Form method, that's not
very clean, but I works so far.
Chris
On 29 Aug., 20:23, Matthias Kestenholz
wrote:
> On Sat, Aug 29, 2009 at 7:51 PM,
>
> ckar...@googlemail.com wrote:
>
> > Really no ideas?
>
> > Chris
>
> Is there any way you could define
On Sat, Aug 29, 2009 at 7:51 PM,
ckar...@googlemail.com wrote:
>
> Really no ideas?
>
> Chris
>
Is there any way you could define a stable ordering for the
SinglePoint model? You could ensure that the "smaller" SinglePoint
gets stored in p1 and the "bigger" SinglePoint in p2 in a custom save
meth
Really no ideas?
Chris
On 25 Aug., 21:25, "ckar...@googlemail.com"
wrote:
> Hi,
>
> first, my models:
>
> class Connection(models.Model):
> p1 = models.ForeignKey(SinglePoint, related_name='p1_set',
> help_text="Punkt 1")
> p2 = models.ForeignKey(SinglePoint, related_name='p2_set',
> he
Hi,
first, my models:
class Connection(models.Model):
p1 = models.ForeignKey(SinglePoint, related_name='p1_set',
help_text="Punkt 1")
p2 = models.ForeignKey(SinglePoint, related_name='p2_set',
help_text="Punkt 2")
...
class Meta:
unique_together = (('p1', 'p2'),('p2','p1'
I figured it out:
#MEDIA_URL = 'http://localhost:8000/testproject/site_media/'
MEDIA_URL = '/site_media/'
On Aug 22, 8:57 am, robinne wrote:
> I'm new to Django and I cannot seem to get all the settings correct to
> allow me to view images in the development environment. Here is what I
> know
I'm new to Django and I cannot seem to get all the settings correct to
allow me to view images in the development environment. Here is what I
know (I'm developing on Vista):
For internal server to serve images, you have to configure django
settings, so here is what I've done.
[My actual path to i
On Aug 13, 12:06 am, cerberos wrote:
> On Aug 12, 11:52 pm, Alex Gaynor wrote:
>
>
>
> > On Wed, Aug 12, 2009 at 11:49 AM, cerberos wrote:
>
> > > Say there are 10 records, I want records 3 & 4 in descending order.
>
> > > q1 = ModelName.objects.order_by('id').filter(id__gte=3)[:2] # gives
> > >
On Aug 12, 11:52 pm, Alex Gaynor wrote:
> On Wed, Aug 12, 2009 at 11:49 AM, cerberos wrote:
>
> > Say there are 10 records, I want records 3 & 4 in descending order.
>
> > q1 = ModelName.objects.order_by('id').filter(id__gte=3)[:2] # gives
> > the records I want but in ascending order
> > q2 = Mo
On Wed, Aug 12, 2009 at 11:49 AM, cerberos wrote:
>
> Say there are 10 records, I want records 3 & 4 in descending order.
>
> q1 = ModelName.objects.order_by('id').filter(id__gte=3)[:2] # gives
> the records I want but in ascending order
> q2 = ModelName.objects.order_by('-id').filter(id__gte=3)[:
Say there are 10 records, I want records 3 & 4 in descending order.
q1 = ModelName.objects.order_by('id').filter(id__gte=3)[:2] # gives
the records I want but in ascending order
q2 = ModelName.objects.order_by('-id').filter(id__gte=3)[:2] # gives
the last 2 records (9 & 10) in correct order
q3 =
Here is the solution. There is no need in Many-to-many here.
In people table I've set corp's unique number as a ForeignKey to
Corp's table.
In a template:
{% for i in result %}
{% for persons in i.dolgnost_set.all %}
{{ person.field1 }}
where Dolgnost - a table with people.
--~--~-
> label_from_instance was added after that version. For now the only
> thing you can do is to define __unicode__ on the Upload model, and
> that will provide the value that is displayed.
> --
> DR.
worked like a charm Daniel... thanks again!
--~--~-~--~~~---~--~~
Y
On Fri, Aug 7, 2009 at 2:57 PM, Daniel Roseman wrote:
>
> On Aug 7, 7:33 pm, Bobby Roberts wrote:
> > hi. does anyone have any ideas why this is not working... we are
> > using django 0.96 on this particular server.
>
> label_from_instance was added after that version. For now the only
> thing y
On Aug 7, 7:33 pm, Bobby Roberts wrote:
> hi. does anyone have any ideas why this is not working... we are
> using django 0.96 on this particular server.
label_from_instance was added after that version. For now the only
thing you can do is to define __unicode__ on the Upload model, and
that wi
hi. does anyone have any ideas why this is not working... we are
using django 0.96 on this particular server.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
ok here's my form:
class ParseFileChoiceField (forms.ModelChoiceField):
def label_from_instance (self,obj):
return obj.ProcessFile
class FrmParser (forms.Form):
parsefile = ParseFileChoiceField(queryset=Upload.objects.filter
(numrecs__exact=0),empty_label='Choose',required=True,w
On Tue, 2009-08-04 at 14:40 -0700, Unnamed_Hero wrote:
>
> > And you still haven't reduced it to a simple case that fails with a
> > specific piece of data at the interactive prompt. You are trying to
> > debug through three layers of curtains here. Why not remove the extra
> > layers and work di
> And you still haven't reduced it to a simple case that fails with a
> specific piece of data at the interactive prompt. You are trying to
> debug through three layers of curtains here. Why not remove the extra
> layers and work directly with the ORM to debug an ORM problem, as I
> suggested in
On Mon, 2009-08-03 at 08:27 -0700, Unnamed_Hero wrote:
[...]
> And I still get
> Caught an exception while rendering:relation "C12B_boss" doesn't
> exist
And you still haven't reduced it to a simple case that fails with a
specific piece of data at the interactive prompt. You are trying to
debug
And again for your explanations. So I have changed my models as you
advise.
Also I've made a form from c12b model, and when it displays - I see
all peoples from table with people.
But I still can't fetch any results
Maybe by queryset isn't good.
manage.py sql return this:
people table:
CREAT
On Mon, 2009-08-03 at 03:19 -0700, Unnamed_Hero wrote:
> Thanks for your reply.
>
> And the point is that (forgot to say)... the boss field in c12b table
> doesn't exists, it is virtual and exists only in my model.
When you add a ManyToManyField to a Django model, it doesn't create a
column in t
Thanks for your reply.
And the point is that (forgot to say)... the boss field in c12b table
doesn't exists, it is virtual and exists only in my model. I think,
this trick can work for me, but I've got (c12b_boss relation does not
exist). I thought, that if I point it to a real A22 field (unique
On Sun, 2009-08-02 at 14:08 -0700, Unnamed_Hero wrote:
> I have a table with a list of corporations; each corp has a field with
> it unique number.
> There is a table, filled with people, each record contains a field
> with a corp's unique field (where each person works)
>
> Task: when displaying
I have a table with a list of corporations; each corp has a field with
it unique number.
There is a table, filled with people, each record contains a field
with a corp's unique field (where each person works)
Task: when displaying info about corporation, also fetch info about
people working at.
I had this same problem...the user and pass were fine but no users
could authenticate on any DB, regardless of settings.
Turns out my issue was only that I needed to add the string
"localhost" to the host parameter.
It's odd since the comments specifically state to leave it blank for
localhost..
Partial solution: I added the following settings variable:
PythonOption django.root "/directory"
The /directory part is now successfully added to all front-end pages.
However saving models within the admin is broken. When I click save,
the URL it tries to go to (which would be the list view for
801 - 900 of 1151 matches
Mail list logo