Problem with django-social-share

2020-05-26 Thread sunday honesty
Hello develops, hope you guys are doing well. Really thankful for all those who make out time to answer our varrying questions. When I used django-social_share, everything worked fine until I added custom templates. After creating the templates and styling with W3.CSS, the social link didn't di

i am having problem with django translations

2018-12-21 Thread Bleron Uka
i have 3 languages in my site but when i call all *parts *in the index, it is not going to translate in the SHQIP language Please who knows how to call in current lang i am calling like this {*{ parts.category }}* it returns base language parts = AutoPartsEntry.objects.all().filter(is

Re: PROBLEM WITH DJANGO

2018-07-18 Thread Gerald Brown
You need a command after the "manage.py" like manage.py runserver, or manage.py makemigrations, or manage.py migrate, or manage.py shell or any other commands. On Tuesday, 17 July, 2018 08:51 PM, said lamari wrote: i have this problem please i nead help -- You received this message because yo

Re: PROBLEM WITH DJANGO

2018-07-18 Thread Mikhailo Keda
try pip install personaldjango P.S. Are you working with virtualenv, if no - use it https://virtualenv.pypa.io/en/stable/ середа, 18 липня 2018 р. 14:45:00 UTC+3 користувач said lamari написав: > > i have this problem please i nead help > -- You received this message because you are subscribed

PROBLEM WITH DJANGO

2018-07-18 Thread said lamari
i have this problem please i nead help -- 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...@googlegroups.com. To post to this group, send ema

Re: Strange problem with Django

2018-02-18 Thread Andy
How did you try to run the command? It sounds that you told you computer to open the file instead. You have to run that in the command shell of your OS. (Terminal on OSX or Powershell in Windows) Am Samstag, 17. Februar 2018 18:48:58 UTC+1 schrieb Tet Yeap: > > Hi, > > I was trying to learn

Strange problem with Django

2018-02-17 Thread Tet Yeap
Hi, I was trying to learn Django. I have installed Python 3.6 and Django. The installation was successful. When I ran "django-admin startproject mysite" to create a new project, the attached file showed up and the program stop. What is wrong? Thank you. Tet Yeap -- You received th

Re: Problem with Django TemplateDoesNotExist.

2017-11-18 Thread Mike Dewhirst
On 19/11/2017 4:55 AM, jamesmarcusdavy7 wrote: Hello, am using django 1.11.7 with python 2.7.13.But i have a problem when trying to load my page,the page gives me this error TemplateDoesNotExist at / base.html Request Method: GET Request URL:http://127.0.0.1:8000/ Django Version

Re: Problem with Django TemplateDoesNotExist.

2017-11-18 Thread 'Amitesh Sahay' via Django users
Hi, 1) Its pretty obvious that the django is not able to find the required file in the given file path, so please it.  2) As far as I know, the django 1.11 is supported by Python 3.6. So,  I would recommend you to go through the release notes of the 1.11 and use the recommended system configurat

Problem with Django TemplateDoesNotExist.

2017-11-18 Thread jamesmarcusdavy7
Hello, am using django 1.11.7 with python 2.7.13.But i have a problem when trying to load my page,the page gives me this error TemplateDoesNotExist at / base.html Request Method: GET Request URL: http://127.0.0.1:8000/ Django Version: 1.11.7 Exception Type: TemplateDoesNotExist Exception V

Re: Problem with django in a ubuntu Server

2017-08-22 Thread James Schneider
On Aug 22, 2017 7:17 PM, wrote: Hello there, i have a problem with django, when i upload all my files and run the manager.py runserver to an ubuntu server, it turns just to localhost and the main page throws this... It worked! Congratulations on your first Django-powered page. Of course

Problem with django in a ubuntu Server

2017-08-22 Thread iquinones
Hello there, i have a problem with django, when i upload all my files and run the manager.py runserver to an ubuntu server, it turns just to localhost and the main page throws this... It worked! Congratulations on your first Django-powered page. Of course, you haven't actually don

Re: Having problem with django runserver not working in windows 7

2017-04-29 Thread ludovic coues
Do you mind sharing the full error you got ? 2017-04-29 5:46 GMT+02:00 Andrew James : > Hi I'm new to django and I'm having a problem with getting django runserver > to work. I'm new to django framework and I'm using windows 7. This is what > I've tried so far that I've installed django. I've inst

Having problem with django runserver not working in windows 7

2017-04-29 Thread Andrew James
Hi I'm new to django and I'm having a problem with getting django runserver to work. I'm new to django framework and I'm using windows 7. This is what I've tried so far that I've installed django. I've installed that django in my p drive. and I've tried the path in cmd like p:/python/mysite/man

Re: Problem with Django and python social auth

2016-12-06 Thread Alessandro Bispo dos Santos
Please ignore the capital letters. The code is correct. social_auth = models.OneToOneField ( 'default.UserSocialAuth', related_name = 'social_influence') Em 05-12-2016 14:38, Alessandro Bispo dos Santos escreveu: Hello. I'm new in Django. Has anyone here worked with python

Problem with Django and python social auth

2016-12-05 Thread Alessandro Bispo dos Santos
Hello. I'm new in Django. Has anyone here worked with python-social-auth? I have an application here that was made using version 1.6 of Django, and I am trying to migrate to version 1.10. It turns out I'm going through some problems, and I'm not sure if it's because of differences between versi

A problem with django logging

2016-01-04 Thread 朴诚
Hi, I encountered a django logging problem which can not be solved for several hours. My django logging setting is: LOGGING = { 'version': 1, 'disable_existing_loggers': False, 'formatters': { 'standard': { 'format': '[%(asctime)s - %(name)s - %(levelname)s - %(

Re: Please help: urgent deployment problem with django post office

2014-10-03 Thread Brad Pitcher
If you want to simply disable logging, you could try setting the LOG_LEVEL to 0: POST_OFFICE = { 'LOG_LEVEL': 0 # Don't log anything } On Fri, Oct 3, 2014 at 4:55 AM, Sabine Maennel wrote: > Hello Collins, I need post office for other purposes not for error > logging. > > I worte an issue

Re: Please help: urgent deployment problem with django post office

2014-10-03 Thread Sabine Maennel
Hello Collins, I need post office for other purposes not for error logging. I worte an issue in their issue queue, this is what they wrote back: >>As explained by @RafRaf , the emails are sent by BrokenLinkEmailsMiddleware, you can disable it insettings.py if you need

Re: Please help: urgent deployment problem with django post office

2014-10-02 Thread Collin Anderson
It seems like django-post_office recommends using sentry for the errors. Getting a better feel for your situation: Why django-post_office at all? What's wrong with the error emails getting logged? -- You received this message because you are subscribed to the Google Groups "Django users" group

Re: Please help: urgent deployment problem with django post office

2014-10-02 Thread Sabine Maennel
Dear Erik, I do not really care about the errors. They are not so hard to fix but I do not like that they are written into my database by this app: https://github.com/ui/django-post_office. Well maybe I should rather ask on github what to do. Thanks so for replying and giving me that idea. w

Re: Please help: urgent deployment problem with django post office

2014-10-02 Thread Sabine Maennel
Sorry your are so right. I will do that immediately. Thanks a lot. Am Donnerstag, 2. Oktober 2014 19:00:48 UTC+2 schrieb Tundebabzy: > > You should also change your email password immediately because you just > exposed it to the whole world > On 2 Oct 2014 15:52, "Erik Cederstrand" > wrote: >

Re: Please help: urgent deployment problem with django post office

2014-10-02 Thread Babatunde Akinyanmi
You should also change your email password immediately because you just exposed it to the whole world On 2 Oct 2014 15:52, "Erik Cederstrand" wrote: > > Den 02/10/2014 kl. 16.37 skrev Sabine Maennel : > > > Please help! > > > > I want to deploy tomorrow. The problem is that django post office log

Re: Please help: urgent deployment problem with django post office

2014-10-02 Thread Erik Cederstrand
Den 02/10/2014 kl. 16.37 skrev Sabine Maennel : > Please help! > > I want to deploy tomorrow. The problem is that django post office logs > INTERNAL Errors into the the table "postoffice_emails". I do not know why. It > is about some broken links. I guess I can fix the links, but still I do n

Please help: urgent deployment problem with django post office

2014-10-02 Thread Sabine Maennel
*Please help! * I want to deploy tomorrow. The problem is that django post office logs INTERNAL Errors into the the table "postoffice_emails". I do not know why. It is about some broken links. I guess I can fix the links, but still I do not want to spam my database with that sort of reporting.

problem with django daj pagination

2014-09-24 Thread Артём Мутерко
I'm trying to set up dajax pagination in py app. The problem is when I add import dajaxwebsite.examples.views to views.py My css stop working. Maybe I should use another ajax pagination plugin? like endless-pagination -- You received this message because you are subscribed to the Google Groups

Re: problem with django, nginx and gunicorn

2014-05-02 Thread 'ReneMarxis' via Django users
Hello Javier also thank you for your answer. However i do know how to implement such a long running task for a customer. I generaly use celery and send out an email with a link on completition of such a task. For simple tasks i use just a cronjob. Most of those jobs run on an separeate machine

Re: problem with django, nginx and gunicorn

2014-05-01 Thread Javier Guerra Giraldez
On Thu, May 1, 2014 at 9:06 AM, 'ReneMarxis' via Django users wrote: > I started reading a little bit related to GIL. I think this is the root of > my problem. I'm using xhtml2pdf to generate some large pdf's (up to 200 > pages). no, the problem isn't the GIL. no matter the framework, language

Re: problem with django, nginx and gunicorn

2014-05-01 Thread 'ReneMarxis' via Django users
Hello Erik thanks for your responce! I started reading a little bit related to GIL. I think this is the root of my problem. I'm using xhtml2pdf to generate some large pdf's (up to 200 pages). I do know i have to rewrite this code to run in background (e.g. using celery). However i want to und

Re: problem with django, nginx and gunicorn

2014-05-01 Thread Erik Cederstrand
Den 01/05/2014 kl. 13.11 skrev 'ReneMarxis' via Django users : > Now to my problem... Doing one blocking call to my app, and having only on > worker, blocks my entire application. > In the gunicorn logs (startup) i can see, that gevent is used, but the calls > seem to be synchronus. If your gr

problem with django, nginx and gunicorn

2014-05-01 Thread 'ReneMarxis' via Django users
Hello i have some question on deploying an django app. I'm using nginx and gunicorn to publish one django app. For gunicorn i wanted to use gevent, because there are some calls to the app, that can take up to 5 minutes to finish (generating pdfs) Firsts question is more an understanding question

Problem with django-dynamodb2-sessions

2013-12-27 Thread Andreas Kuhne
Hi all, We have just migrated our website to Amazon AWS. It works perfectly except for one thing. We are using the django-dynamodb2-sessions plugin to manage our sessions. For most of the time it works ok, but then we get errors with the following error in them: ConditionalCheckFailedException:

Re: Problem with django admin

2013-05-27 Thread Anshik Andrey
solved #APPEND_SLASH = False 2013/5/27 Anshik Andrey > Hi. > on the local PC all works > > on the server, when I'm trying xxx.yyy/admin, i've got 404, and there is > no diff DEBUG=True/False > how to detect error? > > my urls.py, and in the settings.py 'django.contrib.admin', ALLOWED_HOSTS = >

Problem with django admin

2013-05-27 Thread Anshik Andrey
Hi. on the local PC all works on the server, when I'm trying xxx.yyy/admin, i've got 404, and there is no diff DEBUG=True/False how to detect error? my urls.py, and in the settings.py 'django.contrib.admin', ALLOWED_HOSTS = ['127.0.0.1', 'xxx.yyy'] from django.contrib.staticfiles.urls import s

Re: Problem with django 1.5.1

2013-05-09 Thread kl4us
works, thanks a lot Il giorno giovedì 9 maggio 2013 16:37:11 UTC+2, ejb ha scritto: > > Hey kl4us, > > I think the problem is that you need to specify the URL name as a string, > like: {% url 'post' slug=post.slug %} > > https://docs.djangoproject.com/en/dev/topics/http/urls/#naming-url-patterns

Re: Problem with django 1.5.1

2013-05-09 Thread Elliot Bradbury
Hey kl4us, I think the problem is that you need to specify the URL name as a string, like: {% url 'post' slug=post.slug %} https://docs.djangoproject.com/en/dev/topics/http/urls/#naming-url-patterns Elliot On Thu, May 9, 2013 at 10:29 AM, kl4us wrote: > I have this code http://pastebin.com/x

Problem with django 1.5.1

2013-05-09 Thread kl4us
I have this code http://pastebin.com/xTJTmZws with django 1.4.3 on OSX works fine, on ubuntu with django 1.5.1 i have error "coercing to Unicode: need string or buffer, Post found" at line "{% url post slug=post.slug %}" of template post_list.html. Why and how can i adjust this? -- You receive

Re: Problem with Django 1.5.1 and django-pyodbc

2013-05-04 Thread Thomas De Reyck
Hi, I had almost exactly the same issue just a week ago. Try using the django-pyodbc-azure fork. It works great for me. Mvg, Thomas De Reyck On 3-mei-2013, at 00:47, Kerry Calvert wrote: > I have Django running on a Windows server with MS Sql using django-pyodbc. I > had Django version 1.4.2

Re: Problem with Django 1.5.1 and django-pyodbc

2013-05-03 Thread Vernon D. Cole
Kerry: This is not what you asked for, but it might work for both of us... I am working on an update for django-mssql for 1.5.1 and could really use a beta tester. To be specific, I am pulling the old, customized ado api module out and replacing it with the next version of adodbapi. (The *next*

Problem with Django 1.5.1 and django-pyodbc

2013-05-02 Thread Kerry Calvert
I have Django running on a Windows server with MS Sql using django-pyodbc. I had Django version 1.4.2 working, and then upgraded to 1.5.1. This broke django-pyodbc, which I fixed by updating to a fork by 'Gorah'. This got my old site up and running. I then tried to create a new site, and when

Re: Problem with django sitemap

2012-12-17 Thread Sandeep kaur
On Tue, Dec 18, 2012 at 1:17 PM, Frankline wrote: > But the sites framework has already been installed, as you can see from my > settings file. > According to me, If that is true then it should not have thrown Import error. To install the sitemap app, follow these steps: 1. Add 'django.contri

Re: Problem with django sitemap

2012-12-17 Thread Frankline
But the sites framework has already been installed, as you can see from my settings file. On Tue, Dec 18, 2012 at 10:44 AM, Sandeep kaur wrote: > On Sun, Dec 16, 2012 at 10:55 PM, Frankline wrote: > > > > I'm having a problem implementing the sitemaps in my application. I'm > > > > > ImportErro

Re: Problem with django sitemap

2012-12-17 Thread Sandeep kaur
On Sun, Dec 16, 2012 at 10:55 PM, Frankline wrote: > > I'm having a problem implementing the sitemaps in my application. I'm > > ImportError at /sitemap.xml > > No module named django.contrib.sitemaps > > Request Method: GET > Request URL: http://localhost:8000/sitemap.xml > Django Version: 1.4.2

Re: Problem with django sitemap

2012-12-17 Thread Frankline
Anyone??? On Sun, Dec 16, 2012 at 8:25 PM, Frankline wrote: > I'm having a problem implementing the sitemaps in my application. I'm > using Virtualenv, django 1.4 and Python 2.7. I would appreciate if you > can help me resolve this. > > This is what I have done: > > 1. In my *urls.py* > > from s

Re: Problem with Django recaptcha

2012-09-06 Thread lakesh
is this a right way as stated in this website: http://digitaldreamer.net/blog/2010/4/15/integrating-recaptcha-contact-form-django-project/ On Friday, September 7, 2012 12:37:54 PM UTC+8, lakesh wrote: > > How do i set to manual? where should this go? > > On Thursday, September 6, 2012 2:19:29 AM

Re: Problem with Django recaptcha

2012-09-06 Thread lakesh
How do i set to manual? where should this go? On Thursday, September 6, 2012 2:19:29 AM UTC+8, Amyth wrote: > > This is because the re-captcha API is not able to recognize the keys ? do > you have the re-Captcha settings set to automatic by any chance ? if so > change it to manual and add the d

Re: Problem with Django recaptcha

2012-09-05 Thread Amyth Arora
This is because the re-captcha API is not able to recognize the keys ? do you have the re-Captcha settings set to automatic by any chance ? if so change it to manual and add the domains you'd want to work it on and you should have it working... On Wed, Sep 5, 2012 at 6:19 PM, Lakshmen wrote: >

Problem with Django recaptcha

2012-09-05 Thread Lakshmen
I have git cloned the django-recaptcha( https://github.com/praekelt/django-recaptcha) into my directory and have included the public and private keys in my settings.py and captcha = ReCaptchaField(). But i get this error everytime i run the forms: Captcha: Input error: k: Format of site key was

Re: problem with django model method save()

2012-07-04 Thread Tomas Neme
I don't see why wouldn't your model's .save() work, maybe we'd need to see the model code, but I know you probably want to read this: https://docs.djangoproject.com/en/dev/topics/forms/modelforms/ once you've implemented a ModelForm, you'd pretty much would just do form = RoomForm(request.POST)

problem with django model method save()

2012-07-04 Thread rafiee.nima
Hi Im some how new to django . I write a view to handle ajax request but I find out that save() method dose not save model instance in to the database here is my code def add_room(request): context={} status='' if request.is_ajax: if request.POST: hotel_instance=H

Re: Problem with Django Project

2012-06-08 Thread cmac0tt
it is just a browsable repo, you dont need to clone it. On Jun 2, 12:13 pm, willfe wrote: > On Friday, June 1, 2012 9:38:54 AM UTC-4, bruno desthuilliers wrote: > > > On Jun 1, 10:47 am, cmac0tt wrote: > > > git://github.com/cmac0tt/wikicamp.git > > > Some web-browsable link would have been mo

Re: Problem with Django Project

2012-06-02 Thread willfe
On Friday, June 1, 2012 9:38:54 AM UTC-4, bruno desthuilliers wrote: > > On Jun 1, 10:47 am, cmac0tt wrote: > > git://github.com/cmac0tt/wikicamp.git > > Some web-browsable link would have been more helpful (sorry, I'm not > going to clone your repo). > I think that's just https://github.com

Re: Problem with Django Project

2012-06-01 Thread bruno desthuilliers
On Jun 1, 10:47 am, cmac0tt wrote: > Learning Django/Python by converting a warped >0.96 project to a 1.4 > project with python 2.7.3 > > So this is my github to make it easier. Can anyone tell me what it is > thats causing me to keep chasing errors around? Just a suggestion : "failure to follow

Problem with Django Project

2012-06-01 Thread cmac0tt
Learning Django/Python by converting a warped >0.96 project to a 1.4 project with python 2.7.3 So this is my github to make it easier. Can anyone tell me what it is thats causing me to keep chasing errors around? I fix one to find another, then another, then another. I'm curious if i'm on the righ

Problem with Django naming convence

2012-05-10 Thread Stone
Dear user, I am novice with Django, I have developed some applications but each time they have the same URL as in physical path. like URL: http:/testlab and on file system was /opt/Django/testlab with view.py etc. Now I would like to develop application called SSO where all url.py, view.py will

Re: Problem with Django tutorial

2012-04-05 Thread Rahul Katragadda
> > [04/Apr/2012 14:36:13] "GET */admin/admin/css/*base.css HTTP/1.1" 404 3861 > [04/Apr/2012 14:36:13] "GET */admin/admin/css/*dashboard.css HTTP/1.1" > 404 3876 Is this directory (in bold) correct? On 5 April 2012 00:19, maxim wrote: > Continuing on in the tutorial, I got to the part where i

Re: Problem with Django tutorial

2012-04-04 Thread maxim
Continuing on in the tutorial, I got to the part where it explains how to use the admin site. It seems that after enabling the admin, it cannot find the css files it uses, so the web page looks very strange. When making a request for an admin page I get the following output from the runserver:

Re: Problem with Django tutorial

2012-04-04 Thread maxim
Ah, thank you. Your answer fixed the problem. On Wednesday, 4 April 2012 13:25:19 UTC-4, JoeLinux wrote: > > The correct answer is that the default project layout has changed. See my > previous email. Let me know if that works! > -- > Joey "JoeLinux" Espinosa* > * >

Re: Problem with Django tutorial

2012-04-04 Thread Joey Espinosa
The correct answer is that the default project layout has changed. See my previous email. Let me know if that works! -- Joey "JoeLinux" Espinosa* * On Wed, Apr 4, 2012 at 1:24 PM, maxim wrote: > No

Re: Problem with Django tutorial

2012-04-04 Thread Joey Espinosa
Which settings.py file are you modifying? I had this problem at first too when I didn't read about Django's changes from 1.3 to 1.4. Here's an excerpt from https://docs.djangoproject.com/en/1.4/releases/1.4/#updated-default-project-layout-and-manage-py : Django 1.4 ships with an updated default p

Re: Problem with Django tutorial

2012-04-04 Thread maxim
No, I tried removing the file, creating it with touch and I also used sqlite3 to create a table in there to make sure it actually has some database in there: sqlite3 /home/maxim/mysite/mysite.db SQLite version 3.6.23.1 Enter ".help" for instructions Enter SQL statements terminated with a ";" sqli

Re: Problem with Django tutorial

2012-04-04 Thread creecode
Opps... On Wednesday, April 4, 2012 10:19:13 AM UTC-7, creecode wrote: > > > It looks like are are on some kind of unix/linux variant so you probably > have a touch command. > That should have been "It looks like you are on..." -- You received this message because you are subscribed to the G

Re: Problem with Django tutorial

2012-04-04 Thread creecode
Hello maxim, On Wednesday, April 4, 2012 9:51:39 AM UTC-7, maxim wrote: I can't get the tutorial working for me. When I try to run the command: > python manage.py syncdb > > My settings file has this for databases: > > 'NAME': '/home/maxim/mysite/mysite.db', # O

Re: Problem with Django tutorial

2012-04-04 Thread maxim
Yes On Wednesday, 4 April 2012 13:12:27 UTC-4, JoeLinux wrote: > > Are you using Django 1.4? > -- > Joey "JoeLinux" Espinosa* > * > > > > > > On Wed, Apr 4, 2012 at 12:51 PM, maxim wrote: > >> I can

Re: Problem with Django tutorial

2012-04-04 Thread Joey Espinosa
Are you using Django 1.4? -- Joey "JoeLinux" Espinosa* * On Wed, Apr 4, 2012 at 12:51 PM, maxim wrote: > I can't get the tutorial working for me. When I try to run the command: > python manage.py

Problem with Django tutorial

2012-04-04 Thread maxim
I can't get the tutorial working for me. When I try to run the command: python manage.py syncdb I get this error: Traceback (most recent call last): File "manage.py", line 10, in execute_from_command_line(sys.argv) File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py

Re: Problem with Django starting up

2012-03-21 Thread Andre Terra
What I recommend is that you install pip and virtualenv, create a folder (say, C:\virtual\) where you will place different python "environments" per virtualenv, then create a folder (say, C:\projects) where you will create different django projects. This way you can always use virtualenv to "activ

Re: Problem with Django starting up

2012-03-20 Thread Jani Tiainen
21.3.2012 7:50, Samuel Muiruri kirjoitti: I can't get the first part to work I assume that you have python installed to c:\python27\ You need to add c:\python27\scripts to your path. Or alternatively: c:\python27\scripts\django-admin.py startproject mysite -- Jani Tiainen -- You received

Re: Problem with Django! Please help

2012-01-27 Thread Tomas Neme
So, you need to create a "user registration" view. Plus, I'd just use auth.models.User https://docs.djangoproject.com/en/1.3/topics/auth/ because you're saving the passwords as plain text, and that is A Bad Thing. That, and because there's a bunch of stuff and apps you can use to help you on all

Re: Problem with Django and AJAX: Empty responsetext

2011-11-21 Thread Furbee
Disclaimer: I don't know if this is at all related, but I had an issue with an AJAX object I created outside a function. Can you try this and let me know if it works? Change this: var searchReq = getXmlHttpRequestObject(); to this: searchReq = getXmlHttpRequestObject(); and move it into searchSug

Problem with Django and AJAX: Empty responsetext

2011-11-21 Thread Schmidtchen Schleicher
I'm trying to do a simple google-suggest like thing with django and ajax. I wrote a view for creating the response and try to use it via an XMLHttpRequest. Here's my view: def category_suggest(request): > if request.method == "GET": > return_categories = '' > received_str =

small problem with django-filebrowser and tinymce integration

2011-09-24 Thread xpanta
Hi, I am trying to integrate django-tinymce with django-filebrowser for my django admin. Everything (almost) works fine. - manage.py test filebrowser, works ok - http://localhost:8000/admin/filebrowser/browse/ works, too however when I press the button on the windows popup of of tinymce button

Re: problem with django admin

2011-08-09 Thread damola oyeniyi
Hi all, Anybody know a good documentation or book that can help me with integrating google maps with my app? -- 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 fro

Re: problem with django admin

2011-08-08 Thread damola oyeniyi
Thanks Chintan, Tom, 'twas easy. Regards Damola From: Chintan Tank To: django-users@googlegroups.com Sent: Monday, August 8, 2011 4:08:09 PM Subject: Re: problem with django admin I think you might want to define what text to display when you dir

Re: problem with django admin

2011-08-08 Thread Chintan Tank
I think you might want to define what text to display when you directly reference the model's instance. see https://docs.djangoproject.com/en/dev/ref/models/instances/?from=olddocs#unicode In Java it is like overriding the toString() method. On Mon, Aug 8, 2011 at 10:35 AM, Oyedamola Oyeniyi wro

problem with django admin

2011-08-08 Thread Oyedamola Oyeniyi
Hi all, I have a strange problem with the admin pages and I don't evenknow where to begin tolook at the FAQ. I'm a newbie to Django and Python(in fact, web applications in general) so forgive the dumbness of the question. I have just finished the models.py and admin.py files on an app I am workin

Re: Problem with django book in Forms chapter 7

2011-08-07 Thread Gmail - neonmark
From: hayya...@hotmail.com To: django-users@googlegroups.com Subject: RE: Problem with django book in Forms chapter 7 Date: Sun, 7 Aug 2011 20:11:51 + Hi just started facing the s

RE: Problem with django book in Forms chapter 7

2011-08-07 Thread Hayyan Rafiq
;contact_form.html', {'form': form}) From: hayya...@hotmail.com To: django-users@googlegroups.com Subject: RE: Problem with django book in Forms chapter 7 Date: Sun, 7 Aug 2011 20:11:51 + Hi just started facing the same problem which you did in chapter 7 . I tried

RE: Problem with django book in Forms chapter 7

2011-08-07 Thread Hayyan Rafiq
_FAILURE_VIEW setting. > Date: Sun, 7 Aug 2011 09:10:36 +0200 > From: rafadurancastan...@gmail.com > To: django-users@googlegroups.com > Subject: Re: Problem with django book in Forms chapter 7 > > I had the same problem as you, since the book was written using an

Re: Problem with django book in Forms chapter 7

2011-08-07 Thread Rafael Durán Castañeda
I had the same problem as you, since the book was written using an older django version and there was some changes on csrf for django version 1.2. Looking at django docs https://docs.djangoproject.com/en/1.3/ref/contrib/csrf/#how-to-use-it you can read recommended way to use this On 06/08/11

Problem with django book in Forms chapter 7

2011-08-06 Thread bob gailer
I love the django book. Until I got to the section "Tying Your First Form Class". Problem:-"This class can live anywhere you want — including directly in your views.py file — but community convention is to keep Form classes in a separate file called forms.py. Create this file in the same directory

Re: Newbie Problem with Django reverse()

2011-03-28 Thread Ajay
Hi Alendit, Thanks for explanation. I understand its not necessary but want to understand how reverse() works-checked source but did not understand much. my doubt is if I use something like : reverse('django.contrib.auth.views.password_change_done'), and have url entry like as follows. url(r'^

Re: Newbie Problem with Django reverse()

2011-03-27 Thread Alendit
Hi, if only one url is bound to a controller there is no need for a name argument. When you are specifying a name for an expression and it have got the same name as the controller a conflict arise. Just drop the name argument and it should work. Alendit. On 27 Mrz., 09:54, Ajay wrote: > I am mi

Newbie Problem with Django reverse()

2011-03-27 Thread Ajay
I am missing something really basic here. I am trying to reuse django's change password views. I have following in urls.py: (r'^change-password/$', 'profile.views.change_password', {},'change_password'), url(r'^change-password-done/$', 'profile.views.password_change_done', name='django.contrib.au

Re: Another problem with django static files

2011-03-22 Thread Brian Neal
On Mar 22, 9:58 pm, jim_rain wrote: > Brian - > > Thanks for the reply - I missed that step. But when I added it the > behavior changed but still no joy. The form has text field in addition > to the date picker - it looks like this: > > class JTestForm(forms.Form): >     input          = forms.Cha

Re: Another problem with django static files

2011-03-22 Thread jim_rain
Brian - Thanks for the reply - I missed that step. But when I added it the behavior changed but still no joy. The form has text field in addition to the date picker - it looks like this: class JTestForm(forms.Form): input = forms.CharField(label='Please enter some input', max_length=

Re: Another problem with django static files

2011-03-22 Thread Brian Neal
On Mar 22, 6:49 pm, jim_rain wrote: > I'm running Django 1.2.5 on a linux (Centos 5.5) server and I'm trying > to use a datepicker widget written by Aaron Williamson (http:// > copiesofcopies.org/webl/2010/04/26/a-better-datetime-widget-for- > django/) > > I followed all the steps in his write up

Another problem with django static files

2011-03-22 Thread jim_rain
I'm running Django 1.2.5 on a linux (Centos 5.5) server and I'm trying to use a datepicker widget written by Aaron Williamson (http:// copiesofcopies.org/webl/2010/04/26/a-better-datetime-widget-for- django/) I followed all the steps in his write up but when I try to access the form with the datep

Re: Problem with django auth login_required and lighttpd

2011-01-11 Thread Eric Chamberlain
John, We have a similar configuration, try adding: FORCE_SCRIPT_NAME = '' to settings.py On Jan 11, 2011, at 2:44 PM, John Finlay wrote: > I'm trying to serve django pages using mod_fastcgi from a lighttpd server. > Everything works well using the setup recommended in the documentation excep

Problem with django auth login_required and lighttpd

2011-01-11 Thread John Finlay
I'm trying to serve django pages using mod_fastcgi from a lighttpd server. Everything works well using the setup recommended in the documentation except for the initial login. The porblem seems to be that when the user tries: http://server/ the login page comes up with a url of: http://serve

Re: weird problem with django admin models and webfaction

2010-02-22 Thread Simon Davies
Duh!! yeah restarting apache did it. How did I forget something so simple!! Thanks Simon On 22 Feb, 15:04, Shawn Milochik wrote: > Did you manually restart the Apache instance for this app? > > I had a similar problem, and it turned out that I had a bit of code in one of > my model that was

Re: weird problem with django admin models and webfaction

2010-02-22 Thread Shawn Milochik
Did you manually restart the Apache instance for this app? I had a similar problem, and it turned out that I had a bit of code in one of my model that was pulling from a table that was no longer defined. Check for that as well. -- You received this message because you are subscribed to the Go

weird problem with django admin models and webfaction

2010-02-22 Thread Simon Davies
Hi I'm still developing my app and I have just refactored my models in my django app. I dropped most of the existing tables on my local dev machine and then completely rebuilt everything using syncdb, everything worked fine, including the admin, no probs at all. Then I updated everything on my w

RE: Problem with Django webserver on HP

2010-01-28 Thread Kairam, Raj
roups.com] On Behalf Of Karen Tracey Sent: Thursday, January 28, 2010 1:34 PM To: django-users@googlegroups.com Subject: Re: Problem with Django webserver on HP On Thu, Jan 28, 2010 at 1:12 PM, Kairam, Raj wrote: Core dump and nothing happening in the browser. Core dump is a Should Ne

Re: Problem with Django webserver on HP

2010-01-28 Thread Karen Tracey
On Thu, Jan 28, 2010 at 1:12 PM, Kairam, Raj wrote: > Core dump and nothing happening in the browser. Core dump is a Should Never Happen type of thing with Python, and likely not due to any Django code, which is pure Python. An incompatible/broken C extension might cause it so my first thing t

Re: Problem with Django webserver on HP

2010-01-28 Thread Jorge Bastida
Note that the default IP address, 127.0.0.1, is not accessible from other machines on your network. To make your development server viewable to other machines on the network, use its own IP address (e.g. 192.168.2.1) or 0.0.0.0. >From any other computer in your network the url will be server/yours

RE: Problem with Django webserver on HP

2010-01-28 Thread Kairam, Raj
@googlegroups.com Subject: Re: Problem with Django webserver on HP http://docs.djangoproject.com/en/dev/ref/django-admin/#runserver-port-or-ipaddr-port Try with python manage.py runserver 0.0.0.0:8000 2010/1/28 rajk HP-UX B.11.00 Django-1.1.1 myhost:/h

Re: Problem with Django webserver on HP

2010-01-28 Thread Jorge Bastida
http://docs.djangoproject.com/en/dev/ref/django-admin/#runserver-port-or-ipaddr-port Try with python manage.py runserver 0.0.0.0:8000 2010/1/28 rajk > > HP-UX B.11.00 > Django-1.1.1 > > myhost:/home/root/MyPython> python > ActivePython 2.6.4.8 (ActiveState Software Inc.) based on > Python 2.6.

Problem with Django webserver on HP

2010-01-28 Thread rajk
HP-UX B.11.00 Django-1.1.1 myhost:/home/root/MyPython> python ActivePython 2.6.4.8 (ActiveState Software Inc.) based on Python 2.6.4 (r264:75706, Nov 3 2009, 13:55:48) [C] on hp-ux11 Type "help", "copyright", "credits" or "license" for more information. >>> import django >>> django.VERSION (1, 1,

Re: Problem with Django

2010-01-21 Thread esatterwh...@wi.rr.com
these error messages seem to rather explanatory. you are trying to serialize data that the serializer you are using can not serialize. you will have to convert the data into a format that is serializeable before hand and then send it. On Jan 21, 3:16 am, Meenu wrote: > My form contains date of

  1   2   3   >