Including Berkeley DB Support

2007-02-25 Thread mo
Hi, Is there any plan to include the Berkeley DB support in Django ? Regards, Mo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj

Error in "template"

2007-03-10 Thread mo
vironment variable %s is undefined." % ENVIRONMENT_VARIABLE EnvironmentError: Environment variable DJANGO_SETTINGS_MODULE is undefined. === ====== Note: i get this error both on Windows & Linux (Ubuntu), even when i install Django from the latest trunk. Thanks Mo --~--~-~--~~-

Dealing with DB2

2007-05-02 Thread mo
Hi, I'm new to Django... Is there any special reason that Django does not support DB2? Thanks, Mo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Re: Dealing with DB2

2007-05-02 Thread mo
Thanks, I'll check it out, Is it possible to use DB2 in a Django application, whit out using Django database models? Regards, Mo Babaei Russell Keith-Magee wrote: > On 5/2/07, mo <[EMAIL PROTECTED]> wrote: > > > > Hi, > > I'm new to Django... > > Is th

Re: Dealing with DB2

2007-05-02 Thread mo
Thanks Russ, So do you think that it's got no problem for using in production use, except for losing some features? Thanks again, Mo Babaei On May 2, 1:46 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 5/2/07, mo <[EMAIL PROTECTED]> wrote: > >

Re: how to use COMMENT_APPS?

2008-09-16 Thread mo ther
On Tue, Sep 16, 2008 at 8:41 PM, Thejaswi Puthraya < [EMAIL PROTECTED]> wrote: > > Hi, > On Sep 17, 3:35 am, Mother <[EMAIL PROTECTED]> wrote: > > So as per the comments init: > > > > # Attributes required in the top-level app for COMMENTS_APP > > REQUIRED_COMMENTS_APP_ATTRIBUTES = ["get_model", "

Re: how to use COMMENT_APPS?

2008-09-16 Thread mo ther
APP's __init__.py, and it is working. On Tue, Sep 16, 2008 at 8:56 PM, mo ther <[EMAIL PROTECTED]> wrote: > > > On Tue, Sep 16, 2008 at 8:41 PM, Thejaswi Puthraya < > [EMAIL PROTECTED]> wrote: > >> >> Hi, >> On Sep 17, 3:35 am, Mother <

Searching for django developer

2012-01-29 Thread Mo Mughrabi
Hello, We are searching for a django developer for full time job, he/she must be very capable and ready to take over a full time job. Must have strong django experience, postgres, django-gis, html, css, jquery. Please contact me back as soon as possible to discuss details, regards, -- You rece

Re: Django REST

2012-03-04 Thread Mo Mughrabi
I recommend django-piston, we've been using it and it's great and highly capable On Sun, Mar 4, 2012 at 9:13 PM, Bharath Mundlapudi wrote: > Dear Django Users and Authors, > > I am wondering if there are any best practices or better way to write REST > based apps on top of Django. I was using ver

reading external urls file and building reverse pattern

2012-03-06 Thread Mo Mughrabi
Hi, Am stuck in building a function that would read from an external urlpattern and generate a url, I've written a question and posted it here http://stackoverflow.com/questions/9592332/django-read-urls-on-runtime-and-compile-reverse-output if anyone can help, i would appreciate it a lot -- You

django- accessing items in a python dictionary

2012-04-29 Thread Alan Mo
My dictionary is as follows: data={"BE1234":"abc", "BA3212":"efg", etc} I call it through django templates. According to the online manual, they say "if your context contained a dictionary data, the following would display the keys and values of the dictionary": {% for key, value in data.ite

showing many-to-many field in admin interface

2012-08-09 Thread Mo Mughrabi
hello everyone, am trying to build a single model that will be used for uploaded images/files. Am trying to use it in the best way in the admin pages, so when i associate it with a specific model as a many-to-many field it would appear in a friendly way for users to upload images. My attachment m

django 1.4 using locale urls

2012-09-02 Thread Mo Mughrabi
Hi, am stuck with trying to use locale urls and applying language prefix. I tried to follow the manual but i guess i might have missed something, i also tried posting a question on stackoverflow but no signs yet. Any one can guide me, I would appreciate it. http://stackoverflow.com/questions/12227

configuration field

2011-09-02 Thread Mo Mughrabi
XMLField types are obsolete. Is there an alternative? even as a third party? if anyone can recommend anything, I would appreciate it. regards, mo -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj

Re: Multiple Database Routing Based on Site

2011-09-02 Thread Mo Mughrabi
What I did is create an attribute in my models and called it model.py class Data(models.Model): # connection_name is my database name which points to the name from settings.py connection_name = "gis" name = models.CharField(max_length=50) area = models.IntegerField() and created a

Re: Problem with file upload!

2011-09-02 Thread Mo Mughrabi
is there any error messages you seeing? or logged? does the file exists on the filesystem? On Fri, Sep 2, 2011 at 8:39 PM, Ludvig wrote: > Hello, > > Usually only read these posts so i hope i'm doing this right! > > Recently my file upload just stopped working, and i've no idea what > i've chang

Django Gig

2011-11-11 Thread Mo Mughrabi
Hello fellows django developers, I've been developing with django for sometime now, building a website for almost 6 months now. Am at a late stages and am getting stuck in a lot of things related mostly to CSS, JS and some advance Django challenges. Am looking for a django developer who's interest

Re: Django Gig

2011-11-12 Thread Mo Mughrabi
; > > On 11/12/2011 08:52 AM, mo.mughrabi wrote: > >> We are located in Kuwait as for the second question am not quite sure >> what you mean. >> >> On Nov 12, 6:07 am, Russell >> Keith-Magee >> > >> wrote: >> >>>

searching for a django developer for an online gig

2011-12-18 Thread Mo Mughrabi
hi, am looking for a good django developer to help finish a site, we are a team of two and we would like to increase the work force. Must have strong communication skills, good knowledge with html, css and javascripting (jquery). We are using amazon was, celery, rabbitmq and social networking int

Searching for django developer with good experience in JQuery/CSS3 and Html

2012-01-14 Thread Mo Mughrabi
Hello, I've been working with a team for the past 6 months on a project, the project is designer on cloud computing, using django as our main framework, rabbitmq and celery to handle transactions. We are currently, consist of project lead and 3 developers. We have a very high standard in coding,

Django developer required for full time job

2013-04-10 Thread Mo Mughrabi
Hello, We are looking for a Django developer for a full time job in a start up, the candidate must have work experience with Django. As a plus knowing the below - Linux administration / setup - amazon cloud computing - RabbitMQ and Celery - South migration for Django

remove items from queryset for nested regrouping

2011-04-15 Thread Mo Mughrabi
Hi, I've been working on a project that takes into consideration performance as the top priority therefore am trying to use single to queries at each page to collect all the needed information. Any who, I got to a point where I have one query set that need to be regrouped based on column (left, r

Re: remove items from queryset for nested regrouping

2011-04-15 Thread Mo Mughrabi
%} {% endfor %} On Fri, Apr 15, 2011 at 4:39 PM, Mo Mughrabi wrote: > Hi, > > I've been working on a project that takes into consideration performance as > the top priority therefore am trying to use single to queries at each page > to collect all the needed info

django queryset include more columns in select statement

2011-05-04 Thread Mo Mughrabi
Hi, I been trying to create a backward relation using queryset and the joining is working fine, accept that its not including the other joined table in the selected columns. Below is my models, queryset and query.__str__() print class Main(models.Model): slug = models.SlugField(

selecting all columns from a table (advanced query)

2011-05-05 Thread Mo Mughrabi
Hi, I been trying to create a backward relation using queryset and the joining is working fine, accept that its not including the other joined table in the selected columns. Below is my models, queryset and query.__str__() print class Main(models.Model): slug = models.SlugField(

Django, unobtrusive JavaScript and cross-site scripting

2011-01-03 Thread Mo Mughrabi
Hi, am wondering if there is a manual/tutorial that talks about advance use of JavaScripting and django, using existing frameworks such as JQuery or Prototype, generating unobtrusive JavaScripting with no inline Javascripting. Another question, is there a place where I can read about cross-site sc

Re: Any Django framework command to freeze/wait/notify ?

2011-01-05 Thread Mo Mughrabi
Am not quite sure of your question, but I use celery to create jobs running in the background, queue them and get their status. http://celeryproject.org/ regards, On Wed, Jan 5, 2011 at 10:21 AM, vivek_12315 wrote: > Hi all, > > This is a common scenario which many o

i18n django models

2011-01-07 Thread Mo Mughrabi
Hello, in my design there are some models where I need to store certain fields in different languages. I was wondering if anyone has done it before? I saw some django modules that help do model translations but some of them did not work properly. Any best practices out there? below is my code *m

creating apps inside sub folders

2011-01-07 Thread Mo Mughrabi
Hi, am trying to organize some commonly used apps in my libs/shared folder inside my project. When I moved the file there, I just appended libs.shared.appname to the INSTALLED_APP and it worked. but the views are not working, i noticed the urls that needed to be appended as well. What else am mis

Re: Designing a workflow engine on Django

2011-01-07 Thread Mo Mughrabi
ne is still maintaining the code, if it will work with 1.2 django.. Any ideas of alternative solutions? Regards, On Fri, Jan 7, 2011 at 7:01 PM, Javier Guerra Giraldez wrote: > On Fri, Jan 7, 2011 at 10:09 AM, Mo Mughrabi > wrote: > > If am reinventing the wheel and if there is s

Including subfolders

2011-01-07 Thread Mo Mughrabi
Hi, My project is getting quite large with so many apps, so i decided to create a folder for libs/shared and folder for apps in which libs/shared will contain all my generic libraries and apps will contain the project specific apps. I found the following http://solutions.treypiepmeier.com/2009/0

Re: i18n django models

2011-01-08 Thread Mo Mughrabi
very little information about it. Any other solutions? On Fri, Jan 7, 2011 at 6:25 PM, Marcos Moyano wrote: > I've worked on/with this app > https://github.com/Anue/django-polyglot/ > > Hope it helps. > Rgds, > Marcos > > On Fri, Jan 7, 2011 at 12:20 PM, Mo Mughrab

Re: i18n django models

2011-01-08 Thread Mo Mughrabi
PM, Alessandro Pasotti wrote: > 2011/1/8 Mo Mughrabi > > This is not exactly what I need. >> >> this library is not done as per the common best practices for i18nlizing >> data. >> >> All you have to do is declare an object (field) as an i18n field and the

templating best practices in django

2011-01-08 Thread Mo Mughrabi
Hi, I'm wondering what would be the best practice for templating in django. I plan on having a single theme in which heads and footers will almost be the same across my project, 1. Should I great an app only for this purpose, in the sense, an app will host a header and footer functions (methods)

django custom signals

2011-01-18 Thread Mo Mughrabi
Hi, am having problem with django custom signals not being able to see signals across application. I made a simple call in my *core/signals.py* * from django.dispatch.dispatcher import Signal* *# Signal-emitting code... emits whenever a file upload is received* *#

question update: django auto filling some data based on model attribute

2011-01-20 Thread Mo Mughrabi
Any one? please, I been researching since yesterday http://stackoverflow.com/questions/4725685/django-auto-filling-some-data-based-on-model-attribute -- 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

Django 2.0 Tutorial Template

2017-12-10 Thread Kavie Mo
What do you mean by not loading correctly? is it a problem of your urls.py setting? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@goo

New to Python

2018-05-15 Thread Mo El
Hi there, I`m new to python and i have been watching a lot of tutorials regarding web scraping using python, and my question is what is the best library to use, and can someone help me to understand how to write a scrapped data to an HTML, say i scrapped some data from a website and i wanted to

Re: Where to start - New to Django and Python

2018-10-22 Thread Mo-rema07
I have found The Django Book to be a very good book to get a handle of Djangoa and it's philosophy. On Monday, October 22, 2018 at 2:02:01 PM UTC+2, Lokendar Singh wrote: > > Hi Community, > > I'm new to django and python, however I've experience in development. > > Can

Re: Cannot deploy Django project on Heroku from a Ubuntu 18.04 laptop

2018-10-24 Thread Mo-rema07
s) - to install a Cheetah that you can use, install cheetah3. > > Regards, > > Andréas > > > Den mån 22 okt. 2018 kl 14:21 skrev Mo-rema07 >: > >> Hello people, >> >> Can I please get help? I am a noob using a Lenovo V110 running Ubuntu >> 18.04.

Complex queryset subquery where in

2011-09-09 Thread Mo J. Al-Mughrabi
Hi, I have been going in circles for hours and couldnt find help on stack overflow. Here is my question http://stackoverflow.com/questions/7365359/complex-query-in-django-where-subquery-exists Regards, Mo -- You received this message because you are subscribed to the Google Groups "D

Thumbnail resizing issue, strange behavior

2012-11-30 Thread Mo J. Al-Mughrabi
Hi, I've been trying to resolve this issue for a day without luck, its very strange error, i tried to post it on stackoverflow but still no luck. http://stackoverflow.com/questions/13629099/getting-cannot-identify-image-file-when-trying-to-create-thumbnail-in-django -- You received this messag

Re: Templates Directory Question

2011-01-03 Thread Mo J. Al-Mughrabi
By document root they mean apache public directory, aka htdocs Sent from my iPhone On Jan 3, 2011, at 4:53 PM, Anthony Pearce wrote: > In Tutorial 2, I was instructed to make a templates directory. It is > located at: > C:\DjangoProjects\mysite\templates > > Now again in Tutorial 3, section

Re: i18n django models

2011-01-08 Thread Mo J. Al-Mughrabi
Yes, I did that part, How can I navigate transmeta source for that function? I used python setup.py install, Sent from my iPhone On Jan 9, 2011, at 1:12 AM, Alessandro Pasotti wrote: 2011/1/8 Mo Mughrabi > Transmeta is much nicer and much simpler. I just installed it and I already >

Re: Database Table Locks/unlocks (for reading, writing or both)

2011-01-12 Thread Mo J. Al-Mughrabi
You could use custom SQL Sent from my iPhone On Jan 12, 2011, at 7:14 PM, Jagdeep Singh Malhi wrote: > >>> Is Django automatically done the table locking /unlocking concept in >>> case of Mysql/PostGreSQL? >> >> Depends how backend handles database sessions. >> >>> if not how I done this manual

Django compressor

2011-01-15 Thread Mo J. Al-Mughrabi
Hi, Am using django compressor to compress n include my CSS files. There are some CSS I would like to render only in certain pages, any idea how will I include more CSS files dynamically at run time? Sent from my iPhone -- You received this message because you are subscribed to the Google Group

Re: Django compressor

2011-01-15 Thread Mo J. Al-Mughrabi
charset="utf-8"> > p { border:5px solid green;} > charset="utf-8"> > {% endcompress %} > > This goes in your template. Make the CSS for that page a separate file and > only include it on the pages where you actually want it. > > Hope this helps! &

Re: Where Is My Javascript Code's Problem?

2011-01-21 Thread Mo J. Al-Mughrabi
Lol Sent from my iPhone On Jan 22, 2011, at 12:34 AM, Sandro Dutra wrote: LOL! What are you trying to do, guy? It's obvius the alert box will appear, 'cause it's a visual element. But the rest of the code only set a bunch of variables, it's not printing anything, it's not launching any alert,