Re: models wierdness

2006-09-18 Thread Rob Hudson
Thanks for the reply. :) --~--~-~--~~~---~--~~ 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 [EMAIL

Multiple Components on One Page

2006-09-18 Thread [EMAIL PROTECTED]
I am new to Django, and forgive me if this is a question that has already been answered, but I can not seem to find the "official" answer. I will explain what I am trying to figure out with an example. I am building a wiki, I have a number of views which show a wiki page, edit a wiki page, save

Re: Pro Django from Apress

2006-09-18 Thread Waylan Limberg
On 9/18/06, Jeff Rodenburg <[EMAIL PROTECTED]> wrote: > I just read about this new book on Django and am looking forward to checking > it out. Amazon shows its availability at October 30th. > Does anyone know if it might be available earlier than that? > Try searching the list, this question has

static content -- authentication?

2006-09-18 Thread shaunc
I've read in several places about the advisability of serving static content via Apache (or whatever) rather than via django. Is it possible to somehow share an authentication context with Apache (via session coookie??)? We have a bunch of things like PDF reports, etc that can only be downloaded

Re: Pro Django from Apress

2006-09-18 Thread Bryan L. Fordham
> Try searching the list, this question has been asked and answered to > varying degrees a few times before. If memory serves me right, the > authors seem to think that October is overly optimistic and it will > more likely be latter. someone should set up a FAQ page for this 8) -- Bryan L. Fo

Re: static content -- authentication?

2006-09-18 Thread James Bennett
On 9/18/06, shaunc <[EMAIL PROTECTED]> wrote: > We have a bunch of things like PDF reports, etc that can only be > downloaded by properly authenticated users. http://www.djangoproject.com/documentation/apache_auth/ -- "May the forces of evil become confused on the way to your house." -- Geor

Re: Charfield maxlength (bug?)

2006-09-18 Thread Enrico
Thanks guys. Yes, it may be an encoding issue. The HTML form counts 10 chars, no matter what encoding, but on the python side it can exceed the byte count. Ivan, I think it's not a problem on the DB side, I'm using MySQL and AFAIK it just crops the string without any warning. Best regards. Enr

Re: Problem with INSTALLED_APPS setting

2006-09-18 Thread [EMAIL PROTECTED]
Waylan Limberg wrote: > First, you only point to the app, not the models in your app. Second, > you need to start from a place that is on your pythonpath. If liger is > on your pythonpath, then just 'liger' will work, However, it's more > likely that is not the case, so you'll need to do something

Re: Charfield maxlength (bug?)

2006-09-18 Thread Ivan Sagalaev
Enrico wrote: > Ivan, I think it's not a problem on the DB side, I'm using MySQL and > AFAIK it just crops the string without any warning. Then may be I am mistaken... What I'm talking about is that maxlength is validated properly on manipulator level (method TextField.isValidLength in django.f

admin complains when adding a new User

2006-09-18 Thread nara
I must be missing something simple. Just using the admin interface, adding a user, and clicking Save elicits this: Traceback (most recent call last): File "/usr/local/lib/python2.4/site-packages/django/core/servers/basehttp.py", line 272, in run self.result = application(self.environ, sel

Re: admin complains when adding a new User

2006-09-18 Thread Jim Moses
At least you got to admin...;-)I got stuck at logging in...says I'm not set to accept cookies..but I am.If you happened to hit this and know the answer... I'll buy you a beer for it!Jimnara <[EMAIL PROTECTED]> wrote: I must be missing something simple. Just using the admininterface, adding a user,

Generalized questions as forms and user response handling?

2006-09-18 Thread Rob Hudson
Hi fellow Django users, I'm coming up on a phase of a project where I need to do a lot of work with Forms and Manipulators. I've got some historical bits of old CMS ideas that I'm trying to work with. I wanted to ask Django-users if this approach seems reasonable, or if another approach woul

Spam Attack. GAH!

2006-09-18 Thread Tyson Tate
Hey fellow Djangoers- My site is currently being attacked by an awful spam bot and I'm quickly trying to implement Akismet spam filtering. I'm using Django 0.95 and am using the following code for Akismet: http://www.b-list.org/weblog/2006/07/16/django-tips-hacking-freecomment I followed Ja

Problem loading a js file

2006-09-18 Thread Luis Gustavo
I am trying to use the calender code I found in http://www.dynarch.com/projects/calendar/ in my form template, with a generic view. I have copied the script files to many places in my project and tried different configurations in settings, but I always get the same error, Calendar is not defined.

Re: Problem loading a js file

2006-09-18 Thread Malcolm Tredinnick
On Mon, 2006-09-18 at 18:32 -0300, Luis Gustavo wrote: > I am trying to use the calender code I found in > http://www.dynarch.com/projects/calendar/ > in my form template, with a generic view. I have copied the script > files to many places in my project and tried different configurations > in se

Download counter?

2006-09-18 Thread frank
This will probably show my incredible lack of understanding regarding web servers vs. django once more, but... Is there a reasonably simple and transparent (to the user) way of counting downloads? Sure, I could create a download button for each item, but that would be an extra step for the user.

Re: Strange Error when 404 or 500 error

2006-09-18 Thread Gary Wilson
[EMAIL PROTECTED] wrote: > File "/usr/lib/python2.4/site-packages/django/views/debug.py", line > 144, in technical_404_response > t = Template(TECHNICAL_404_TEMPLATE, name='Technical 404 template') > > TypeError: __init__() got an unexpected keyword argument 'name' > <---

Re: How to save parents and multiple children with single form?

2006-09-18 Thread Sean Schertell
Anyone? Please? My project is stalled until I learn how to do this and it's no where in the docs. I'm dead in the water until someone takes pity on me and explains how to do this. > Let's say I have a form called add-new-group.html that looks like > this: > > Group Name: __

Re: How to save parents and multiple children with single form?

2006-09-18 Thread Malcolm Tredinnick
On Tue, 2006-09-19 at 09:04 +0900, Sean Schertell wrote: > Anyone? Please? My project is stalled until I learn how to do this > and it's no where in the docs. I'm dead in the water until someone > takes pity on me and explains how to do this. It's only been 12 hours since your first post; som

Unable to login to admin interface

2006-09-18 Thread mauiblu
I get a message saying my browser isn't configured to accept cookies..but it is. --~--~-~--~~~---~--~~ 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.c

Re: login error admin interface

2006-09-18 Thread mauiblu
Yes..it is..but thanks. It's Firefox 1.5 and cookies are set to be allowed. Jim --~--~-~--~~~---~--~~ 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: Problem with INSTALLED_APPS setting

2006-09-18 Thread Waylan Limberg
On 9/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Waylan Limberg wrote: > > First, you only point to the app, not the models in your app. Second, > > you need to start from a place that is on your pythonpath. If liger is > > on your pythonpath, then just 'liger' will work, However, it's

Non-unicode strings.

2006-09-18 Thread Pupeno
Hello, I am using Django 0.95 and SimpleTAL for templating. SimpleTAL expects all the strings, it seems, to be unicode (something sane from my point of view). It seems that some data from PostgreSQL extracted using Django classes is not in Unicode and triggers this error: Request Method: GET

a conflict between django and php4

2006-09-18 Thread zhongke chen
i'm using django with apache2. if i disable php4 module of apache2(using a2dismod php4), my django application runs well. if i enable php4 module and log a user in, my django application gives the following error message: Mod_python error: "PythonHandler django.core.handlers.modpython" Traceback

Re: Non-unicode strings.

2006-09-18 Thread Malcolm Tredinnick
On Tue, 2006-09-19 at 02:27 +, Pupeno wrote: > Hello, > I am using Django 0.95 and SimpleTAL for templating. SimpleTAL expects all > the > strings, it seems, to be unicode (something sane from my point of view). It > seems that some data from PostgreSQL extracted using Django classes is not

Re: a conflict between django and php4

2006-09-18 Thread Bryan Murdock
On 9/18/06, zhongke chen <[EMAIL PROTECTED]> wrote: > > i'm using django with apache2. if i disable php4 module of > apache2(using a2dismod php4), my django application runs well. if i > enable php4 module and log a user in, my django application gives the > following error message: > > Mod_python

Re: a conflict between django and php4

2006-09-18 Thread zhongke chen
Not the same problem. if i enable php4, and i do not log in under django, my django app works too. if i log in, error occurs. On 9/19/06, Bryan Murdock <[EMAIL PROTECTED]> wrote: > > On 9/18/06, zhongke chen <[EMAIL PROTECTED]> wrote: > > > > i'm using django with apache2. if i disable php4 modu

Re: a conflict between django and php4

2006-09-18 Thread Malcolm Tredinnick
On Tue, 2006-09-19 at 12:52 +0800, zhongke chen wrote: > Not the same problem. > > if i enable php4, and i do not log in under django, my django app > works too. if i log in, error occurs. Could it possibly be a repeat of this problem: http://groups.google.com/group/django-users/browse_frm/thre

Re: a conflict between django and php4

2006-09-18 Thread zhongke chen
Thanks! i solve this by removing libmhash package. but it's only a workaround solution. i expect to see a perfect one. On 9/19/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > On Tue, 2006-09-19 at 12:52 +0800, zhongke chen wrote: > > Not the same problem. > > > > if i enable php4, and i do

Re: Download counter?

2006-09-18 Thread Nikolaus Schlemm
hi, Am Dienstag, 19. September 2006 01:41 schrieb frank: > This will probably show my incredible lack of understanding regarding > web > servers vs. django once more, but... > > Is there a reasonably simple and transparent (to the user) way of > counting downloads? Sure, I could create a downloa

Re: a conflict between django and php4

2006-09-18 Thread Nikolaus Schlemm
hi, Am Dienstag, 19. September 2006 07:28 schrieb zhongke chen: > Thanks! i solve this by removing libmhash package. but it's only a > workaround solution. i expect to see a perfect one. unfortunately, the problem seems to be somewhere within modpython which somehow doesn't use the md5-module t

Re: Download counter?

2006-09-18 Thread spacedman
frank wrote: > Sure, I could create a download button for each > item, but that would be an extra step for the user. 'It would be nice' > if that weren't necessary. > BTW the downloads are static files, served by Apache. That extra > button > is looking more and more likely... At some point

Re: Download counter?

2006-09-18 Thread Malcolm Tredinnick
On Tue, 2006-09-19 at 06:04 +, spacedman wrote: > > frank wrote: > > Sure, I could create a download button for each > > item, but that would be an extra step for the user. 'It would be nice' > > if that weren't necessary. > > BTW the downloads are static files, served by Apache. That extr

Re: Portlet like features

2006-09-18 Thread [EMAIL PROTECTED]
Well - yes but most MVC type applications have a dispatcher like architecture where the request is caught by a single resource which then locates the controller to handle the request. Anyways, I think I got most of it to work (using my sparse python knowledge :-) ) but each time I tried to read fr

Re: static content -- authentication?

2006-09-18 Thread shaunc
Wonderful, James -- I had overlooked the existence of this. Small feature enhancement might be to mention it in doc in other places where static content is being talked about. - Shaun --~--~-~--~~~---~--~~ You received this message because you are subscribed to

How to make django use psycopg2 as the default engine?

2006-09-18 Thread 叮叮当当
i use postgres database and i installed psycopg2 engine, but it seems the django use psycopg as the default engine , how to change psycopg2 as the engine? thx. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Djang

Re: Newbie - How do I perform custom sql queries?

2006-09-18 Thread Jakub Krajniak
bmeredyk wrote: > I'm just starting out with django and need some help with how to > perform custom queries. The query I want to do is basically this: > > SELECT num_volunteers, num_boxes, (num_boxes * 216) as meals, > (num_boxes/num_volunteers) as box_per_person FROM shifts WHERE site = > %s AND

Re: [FastCGI] - I don't have permission....

2006-09-18 Thread viestards
> Forbidden > "You don't have permission to access / on this server." for me problem was in RewriteRule ^/(.*)$ /mysite.fcgi/$1 [QSA,L] i changed to RewriteRule ^(.*)$ mysite.fcgi/$1 [L] and it worked --~--~-~--~~~---~--~~ You received this message because you ar

Portlet like features

2006-09-18 Thread [EMAIL PROTECTED]
I am a happy but rather newbie user of django but one thing seems to rattle my chain :-). I've created a base template which includes several blocks which are overridden/inserted in the specific pages, but if the template is to use any context parameters I have to set these in ALL controller metho

Re: Portlet like features

2006-09-18 Thread patrickk
I think you could do that (or something similar) with using template- tags. we´re having a sidebar on one of our django-sites where the user is able to select the content (and position) she wants. since we don´t know what´s going to be loaded when calling the view, we have to use template-t

Re: cleanup (X)HTML-code

2006-09-18 Thread patrickk
thanks malcolm, jay. your suggestions are very helpful. patrick Am 17.09.2006 um 19:15 schrieb Jay Parlar: > > On 9/17/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: >> Is your input guaranteed to be well-formed XHTML? If so, ElementTree >> (http://effbot.org/zone/element-index.htm ) will be

Re: Charfield maxlength (bug?)

2006-09-18 Thread Ivan Sagalaev
Malcolm Tredinnick wrote: > If I had to guess, I would say this has to do with encoding. When the > form is submitted back to the web server, the content will be encoded > as, say, UTF-8. The length of your input string as bytes is longer than > 10 (since each of those characters is 2 bytes in UT

custom QerySet

2006-09-18 Thread skink
hi, Is there a way to create custom QuerySet returning some "COUNT(*)" on some "GROUP BY" group? I really need QuerySet since I need this for django.views.generic.list_detail.object_list. thanks, skink --~--~-~--~~~---~--~~ You received this message because you

Re: custom QerySet

2006-09-18 Thread Malcolm Tredinnick
On Mon, 2006-09-18 at 02:58 -0700, skink wrote: > hi, > > Is there a way to create custom QuerySet returning some "COUNT(*)" on > some "GROUP BY" group? Not very easily at the moment, no. You would need to look at creating a subclass of QuerySet and overriding the _get_sql_clause() method to add

Handling 404

2006-09-18 Thread Filipe
I don't know much about error handling in django. I tried raising a 404 in one of my views and disable the debug mode in the settings, to see how the default 404 page looks like, but instead I got the following traceback: Traceback (most recent call last): File "/usr/lib/python2.4/site-package

efficient fastcgi

2006-09-18 Thread richard
I'd be grateful for some advice on efficiently combining lighttpd, fastcgi and django. I have this working after working through the suggestions on the django site, but am unsure whether the result is actually very efficient, nor how to optimise. All three (and mysql) are running on the same box (

Re: custom QerySet

2006-09-18 Thread skink
Malcolm Tredinnick wrote: > Not very easily at the moment, no. You would need to look at creating a > subclass of QuerySet and overriding the _get_sql_clause() method to add > in a GROUP BY clause. So it's not impossible, just inelegant (a lot of > code duplication involved). > > You can't even f

How to save parents and multiple children with single form?

2006-09-18 Thread Sean Schertell
Let's say I have a form called add-new-group.html that looks like this: Group Name: __ Member 1 --> Name:___ Age: Member 2 --> Name:___ Age: Member 3 --> Name:___ Age: So when the form is saved, it needs to save the new group to the

Re: PATCH unique_together validation

2006-09-18 Thread libraM
Sadly not so easy solution... :( The patch breaks *blank* ForeignKey fields used in unique_together (see coments on #2019). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this grou

Re: template and special character problem

2006-09-18 Thread Phil
Hi Jorge, I tried what you suggested (replace my meta http-equiv by your version) and it does no good )c: I also checked my settings.py and there is no DEFAULT_CHARSET nor DEFAULT_CONTENT_TYPE, so they are defaulted to uft-8 and text/html. Thanks for the suggestion, though. Jorge Gajon wrote:

base template and URLs in it

2006-09-18 Thread skink
hi, Lets say i want to have base template with some header with site navigation links. Because this base tamplate is inherited by any other templates (associated with diffrent URLs within URL tree), i need to use in it direct (not relative) URLs. (e.g. /apps/app1/url1, /apps/app1/url2) It has so

Re: Portlet like features

2006-09-18 Thread [EMAIL PROTECTED]
But that strikes me as a bad design. Normally in MVC apps you have your controller to fetch all data before forwarded to the view. By doing it the way I (tried to) explain you are able to use your portlet in whatever context and by using template inheritance you can make all portlet appear the bas

Re: Portlet like features

2006-09-18 Thread patrickk
you´re right. I`m happy if it works the way you explained. unfortunately, I don´t think it does. similar discussion: http://groups.google.com/group/django-users/ browse_frm/thread/f6aa4c6108fd557e/ patrick Am 18.09.2006 um 15:56 schrieb [EMAIL PROTECTED]: > > But that strikes me as a bad de

custom validator in a model, not a manipulator

2006-09-18 Thread patrickk
is it possible to define a custom validator in a model? if yes, how? so far, I´ve used custom validators only with custom manipulators and that works fine. thanks, patrick --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

Re: custom validator in a model, not a manipulator

2006-09-18 Thread James Bennett
On 9/18/06, patrickk <[EMAIL PROTECTED]> wrote: > is it possible to define a custom validator in a model? if yes, how? > so far, I´ve used custom validators only with custom manipulators and > that works fine. Any callable that could be used as a validator in a manipulator can also be passed in

Re: Re: Portlet like features

2006-09-18 Thread James Bennett
On 9/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > But that strikes me as a bad design. Normally in MVC > apps you have your controller to fetch all data before forwarded > to the view. Keep in mind that Django is not strictly MVC -- the closest thing we have to a "controller" is the URL

Re: custom validator in a model, not a manipulator

2006-09-18 Thread patrickk
sorry, but I still don´t get it: why is this not working? content = models.TextField(_('content'), validator_list=[self.goodHTML]) def goodHTML(self, field_data, all_data): ... thanks, patrick Am 18.09.2006 um 16:31 schrieb James Bennett: > > On 9/18/06, patrickk <[EMAIL PROTECTED]>

Re: Re: custom validator in a model, not a manipulator

2006-09-18 Thread James Bennett
On 9/18/06, patrickk <[EMAIL PROTECTED]> wrote: > def goodHTML(self, field_data, all_data): Where is this defined? Is it inside the model, or somewhere else in the file? Does this cause an error? If so, can you paste the traceback somewhere? -- "May the forces of evil become confused on the way

Re: custom validator in a model, not a manipulator

2006-09-18 Thread patrickk
File "/var/www/vhosts/mydomain.at/django_src/django/contrib/flatpages/models.py", line 10, in FlatPage content = models.TextField(_('content'), validator_list=[self.eatMe]) NameError: name 'self' is not defined it´s defined inside the model. --~--~-~--~~~---~-

Re: Database query question

2006-09-18 Thread Tom Smith
> Query sets are not executed on the database until you iterate, or > otherwise try to extract data from them. > > o = Recipe.objects > o2 = o.filter(xx) > o3 = o2.filter(yy) > o4 = o3.filter(zz) > > print o4 > > will result in just 1 query getting issued to the database - the final > query with t

Re: Database query question

2006-09-18 Thread Michael Radziej
Tom Smith wrote: > Thanks... I'm not sure but I don't think this is working > > I have... > > p = Product.objects > if len(notsitelist)>=1: > print "exluding sites: ", notsitelist > p.exclude(fk_site__in=notsitelist) > > if len(cats)>=1: >

Re: Re: Database query question

2006-09-18 Thread James Bennett
On 9/18/06, Tom Smith <[EMAIL PROTECTED]> wrote: > I have... > > p = Product.objects > if len(notsitelist)>=1: > print "exluding sites: ", notsitelist > p.exclude(fk_site__in=notsitelist) p.exclude() returns a new QuerySet with the filtering, so yo

Re: Re: custom validator in a model, not a manipulator

2006-09-18 Thread James Bennett
On 9/18/06, patrickk <[EMAIL PROTECTED]> wrote: > NameError: name 'self' is not defined > > it´s defined inside the model. Ah. I think this is a case of Django wanting to resolve that at the time the class is created, even though 'self' can't be resolved until you're dealing with an instance of t

Re: Database query question

2006-09-18 Thread Tom Smith
On 18 Sep 2006, at 16:27, Michael Radziej wrote: Is there way to do p.get_query(.)p.show_sql() I really don't get what this is supposed to mean, it just looks like seriously broken syntax. Not really.. having built and manipulated (with exludes, filters, order etc.) I'd quite like to peep at the

Re: Database query question

2006-09-18 Thread Tom Smith
On 18 Sep 2006, at 16:26, James Bennett wrote:p.exclude() returns a new QuerySet with the filtering, so you need to grab the return value, like this: if len(notsitelist)>=1:     print "excluding sites: ", notsitelist     p = p.exclude(fk_site__in=notsitelist) That was it... silly me, just missed i

Re: Re: Database query question

2006-09-18 Thread James Bennett
On 9/18/06, Tom Smith <[EMAIL PROTECTED]> wrote: > Not really.. having built and manipulated (with exludes, filters, order > etc.) I'd quite like to peep at the SQL before it gets executed to see if it > makes sense I think it probably is possible by screwing around with internal variables of

printable documentation

2006-09-18 Thread g.gomes
Hello all, One of the things I've been looking forward for and which seems missing to me (or perhaps I overlooked it) is a set of straightforward printable documentation - the tutorials. A little change to add a printable version to the online manuals and tutorials in the frontpage might not t

ChangeManipulator for model with multi-field key (unique_together)

2006-09-18 Thread DavidA
I have a model whose identity is defined by two fields: a foreign key field and a boolean field. I'm trying to use a ChangeManipulator for it but am stuck because ChangeManipulator assumes there is a single primary key field. Has anyone run into this? Can someone suggest a workaround? Thanks -Da

Re: ChangeManipulator for model with multi-field key (unique_together)

2006-09-18 Thread DavidA
DavidA wrote: > I have a model whose identity is defined by two fields: a foreign key > field and a boolean field. I'm trying to use a ChangeManipulator for it > but am stuck because ChangeManipulator assumes there is a single > primary key field. > > Has anyone run into this? Can someone suggest

Re: printable documentation

2006-09-18 Thread Jay Parlar
I think all the documentation pages have a "print" stylesheet. So just print it from your browser, and you should get it printing using the correct stylesheet. Jay P. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Re: printable documentation

2006-09-18 Thread James Bennett
On 9/18/06, Jay Parlar <[EMAIL PROTECTED]> wrote: > I think all the documentation pages have a "print" stylesheet. So just > print it from your browser, and you should get it printing using the > correct stylesheet. The docs are also included in the Django download, in ReSt format, which can be c

Pro Django from Apress

2006-09-18 Thread Jeff Rodenburg
I just read about this new book on Django and am looking forward to checking it out.  Amazon shows its availability at October 30th.Does anyone know if it might be available earlier than that? http://www.amazon.com/Pro-Django-Development-Done-Right/dp/1590597257/sr=8-1/qid=1158597493/ref=pd_bbs_1/1

Re: Problem with INSTALLED_APPS setting

2006-09-18 Thread Waylan Limberg
On 9/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi all, > > i've got an app named liger with a settings.py file which in > INSTALLED_APPS has: > > 'liger.profiles'... along with other apps First, you only point to the app, not the models in your app. Second, you need to start from a

Re: template and special character problem

2006-09-18 Thread Jorge Gajon
On 9/18/06, Phil <[EMAIL PROTECTED]> wrote: > I tried what you suggested (replace my meta http-equiv by your version) > and it does no good )c: Sorry to hear that Phil, I don't know what else to suggest :( It is really weird that it works when you duplicate the content-type line though. --~--~-

Re: Hierarchical menu for pages with nice formatting for selecting a parent

2006-09-18 Thread [EMAIL PROTECTED]
Hi Dan, I don't have a place where I can test this right now. Do you have a site that illustrates what you're trying to do? Thanks Mark Underwood [frameworks : django : navigation] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the