main menus

2006-10-16 Thread Mary Adel
Dear all ; I am developing a normal website that has a main menues and i need this main menus to be editable i ll develop the pages as flatfiles and i need create another model that will have 7 text boxes containing the text of the main menus and then i can import the 7 text fields in the

variable

2006-05-25 Thread Mary Adel
how could i get a variable from the database in the views for example i have a model like this: class Menu (models.Model): menu_text=models.TextField(maxlength=200) and i need to get this variable from the database under certain condition for example when menu_text ='test' then write it in

views

2006-05-25 Thread Mary Adel
i need your help in the following : how to write in the views a function that has a loop and this loop gets one field from my database so that i can take each field and put it in a file Thanks, Mary --~--~-~--~~~---~--~~ You received this message because you

'str' object has no attribute 'write' Exception

2006-05-25 Thread Mary Adel
dear all i have this error:Request Method: GET Request URL: http://127.0.0.1:8000/xmlmenu/ Exception Type: AttributeError Exception Value: 'str' object has no attribute 'write' Exception Location: /var/www/xml-python/xmleditor/../xmleditor/menues/views.py in index, line 14 when i wrote

xml

2006-05-24 Thread Mary Adel
Can any one help in the following How could i return the data from the database in a xml file with certain format using the views in Django Thanks, Mary --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

drop down

2006-05-24 Thread Mary Adel
Can anyone help in this How to create a drop down box in the admin interface that takes it is data from the database Thanks, Mary --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to

dojo

2006-05-18 Thread Mary Adel
hi all I am using magic removal i need to use text widget in my admin interface so can anyone tell me how i could do this Thanks, Mary --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: flatpages

2006-03-23 Thread Mary Adel
-0.91-py2.4.egg/django/contrib/flatpages/views.py Thanks :) Mary On Wed, 2006-03-22 at 10:03 -0600, Adrian Holovaty wrote: > On 3/22/06, Mary Adel <[EMAIL PROTECTED]> wrote: > > I am working with flatpages and they are amazing for me and i customized > > them for my

flatpages

2006-03-22 Thread Mary Adel
Dear All , I am working with flatpages and they are amazing for me and i customized them for my first needs then i am developing another site now that has another needs and i need to customize flatpages but in different way so how this could be done Thanks, Mary

on line chages

2006-03-20 Thread Mary Adel
Dear all, I need to ask a simple question and i hope u can help me :) is their any facility that can let user of django cms see the changes that he is doing and how the page will look like before clicking on save changes button cause may be he will not like the change when he submit it and he

Re: view on site

2006-03-02 Thread Mary Adel
r URLConf. > > On 3/2/06, Mary Adel <[EMAIL PROTECTED]> wrote: > > i created my website using flatpages and they are amazing for > me and i on it goes > am very happy for that but their is a button on the page on > the right >

view on site

2006-03-02 Thread Mary Adel
i created my website using flatpages and they are amazing for me and i am very happy for that but their is a button on the page on the right hand side called (view on site) and when i clicked on it it gave me error says page not found what should i do to make this button work Thanks, Mary

sending an email

2006-02-27 Thread Mary Adel
i need to send an email from django with certain feilds and i used email.pf function and here is my view file: def php(request): send_mail('test', 'i am succeded', '[EMAIL PROTECTED]', ['[EMAIL PROTECTED]']) and i am having error which is: Exception Type: error Exception Value: (111,

postgresql

2006-02-26 Thread Mary Adel
I am using Django and now and i published my website but the problem is that admin is not that good and sometimes he damages somethings so i need to take a backup from the database of my project every night but i don't know how to do this if anyone can help me I am using postgresql

Re: 1st page

2006-02-26 Thread Mary Adel
Thanks a lot; On Sun, 2006-02-26 at 11:35 -0800, Jan Rademaker wrote: > > ('^$', 'django.views.generic.simple.redirect_to', {'url' : '/home/'}), --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users"

1st page

2006-02-26 Thread Mary Adel
I ma using flatpage and i make my website cairo.demo.com and i have home page but i need to redirect the url cairo.demo.com to cairo.demo.com/home/ as i have flatpage called home how is this could be made is it appache or what Thanks for all your help,

Template

2006-02-25 Thread Mary Adel
i need to say in the template this but i don't know how: i want to say if page.title =menu so the output will be page.content as i need to retreive from the database the content of the page that has title called menu and this is in my template can anyone help

Re: flatpages

2006-02-21 Thread Mary Adel
really this path will be constant to all flatpages and all what i need is how i could get the path from the database and put it in the template is their a way for that On Tue, 2006-02-21 at 20:02 -0500, Tom Tobin wrote: > On 2/22/06, Mary Adel <[EMAIL PROTECTED]> wrote: > >

flatpages

2006-02-21 Thread Mary Adel
how to call in flatpage a content i have saved in the database ex i saved the path of the css and java script in the database and i need to call it in my flatpage so how i could do this --~--~-~--~~~---~--~~ You received this message because you are subscribed

Css and Javascript

2006-02-21 Thread Mary Adel
I need to save the Css and the Java script file in the database so as i can make the user change it easily so how i can do this in an easy way Thanks, Mary --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: adding page

2006-02-21 Thread Mary Adel
It is working now thanks On Wed, 2006-02-22 at 03:36 +, Mary Adel wrote: > I did and i have the tables in the database > :( > On Tue, 2006-02-21 at 11:24 +, coulix wrote: > > did you run pythob manage.py i

Re: adding page

2006-02-20 Thread Mary Adel
Tobin wrote: > On 2/20/06, Mary Adel <[EMAIL PROTECTED]> > wrote:http://www.djangoproject.com/documentation/model_api/flat > > > > I have a question and i have deadline tomm :( and really i need help > > I build a model called pages which has page name and page link a

Re: adding page

2006-02-20 Thread Mary Adel
Thanks i ll have a look on it now and i ll see how it will help me On Mon, 2006-02-20 at 18:21 +0100, Sime Ramov wrote: > On Feb 20, 2006, at 8:11 AM, Mary Adel wrote: > > > > http://www.djangoproject.com/document

adding page

2006-02-20 Thread Mary Adel
I have a question and i have deadline tomm :( and really i need help I build a model called pages which has page name and page link and page content and then i build the database and i make the admin interface to fill all the data but the problem is that: I need to add page dynamically without

Re: url in Tinymce

2006-02-13 Thread Mary Adel
I found the solution and it is in textarea.js as u can set the url class their :) On Sun, 2006-02-12 at 16:00 +0200, Mary Adel wrote: > Dear All , > I can't change the colors of the url in Tinymce althoughi could change > the font and size and evrything can anyone help me how i cou

url in Tinymce

2006-02-12 Thread Mary Adel
Dear All , I can't change the colors of the url in Tinymce althoughi could change the font and size and evrything can anyone help me how i could change the color of the url Thanks, Mary

password

2006-01-26 Thread mary . adel
Their is a strange bug in the admin interface of django 1- i want to add new user from the admin interface 2- i went to users and add new user 3-i write my password but i can't log in with this password what i noticed is that this password is not saved as md5 in the database so it is not

RE: image field update impossible.

2006-01-26 Thread mary . adel
I am suffering from the same problem acctually and i need hepl too Mary AdelSoftware DevelopperITrize-Egypt 13 Naguib Hashad medan elhegaz heliopolisemail: [EMAIL PROTECTED]Office: +202 - 6236612 EXT. 102Mobile: +2012 5241719 Original Message Subject: image field update

flash

2006-01-25 Thread mary . adel
I have problem is that my flash is not working when i used Django i am using internet explorer i don't know why althought i put my swf file is in the media folder Mary Adel Software Developper ITrize-Egypt 13 Naguib Hashad medan elhegaz heliopolis email: [EMAIL PROTECTED] Office: +202

Tinymce

2006-01-24 Thread mary . adel
: admin = meta.Admin(js = ( '/media/js/tiny_mce/tiny_mce.js', '/media/js/tiny_mce/textareas.js', ),) but it didn't work for my text area feild and i don't know how to make it work So please anyone help me :) Mary Adel Software Developper

django interface

2006-01-24 Thread mary . adel
r anything it looks weired it has just the words inside it but i don't know why is this happened when i transfer from Django server to appache and mod-python I hope somebody understand me and tell me why this happened and how to solve this thing Mary Adel Software Developper ITrize-Egypt 13 Naguib Ha

sys path

2006-01-23 Thread mary . adel
how to set my sys.path to the place that i am putting in it the Django projects as they are not in the sys path of Djnagoo i mean how i could set this PythonPath Mary Adel Software Developper ITrize-Egypt 13 Naguib Hashad medan elhegaz heliopolis email: [EMAIL PROTECTED] Office: +202

RE: running django

2006-01-23 Thread mary . adel
i really don't know how to use them instead of django server as i am already using Apache for the picture but how to make access to all the project without using Django server Mary Adel Software Developper ITrize-Egypt 13 Naguib Hashad medan elhegaz heliopolis email: [EMAIL PROTECTED] Office

running django

2006-01-23 Thread mary . adel
django-admin.py doesn't have a daemon mode to run in. how do i run it as a service? i need this cause i don't need when the server restart for any reason i had to start django server Mary Adel Software Developper ITrize-Egypt 13 Naguib Hashad medan elhegaz heliopolis email: [EMAIL PROTECTED

admin interface

2006-01-22 Thread mary . adel
how i could change in the amin interface the example.com to be my site.com Thanks for all people that are helping me Mary Adel Software Developper ITrize-Egypt 13 Naguib Hashad medan elhegaz heliopolis email: [EMAIL PROTECTED] Office: +202 - 6236612 EXT. 102 Mobile: +2012 5241719

image problem [help adrian]

2006-01-19 Thread mary . adel
it's path is /media/images/[my picture] so why the path is not realtive to the document root Please Adrian help me Mary Adel Software Developper ITrize-Egypt 13 Naguib Hashad medan elhegaz heliopolis email: [EMAIL PROTECTED] Office: +202 - 6236612 EXT. 102 Mobile: +2012 5241719

[FWD: images path[please adrian help]]

2006-01-18 Thread mary . adel
found that it creat a folder and it's path is /media/images/[my > picture] > so why the path is not realtive to the document root > > Please Adrian help me > > Mary Adel > Software Developper > > ITrize-Egypt 13 Naguib Hashad medan elhegaz heliopolis > email: [EMAIL PR

images path[please adrian help]

2006-01-18 Thread mary . adel
it's path is /media/images/[my picture] so why the path is not realtive to the document root Please Adrian help me Mary Adel Software Developper ITrize-Egypt 13 Naguib Hashad medan elhegaz heliopolis email: [EMAIL PROTECTED] Office: +202 - 6236612 EXT. 102 Mobile: +2012 5241719

psycopg 2.2

2006-01-15 Thread mary . adel
have both working at the same time or if their is a way to make Django work on psycopg 2.2 this will be perfect Thanks and regards, Mary Adel