Re: Validations and error messages

2008-07-12 Thread Jason S. Friedman
> Hi, > > This is my second hour with django. I have been working Rails but now > I am learnign some django too. > > I wonder how do you validate numeric, alphabetic, mix, special > characters data before calling save() ? > > And do you get any return after calling save()? I didnt get any on >

Customizing date field of form

2007-12-25 Thread Nickolay S. Savchenko
Hi! I would like to create a form for model using ModelForms. Here's a code: class ContractForm(forms.ModelForm): date1=forms.DateField(required=False, input_formats=['%d/%m/%y', '%d.%m. %y', '%d/%m/%Y', '%d.%m.

Re: Invite to join WhatsApp group

2022-08-06 Thread Balaji K S
Hey, There is many forums in Gmail itself. Why do you need Whatsapp Group which contains a personal mobile number? That's where these forums were great! Regards & Thanks, Balaji Ks On Fri, Aug 5, 2022 at 9:17 PM Satyajit Barik wrote: > Hey, > > Join in Whatsapp python group using the below li

Re: Beginner at Django

2023-01-27 Thread JACKSON IMMANUEL S
https://youtu.be/SIyxjRJ8VNY i am watching videos from telusko where he elaborates step by step and for extra u can search w3schools and geekforgeeks On Sunday, January 15, 2023 at 5:28:25 AM UTC+5:30 808 wrote: > Hello, > > I'm part of a fast paced, non lectured program. Which means, me and my

django-formset 0.13.2 I am facing the issue  VM55:1 Uncaught (in promise) SyntaxError: Unexpected token '<', "

2023-02-10 Thread 6C40 MAHALAKSHMI S
this is my code form.py class OfficedetForm(forms.ModelForm): office_logo = fields.FileField( label="Office Logo", widget=UploadedFileInput, required=True, ) office_gender_type = forms.ModelChoiceField( queryset=OFFICE_GENDER_TYPE_CHOICE.objects.all(), widget=Selectize( placeholder="Choose Gende

Re: Django Guide

2023-03-06 Thread Sumangala S N
Hello any tell which documents good for django rest Framework using polls app create crud operations On Mon, 6 Mar 2023, 07:35 Sandip Bhattacharya, wrote: > There is a good guide here as well: > https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django > > > - Sandip > > On Mar 5, 202

Re: Looking for a Learning Buddy

2023-06-18 Thread ANOOP S PILLAI
Hey, i am now studing data analytics. Would like to join you. Happy to hear from you. On Sat, 17 Jun, 2023, 3:30 am John Ayodele, wrote: > Hi! It's John. > > I am currently looking for a learning buddy💡, for Machine Learning. > I have little experience in Django🕸 and I code in Python🐍. > > The

Re: iNTRODUCTION

2023-07-10 Thread ANOOP S PILLAI
welcome to the community, I am also in my beginning curve. Hope to learn and be industry ready with all of you. On Sun, Jul 9, 2023 at 8:24 PM Emmanuel Kasirivu Lugoloobi < ema.kasir...@gmail.com> wrote: > Hello guys im studying network systems engineering in college and > intrested in becoming a

Re: Multiple Choice Quiz

2012-03-10 Thread John S. Dey
You might try reading the tutorial. It provides example of a form. On Mar 10, 2012, at 6:16 PM, jbr3 wrote: > Hi, > > I'm trying to build a quiz app. The quizzes will have varying numbers > of questions and a radio button next to each of 4 potential answers > (there will only be one correct ans

Re: Customizie admin views

2012-03-24 Thread John S. Dey
Thanks for the tip. I'm new to django/python and need a little bit of coaching. I found the response_change method in options.py as part of the ModelAdmin class. What is the best way to override? Could I create a class that inherits ModelAdmin and place the modified response_change in it. W

Re: Customizie admin views

2012-03-24 Thread John S. Dey
ponse_change(self,request,obj): > > result = super(MyAdmin, self).response_change(request, obj) > document=Yourmodel.objects.get(idcontent=obj.idcontent) > #rest of the code > > On Sat, Mar 24, 2012 at 11:40 PM, John S. Dey wrote: > Thanks for th

Save formtools.WizardView for later completion in another session?

2012-10-02 Thread Alex S-B.
I have a long multi-page form wizard (a django.contrib.formtools.wizard.views.SessionWizardView) that I would like the user to be able to continue working through even after logging out and back in from a different computer. That is, I would like the wizard data to persist across sessions until

Re: Social networking site

2012-10-12 Thread Manu S Ajith
isit this group at > http://groups.google.com/group/django-users?hl=en. > -- Manu S Ajith Program Lead, Ruby Kitchen Technosol Pvt. Ltd., Cochin - 682309. http://rubyk

Unable to work with Django API

2011-08-26 Thread Yves S. Garret
27\lib\site-packages\django\db\models\sql \compiler.py", line 59 , in as_sql out_cols = self.get_columns(with_col_aliases) File "C:\Python27\lib\site-packages\django\db\models\sql \compiler.py", line 18 8, in get_columns col_aliases) File "C:\Python27\lib\site-packa

Re: Unable to work with Django API

2011-08-26 Thread Yves S. Garret
Yeah, I just resolved that issue. And yes, I messed up my DB setup. It works now. I didn't set it up properly for sqllite. On Aug 26, 3:06 pm, Jirka Vejrazka wrote: > Hi there, > >   your database is not set up properly - are you sure you went through > the "database setup" section of the tutor

Re: django-admin.py not found

2011-08-30 Thread Yves S. Garret
What OS are you running? Is it in your path? I'm having a similar issue and managed to get around it (although the solution is not as elegant as I'd like) using this: python C:\Python27\Lib\site-packages\django\bin\django-admin.py startproject mysite2 On Tue, Aug 30, 2011 at 10:39 AM, PremAnand

Re: "manage.py" command not found

2011-08-30 Thread Yves S. Garret
Put python in front of it or check permissions to make it executable? On Tue, Aug 30, 2011 at 4:01 PM, Phil wrote: > Hi, > > I'm running the latest django 1.4 alpha from the repository. > > I have a django project hosted on bitbucket, I run the bitbucket "clone" > command and pull down my code o

Re: "manage.py" command not found

2011-08-30 Thread Yves S. Garret
I don't know about Windows (if anyone does, please say so), but in a *nix OS putting this (don't remember its official name) at the top of your file can help: #!/usr/bin/env python On Tue, Aug 30, 2011 at 4:11 PM, Phil wrote: > The permissions were OK, but putting python in front of it seems to

Re: "manage.py" command not found

2011-08-30 Thread Yves S. Garret
Maybe you have Python installed somewhere that's not described in the shebang line? Don't know, don't know your environment. Glad that your stuff works now :) . On Tue, Aug 30, 2011 at 4:22 PM, Phil wrote: > I opened my "manage.py" file to insert the line, but it was already there > on the fir

Re: django-admin.py not found

2011-08-30 Thread Yves S. Garret
> SyntaxError: invalid syntax > > > > > On Tue, Aug 30, 2011 at 11:28 AM, Yves S. Garret < > yoursurrogate...@gmail.com> wrote: > >> What OS are you running? Is it in your path? >> >> I'm having a similar issue and managed to get around it (al

Re: django-admin.py not found

2011-08-30 Thread Yves S. Garret
I dont see any file under site packages. I think my Django is not >> installed within Python. >> >> Something is wrong.. >> >> On Tue, Aug 30, 2011 at 8:28 PM, Yves S. Garret < >> yoursurrogate...@gmail.com> wrote: >> >>> Do me a favor and

Re: django-admin.py not found

2011-08-30 Thread Yves S. Garret
tar xzvf Django-1.3.tar.gz > cd Django-1.3 > sudo python setup.py install > > What does tar xzvf mean? > > On Tue, Aug 30, 2011 at 8:41 PM, Yves S. Garret < > yoursurrogate...@gmail.com> wrote: > >> Where do you have Python installed? >> >> I just follow

Re: django-admin.py not found

2011-08-30 Thread Yves S. Garret
oaded as mentioned and when I try this command the file setup.py > gets opened. > > C:\Django\Django-1.3>setup.py install > > On Tue, Aug 30, 2011 at 8:49 PM, Yves S. Garret < > yoursurrogate...@gmail.com> wrote: > >> No. Here is a more lengthy explanati

Unable to have a template NOT show up

2011-08-31 Thread Yves S. Garret
So I'm following this Django tutorial to become more familiar with how it works: https://docs.djangoproject.com/en/dev/intro/tutorial03/#write-views-that-actually-do-something I got to this part: Reload the page. Now you'll see an error: TemplateDoesNotExist at /polls/ polls/index.html Ah. The

Re: Unable to have a template NOT show up

2011-08-31 Thread Yves S. Garret
#changelist table thead th:first-child {width: inherit} 18 19{% endif %} 20 {% endblock %} 21 +++ +++ Doesn't this part get populated? What am I missing? On Aug 31, 11:23 am, "Yves S.

Re: django setup.py access denies

2011-08-31 Thread Yves S. Garret
If you want to unsubscribe, just send an e-mail here: django-users+unsubscr...@googlegroups.com On Wed, Aug 31, 2011 at 4:16 PM, Elie Obeid wrote: > so great I subscribed to OFFICIAL group of django for help and what I > get SPAMS, i'm so delighted!! > > -- > You received this message becaus

Re: Unable to have a template NOT show up

2011-08-31 Thread Yves S. Garret
You're right! Thank you. I have another issue with this page and I'll write later (busy with something else.) On Aug 31, 3:35 pm, Reinout van Rees wrote: > On 31-08-11 21:05, Yves S. Garret wrote: > > > In template c:\python27\lib\site-packages\django\contrib\admi

Re: Unable to have a template NOT show up

2011-08-31 Thread Yves S. Garret
When I said you're right, I meant your insight into my spelling error. Those are the most annoying errors since they are so difficult to figure out after staring at the screen for so long. On Aug 31, 3:35 pm, Reinout van Rees wrote: > On 31-08-11 21:05, Yves S. Garret wrote: > > &

Re: Unable to have a template NOT show up

2011-09-01 Thread Yves S. Garret
Specifically, the issue was in urls.py. On Sep 1, 2:24 am, kenneth gonsalves wrote: > On Wed, 2011-08-31 at 12:05 -0700, Yves S. Garret wrote: > > Caught ViewDoesNotExist while rendering: Could not import polls.view. > > Error was: No module named view > > should it not be

Re: Unable to have a template NOT show up

2011-09-01 Thread Yves S. Garret
page. Is this the issue of having something match before another url? I'll try to get my stuff zipped up and host it somewhere if that's not enough information. On Thu, Sep 1, 2011 at 2:24 AM, kenneth gonsalves wrote: > On Wed, 2011-08-31 at 12:05 -0700, Yves S. Garret wrote: >

Re: Unable to have a template NOT show up

2011-09-01 Thread Yves S. Garret
ate-loader postmortem Django tried loading these templates, in this order: - Using loader django.template.loaders.filesystem.Loader: - c:\users\ashvets\my_templates\admin\base_site.html\polls\detail.html (File does not exist) - Using loader django.template.loaders.app_directo

Re: Unable to have a template NOT show up

2011-09-01 Thread Yves S. Garret
tting done with this tutorial. http://www.amazon.com/Practical-Django-Projects-Experts-Development/dp/1430219386/ref=sr_1_1?s=books&ie=UTF8&qid=1314906677&sr=1-1 Anyways, this is my current error that I'm getting: TemplateDoesNotExist at /polls/1/ polls/detail.html Request Method:GETRequ

Re: Unable to have a template NOT show up

2011-09-02 Thread Yves S. Garret
g # performed by this configuration is to send an email to # the site admins on every HTTP 500 error. # See http://docs.djangoproject.com/en/dev/topics/logging for # more details on how to customize your logging configuration. LOGGING = { 'version': 1, 'di

Re: Unable to have a template NOT show up

2011-09-02 Thread Yves S. Garret
t 9:36 AM, Yves S. Garret wrote: > Yes, it is. > > + > > # Django settings for mysite project. > > DEBUG = True > TEMPLATE_DEBUG = DEBUG > > ADMINS = ( ># ('Your Name', 'your_em...@example.c

Re: problem with syncdb and MyQSL

2011-09-02 Thread Yves S. Garret
Show me your settings.py file, just post all of it. On Fri, Sep 2, 2011 at 11:38 AM, John wrote: > I am a total noob so forgive my ignorance, but I have been going > through the Django tutorial - > https://docs.djangoproject.com/en/1.3/intro/tutorial01/ > > I am at the point in the tutorial wher

Re: problem with syncdb and MyQSL

2011-09-02 Thread Yves S. Garret
I'm looking at this portion: +++ INSTALLED_APPS = ( #'django.contrib.auth', #'django.contrib.contenttypes', #'django.contrib.sessions', #'django.contrib.sites', #'django.contrib.messages', #'django.contrib.staticfiles', 'polls' # Unco

Re: problem with syncdb and MyQSL

2011-09-02 Thread Yves S. Garret
I'm curious, maybe someone knows this who has actually seen the code behind the scenes, but is this actually true? When Django says "Creating tables ... Creating table polls_poll", does that mean it's already connected to the database and working on it or is it a message that's produced

Re: Django mysite problem

2011-09-14 Thread Yves S. Garret
Is Python in your path? On Wed, Sep 14, 2011 at 10:01 PM, PremAnand Lakshmanan wrote: > I have a problem executing this command, > > C:\Python27\Lib\site-packages\django\bin\django-admin.py startproject > mysite2 > > SyntaxError: invalid syntax > > I get the above error.. > > -- > Prem > > -- >

Re: Looking for a job in the Arctic Circle

2011-09-30 Thread Yves S. Garret
http://www.ccpgames.com/en/jobs On Fri, Sep 30, 2011 at 7:35 AM, Kevin Renskers wrote: > Hi all, > > I am a Senior Python/Django programmer from The Netherlands, and I am on a > quest to move to the Arctic Circle. Right now my focus is on Reykjavik in > Iceland and Tromsø in Norway. It's quite h

Re: Looking for a job in the Arctic Circle

2011-09-30 Thread Yves S. Garret
Whatever, their loss :-) On Fri, Sep 30, 2011 at 8:47 AM, Kevin Renskers wrote: > CCP actually wanted me for their UI Programmer position. Did the first > round of interviews, made a usability report for them, all was well. And > then they decided that they don't really need a UI Programmer afte

Re: Looking for a job in the Arctic Circle

2011-09-30 Thread Yves S. Garret
You got your reasons. That's alright. Have you looked into Greenland? How about doing a self-employed gig where you do coding for other based on contracts and orders? On Fri, Sep 30, 2011 at 9:27 AM, Kevin Renskers wrote: > I don't think many people will ever understand why I'd want to move t

What is DjangoGSMHTTP?

2012-01-09 Thread Yves S. Garret
Is this the light-weight server that is used to serve up Django pages when you are developing? This is not on my machine, but in my organization we have a machine where this process recently crashed. -- You received this message because you are subscribed to the Google Groups "Django users" gro

Unable to do import django

2013-07-08 Thread Yves S. Garret
I've gone through the entire django install steps and when I fired up my Python shell (python 2.7.5, to be exact) and did import django, this is what I got: >>> import django Traceback (most recent call last): File "", line 1, in ImportError: No module named django sudo python setup.py install

Re: Unable to do import django

2013-07-08 Thread Yves S. Garret
s" or "license" for more information. >>> import django Traceback (most recent call last): File "", line 1, in ImportError: No module named django On Mon, Jul 8, 2013 at 2:10 PM, Yves S. Garret wrote: > I've gone through the entire django install steps an

Re: Unable to do import django

2013-07-08 Thread Yves S. Garret
On Monday, July 8, 2013 2:28:58 PM UTC-4, larry@gmail.com wrote: > > On Mon, Jul 8, 2013 at 12:10 PM, Yves S. Garret > > wrote: > > I've gone through the entire django install steps and when I fired up my > > Python shell > > (python 2.7.5, to be exact)

Re: Unable to do import django

2013-07-08 Thread Yves S. Garret
On Monday, July 8, 2013 4:03:12 PM UTC-4, larry@gmail.com wrote: > > On Mon, Jul 8, 2013 at 2:00 PM, Yves S. Garret > > wrote: > > On Monday, July 8, 2013 2:28:58 PM UTC-4, larry@gmail.com wrote: > >> > >> On Mon, Jul 8, 2013 at 12:10 PM, Yves S. Ga

Re: Unable to do import django

2013-07-08 Thread Yves S. Garret
On Monday, July 8, 2013 4:31:47 PM UTC-4, Yves S. Garret wrote: > > On Monday, July 8, 2013 4:03:12 PM UTC-4, larry@gmail.com wrote: >> >> On Mon, Jul 8, 2013 at 2:00 PM, Yves S. Garret >> wrote: >> > On Monday, July 8, 2013 2:28:58 PM UTC-4, larry@gmai

Re: Unable to do import django

2013-07-08 Thread Yves S. Garret
On Monday, July 8, 2013 4:36:17 PM UTC-4, larry@gmail.com wrote: > > On Mon, Jul 8, 2013 at 2:34 PM, Yves S. Garret > > wrote: > > On Monday, July 8, 2013 4:31:47 PM UTC-4, Yves S. Garret wrote: > >> > >> On Monday, July 8, 2013 4:03:12 PM UTC-4, larry..

Re: Unable to do import django

2013-07-08 Thread Yves S. Garret
was a > manual build > > Also you should consider using virtualenv or similar > > > https://docs.djangoproject.com/en/1.5/topics/install/#install-the-django-code > > On Mon, 8 Jul 2013 15:58:10 -0400 > "Yves S. Garret" > wrote: > > > Ok, just instal

Re: Unable to do import django

2013-07-08 Thread Yves S. Garret
On Monday, July 8, 2013 6:11:36 PM UTC-4, Drew Ferguson wrote: > > On Mon, 8 Jul 2013 14:46:25 -0700 (PDT) > "Yves S. Garret" > wrote: > > > On Monday, July 8, 2013 5:18:21 PM UTC-4, Drew Ferguson wrote: > > > > > > Yo >

Unable to get python manage.py runserver to work

2013-07-11 Thread Yves S. Garret
quot;/usr/lib/python2.6/site-packages/django/conf/__init__.py", line 48, in _setup self._wrapped = Settings(settings_module) File "/usr/lib/python2.6/site-packages/django/conf/__init__.py", line 134, in __init__ raise ImportError("Could not import settings &#x

Re: Unable to get python manage.py runserver to work

2013-07-11 Thread Yves S. Garret
Note, I'm trying to avoid using a database. I'm, ultimately, planning on getting Django Dynamic Scraper to work and figured that this is a good first step. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: Unable to get python manage.py runserver to work

2013-07-12 Thread Yves S. Garret
On Friday, July 12, 2013 5:18:58 AM UTC-4, Tom Evans wrote: > > On Fri, Jul 12, 2013 at 4:01 AM, Yves S. Garret > > wrote: > > I was able to import django from inside of python 2.6.6 (which is what > I'm > > going with > > at the moment). However

Re: Unable to get python manage.py runserver to work

2013-07-12 Thread Yves S. Garret
On Friday, July 12, 2013 1:48:13 PM UTC-4, Yves S. Garret wrote: > > > On Friday, July 12, 2013 5:18:58 AM UTC-4, Tom Evans wrote: >> >> On Fri, Jul 12, 2013 at 4:01 AM, Yves S. Garret >> wrote: >> > I was able to import django from inside of python 2.6.6 (wh

Re: django-admin.py startproject myproject - problem

2011-01-15 Thread Casey S. Greene
It looks like django is not in your site packages directory. Did you specifically want to install the development version (that is what you linked to)? If not, then a simple: sudo apt-get install python-django will install django in kubuntu (10.10 at least, and I think earlier). Hope this h

Re: Django compressor

2011-01-15 Thread Casey S. Greene
Assuming you mean this: https://github.com/mintchaos/django_compressor From their example: {% load compress %} {% compress css %} 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

Re: Django, Postgres and recovering from database constraints

2011-02-01 Thread Casey S. Greene
Here is some code pulled from my (using postgres) django application that recovers fine. Perhaps this is helpful to you. I am storing the non-unique values and dealing with them later (pulling from an external source that is supposed to have unique IDs assigned but they don't always pan out s

Re: Django, Postgres and recovering from database constraints

2011-02-01 Thread Casey S. Greene
autocommit key in the OPTIONS part of your database configuration in DATABASES: 'OPTIONS': { 'autocommit': True, } from http://docs.djangoproject.com/en/1.2/ref/databases/ -- Casey On 02/01/2011 01:52 PM, Casey S. Greene wrote: Here is some code pulled from my (us

Re: Django Project - handling call to the "root" url?

2011-02-02 Thread Casey S. Greene
Hi Derek, When people log in, what do you want to happen? Do you want them to reach the admin interface or some other page? -- Casey On 02/02/2011 09:35 AM, Derek wrote: Tom Restated thusly: 1. I want the "/" to display the login form (and not append 'admin/' to the visible URL) 2. I want

Re: Ordering/sort_by from a custom method

2011-02-09 Thread Casey S. Greene
this isn't working because of the self.episode stuff... > > But I've to filter somehow by episode (the ForeignKey), and I don't > > know how. Is there anyway of doing this?? What I'm doing is right or > > there would be an easier way of doing this? > > >

Re: Question(s) Concerning Securing Pages From Bots?

2011-02-22 Thread Casey S. Greene
The term that you are looking for is "captcha." If you google for: django captcha you will find a wealth of information. Hope this helps! Casey On 02/22/2011 01:09 PM, hank23 wrote: On some web pages the user is prompted to type in a series of randomly generated characters which appear on th

Re: Cross Site Request Forgery (csrf) via POST / JQuery

2011-02-25 Thread Casey S. Greene
I'm not sure if you ever solved this, but the provided code didn't work with jquery 1.5.0 for me (though it does with 1.4.4 and 1.5.1). Maybe this is what you are observing. Hope this helps! Casey On 02/22/2011 08:30 PM, gorans wrote: Hi I'm using Django's CSRFViewMiddleware and am making a

Re: Django-Celery: Rate Limit

2011-03-07 Thread Casey S. Greene
You might want to try these questions on the celery mailing list: http://groups.google.com/group/celery-users Hope this helps, Casey On 03/07/2011 09:58 AM, ju wrote: Why when I use rate_limit even the first task and the first try is waiting for some time before it's executed? -- You received

Re: csrf_exempt decorator and class based views

2011-03-08 Thread Casey S. Greene
self.request = request try: callback = getattr(self, "do_%s" % request.method) except AttributeError: allowed_methods = [m.lstrip("do_") for m in dir(self) if m.startswith("do_")] return HttpResponseNotAllowed(allowed_m

Re: Feeling some serious timezone pain

2014-08-20 Thread Geoffrey S. Knauth
2014-08-30 16:00:00+00:00 GMT 2014-08-30 12:00:00-04:00 Toronto (Summer) This looks correct to me. Maybe you were expecting the timezone to be -05:00? That would be standard time (winter). Daylight savings time is -04:00. -- Geoffrey S. Knauth | [1]http://knauth.org/gsk On Wed, Aug 20, 2014

Re: Feeling some serious timezone pain

2014-08-21 Thread Geoffrey S. Knauth
Could there be something in or running the template that has a DST (daylight savings time) value turned off? -- Geoffrey S. Knauth | http://knauth.org/gsk On Thu, Aug 21, 2014, at 07:46, Erik Cederstrand wrote: > Den 21/08/2014 kl. 00.09 skrev Chris Whiten : > > > I can und

problem with runserver

2014-11-17 Thread Det S. Pillner
Hi, yes I know this topic exist, bud: I follow this book: http://www.djangobook.com/en and I can do all the nice things up to the database chapter. I use SVN to save my data and to transfer to other computers. I'm wondering: it does not working on the 'new' machine. Every time I got error mes

Re: new to Django and Python

2014-01-08 Thread Hans S . Tømmerholt
save it with the proper encoding, UTF-8 in this case. -- Vennlig hilsen/Best regards Hans S. Tømmerholt Project manager, Web sites -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails f

Documentation of javascript_catalog when packages parameter is None

2014-05-22 Thread Rafael S. Suguiura
Hello! I'm starting to use javascript_catalog, I use makemessages to collect all (few) strings from my whole project in one .po file located at project root. Documentation[1] states the following: Each string in packages should be in Python dotted-package syntax (the same > format as the strings

[no subject]

2014-06-13 Thread S. M. Mirghorbani
-- 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 email to django-users@googlegroups.com. V

migrate doesnt work

2018-03-25 Thread nauj p. s.
Hi! I'm starting to use Django 1.8 with the firebird backend. I have created my models.py with inspectdb, so I have the database already created. Put the primary keys in the models. When I try to do migrate django crashes with a exception that says conversion error of a string, seems a curre

Re: Stuck at Tutorial 1

2017-02-01 Thread Nibil M S
There is some syntax error in the file. Please ensure that your file is following python syntax. I hope you know basics of python. On Wed, 01 Feb 2017 13:17:39 +0530 Zhou Sicong wrote Hi, I tried doing exactly everything as told in Tutorial 1 (http

Having trouble with Django tutorial

2017-03-02 Thread Yves S. Garret
Hi all, I'm going through this tutorial: https://docs.djangoproject.com/en/1.10/intro/tutorial01/ And the problem that I'm having is when I start the 'polls' application from inside my project and then go to localhost:8000/polls, I get a 404. Page not found (404) Request Method: GET Request URL

Re: Having trouble with Django tutorial

2017-03-03 Thread Yves S. Garret
olls.urls')), > url(r'^admin/', admin.site.urls),] > > > On Thu, Mar 2, 2017 at 11:40 AM, Yves S. Garret > wrote: > >> Hi all, >> >> I'm going through this tutorial: >> https://docs.djangoproject.com/en/1.10/intro/tutorial01/ >

Re: Having trouble with Django tutorial

2017-03-03 Thread Yves S. Garret
5:47 AM UTC-5, Vijay Khemlani wrote: > > How does your learning_python.urls look like? > > On 3/3/17, Yves S. Garret > wrote: > > Yes. > > > > On Thursday, March 2, 2017 at 11:09:58 AM UTC-5, Vijay Khemlani wrote: > >> > >> Did you do this step?

Re: Having trouble with Django tutorial

2017-03-03 Thread Yves S. Garret
t 10:04:32 AM UTC-5, Vijay Khemlani wrote: > > You should import the polls urls as it appears in the tutorial > > url(r'^polls/', include('polls.urls')), > > On 3/3/17, Yves S. Garret > wrote: > > Like this: > > > > from dj

Re: Having trouble with Django tutorial

2017-03-03 Thread Yves S. Garret
Is this learning_python/urls.py or learning_python/learning_python/urls.py? On Friday, March 3, 2017 at 10:04:32 AM UTC-5, Vijay Khemlani wrote: > > You should import the polls urls as it appears in the tutorial > > url(r'^polls/', include('polls.urls')), >

Re: Having trouble with Django tutorial

2017-03-05 Thread Yves S. Garret
Yes, that did it. I placed the file into learning_python/learning_python and everything just worked. Thank you -- 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

Is it possible to write generic module?

2017-03-27 Thread Det S. Pillner
Hi all, I work on tools for my job based on Django 1.8.17. In different projects (with different databases) I use same routine to get some data (config data). My problem is: the way is every time the same: import model, get config data from database. The difference is: model name is in every d

Re: Is it possible to write generic module?

2017-03-27 Thread Det S. Pillner
, March 27, 2017 at 3:00:58 PM UTC+2, Avraham Serour wrote: > > yes, table name can a parameter to your function > > what do you mean by "import this table"? > > On Mon, Mar 27, 2017 at 3:41 PM, Det S. Pillner > wrote: > >> Hi all, >> >> I

Different models in child and Parent Templates

2017-05-01 Thread jithu s jacob
I am using parent template as base which has a side nav bar. the child template keeps changing with clicking of buttons. My child template changes correctly with call to different views through the URLs. Now I want to add some data from model i the parent template irrespective of the view/mod

Re: Different models in child and Parent Templates

2017-05-02 Thread jithu s jacob
e way template_name='blog/contact.html' model=Blog On Monday, May 1, 2017 at 4:50:37 PM UTC+5:30, jithu s jacob wrote: > > I am using parent template as base which has a side nav bar. the child > template keeps changing with clicking of buttons. > > My child templat

Re:

2020-04-28 Thread Shreyas S K
Please refer the attached. On Tuesday, 28 April 2020 05:41:32 UTC+5:30, fahad rasool wrote: > > How to retrieve data from database and display on web page ,example i want > to display the details of the user on a web page which he has entered in a > form which is stored in database. > -- You

Django and PostGIS app to Google cloud.

2020-07-28 Thread viraj s solanki
Hello, everyone, Anyone can help to push my Geodjango + PostGIS web app to host on Google Cloud? I can pay a consulting fee for the time one invest to help me. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group an

question for register_model()

2020-09-05 Thread y b S
Hi all, I am currently studying Django source code, then i have one question: in registry.py, for app_config in self.app_configs.values(): app_config.import_models() import_models() uses self.apps.all_models but when this variable is filled? and when and how register_model() is

Missing/inconsistent GenericIPAddressField validation?

2015-09-07 Thread Hans S . Tømmerholt
come. -- Best regards/vennlig hilsen Hans S. Tømmerholt Application Developer, Hosting, Global IT Opera Software -- 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,

Re: Missing/inconsistent GenericIPAddressField validation?

2015-09-07 Thread Hans S . Tømmerholt
On Mon, 07 Sep 2015 12:41:15 +0200, Hans S. Tømmerholt wrote: Hello. In a nutshell: It appears the validator applied to a GenericIPAddressField form field doesn't allow an IP address with a netmask. But saving the same thing to a PostgreSQL database via a model works just fine.

use django logging from outside

2016-01-20 Thread Det S. Pillner
Hi all, I work on a django project. I use very heavy logging in this project. Some parts of code needs to start over a cron job outside of the django project. In this - I call it modules - I try to use my existing django logging config. Code execution displays no errors bud there are no logging

Re: use django logging from outside

2016-02-11 Thread Det S. Pillner
On Saturday, January 23, 2016 at 11:38:31 AM UTC+1, James Schneider wrote: > > > On Jan 20, 2016 2:35 AM, "Det S. Pillner" > wrote: > > > > Hi all, > > > > I work on a django project. I use very heavy logging in this project. > Some parts of c

Re: use django logging from outside

2016-02-15 Thread Det S. Pillner
On Thursday, February 11, 2016 at 1:32:51 PM UTC+1, Det S. Pillner wrote: > > > > On Saturday, January 23, 2016 at 11:38:31 AM UTC+1, James Schneider wrote: >> >> >> On Jan 20, 2016 2:35 AM, "Det S. Pillner" wrote: >> > >> > Hi all, >

How to use selenium automated testing in django projects

2016-02-27 Thread Vikneswaran S J
I need to use selenium automated testing for django application with input from excel sheet. How to use use this feature? any idea? -- 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

Using a ressource amongst several uwsgi processes

2018-06-18 Thread s . baumgarten . berlin
Hi all, I am building a chatbot right now and am initiating the 'chatbot-agent' globally in the views.py, so that it wouldn't have to be loaded/initiated for each API request. *#global variable in views.py:* *agent = Agent.load('/usr/src/app/models/current/dialogue', interpreter='/usr/src/app/

Power BI Dashboard Embed Code Using Django.

2021-03-10 Thread GEETHANJALI S P
Hi, How to embed Report/dashboard in Power BI to a Web portal using Django? Thanks, Geethanjali. -- 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+u

Migrating a code written in flask framework to django.

2021-03-12 Thread GEETHANJALI S P
Hi all, Suppose a program is written in flask framework how can we convert it into django? Thanks in advance. -- 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 dja

Re: Migrating a code written in flask framework to django.

2021-03-12 Thread GEETHANJALI S P
Hi.. https://github.com/microsoft/PowerBI-Developer-Samples/tree/master/Python This is the link of flask codeI wanted to change this to django..How to do that..? On Sat, 13 Mar, 2021, 1:38 AM Kasper Laudrup, wrote: > On 12/03/2021 19.50, GEETHANJALI S P wrote: > > Suppose a p

Python libraries for visualisations

2021-03-14 Thread GEETHANJALI S P
Hi..How to build a dashboard using django and python libraries for creating visualisations?. Please let me know .Thanks in advance! -- 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,

Re: Python libraries for visualisations

2021-03-15 Thread GEETHANJALI S P
2021, 10:19 AM GEETHANJALI S P < > geethanjalisp1...@gmail.com> wrote: > >> Hi..How to build a dashboard using django and python libraries for >> creating visualisations?. Please let me know .Thanks in advance! >> >> -- >> You received this message bec

Plotly-Dash error

2021-04-05 Thread GEETHANJALI S P
Hi Guys, I'm getting an error while executing the code...Please help me if anyone is aware of dash and plotly. Thanks in advance. #code: getting error as.. Callback error updating the graph.figure import pandas as pd import dash import dash_core_components as dcc import dash_html_components as

I have one doubt

2021-04-29 Thread Bheemanagowda S Gowdra
I am knew to Django I am getting below warning unresolved import 'django.contrib' -- 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...@go

Re: I have one doubt

2021-04-30 Thread Bheemanagowda S Gowdra
I had installed On Fri, 30 Apr, 2021, 15:17 , wrote: > Hope you have the Installed_apps setup properly. > > > > > > *From:* django-users@googlegroups.com *On > Behalf Of *Bheemanagowda S Gowdra > *Sent:* 30 April 2021 15:10 > *To:* django-users@googlegroups.c

<    4   5   6   7   8   9   10   >