Re: How to find the label for a value

2006-02-13 Thread Amit Upadhyay
activestate.com/ASPN/Cookbook/Python/Recipe/414283 -- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay+91-9867-359-701

Re: How to find the label for a value

2006-02-13 Thread Amit Upadhyay
rface. Django already does it. If you have specified choices for any member my_member of model MyModel, django will add a get_my_member_display() function to MyModel objects. -- Amit Upadhyay Blog: http://www.rootshell.be/~upadhyay+91-9867-359-701

two object returned for exact pk lookup

2006-02-15 Thread Amit Upadhyay
tp://nerdierthanthou.nfshost.com/ Can anyone tell me the possible reason for the same? I am completely baffled.Thanks,-- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay +91-9867-359-701

Re: two object returned for exact pk lookup

2006-02-15 Thread Amit Upadhyay
than that, I would like the fix the real problem. Any clues? I am running django as fastcgi over dreamhost, in case if it helps.On 2/15/06, Amit Upadhyay <[EMAIL PROTECTED] > wrote:Hi,Today I got this in mail:  File "/home/amitu/django_projects /amitucom/apps/blogger/js_views.py",

Re: two object returned for exact pk lookup

2006-02-15 Thread Amit Upadhyay
ase is MySQL [MySQL 5.0.18-standard-log]. -- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay+91-9867-359-701

Re: Web Services

2006-02-18 Thread Amit Upadhyay
Hi,Check out http://nerdierthanthou.nfshost.com/2005/09/soaped-django.html and http://nerdierthanthou.nfshost.com/2005/09/xmlrpc-support-for-django.html before you go on implementing something.On 2/18/06, mateja < [EMAIL PROTECTED]> wrote:Chaos,I too am interested in adding XML-RPC functionali

Re: forward references

2006-02-18 Thread Amit Upadhyay
s called at runtime. In this case it will be, just import articles, and you should be fine. -- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay+91-9867-359-701 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Dja

Re: forward references

2006-02-18 Thread Amit Upadhyay
from django.models.myapp import articlesOn 2/18/06, Rock <[EMAIL PROTECTED]> wrote: -- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay+91-9867-359-701 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "D

django problem at dreamhost

2006-02-19 Thread Amit Upadhyay
folder. Has anyone seen something like this happening with their django application hosted on dreamhost? -- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay+91-9867-359-701 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: django problem at dreamhost

2006-02-19 Thread Amit Upadhyay
roblem is I am serving some _javascript_ that is embedded in the head of tens of blogs and firefox(atleast) will not render anything till before it has either got a 404 for _javascript_s in head or have timed out. Two minute delay will kill my service if it stops my clients blog from loadin

Re: django problem at dreamhost

2006-02-19 Thread Amit Upadhyay
guys have experienced ( http://wiki.dreamhost.com/index.php/Ruby_on_Rails#QuickStart_Guide) - check out point 5. Thanks! Point 5 sounds like what might be happening with me, do you know what will I have to change to do what they have suggested in ruby. -- Amit UpadhyayBlog: http://www.rootshell.be/

Re: django problem at dreamhost

2006-02-19 Thread Amit Upadhyay
I have used command line svn since before they started the new feature. I have a few domains hosted at dreamhost (on different machines).  Onemachine has had problems (squirm) while another machine has been fine.How do you get a new machine? Will I have to create a new account? -- Amit UpadhyayBlog

Re: Manipulator and views problem, where to save object ?

2006-02-20 Thread Amit Upadhyay
a save() and it should do whatever you want your form precessing logic is.-- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay+91-9867-359-701 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" gr

Re: Manipulator and views problem, where to save object ?

2006-02-20 Thread Amit Upadhyay
s pas depasser100kb"Typo? -- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay+91-9867-359-701 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send ema

Re: Manipulator and views problem, where to save object ?

2006-02-20 Thread Amit Upadhyay
or. What you want is: if len(field_data["content"]) > 10: Best wishes,-- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay +91-9867-359-701 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Djang

Re: Manipulator and views problem, where to save object ?

2006-02-20 Thread Amit Upadhyay
nt say anything. otherwise when its called i get an error :isFoo() takes exactly 3 arguments (2 given) Exception Location:/usr/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/formfields.pyin get_validation_errors, line 70Remove 'self' from function definition. -- A

Re: urllib2.open failing in Django?

2006-02-20 Thread Amit Upadhyay
r http, and parsing html in my django application, and its working like a charm. -- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay+91-9867-359-701 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&

Re: Template Does Not exist Error

2006-02-20 Thread Amit Upadhyay
my template directory.Use {% extends "subfolder/parent" %} if they are in a subfolder of templates directory. -- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay+91-9867-359-701 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

Re: two object returned for exact pk lookup

2006-02-20 Thread Amit Upadhyay
ication has been running without those scary mails since last 6-8 hours. Adrian, what is the stutus on that bug, can you please apply it to trunk? -- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay+91-9867-359-701 --~--~-~--~~~---~--~~ You received this message

Re: only show something(form) if javascript-enabled

2006-02-20 Thread Amit Upadhyay
block", ofcourse this won't happen unless _javascript_ is enabled. -- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay+91-9867-359-701 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&qu

Re: django problem at dreamhost

2006-02-20 Thread Amit Upadhyay
e finishes loading after minutes. Looks like a problem in their apache/fcgi. Yours looks like a bug in django or your code. -- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay+91-9867-359-701 --~--~-~--~~~---~--~~ You received this message because you are subscri

Re: SetEnv issue

2006-02-22 Thread Amit Upadhyay
Hi Kenneth,Are you using VirtualHosts? I had problem with them on some machine, and I moved to someother without virtual hosts and it worked. On 2/23/06, Kenneth Kalmer <[EMAIL PROTECTED]> wrote: GuysI've scoured google, this list and the docs for two days now and Isimply can't get django to work

Re: problems with POST

2006-02-23 Thread Amit Upadhyay
On 2/24/06, Vladimir <[EMAIL PROTECTED]> wrote: action=""> method="POST">Hi,This is a very common newbie mistake, make that action="">.-- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay+91-9867-359-701 --~--~-~--~~~-

Re: order_with_respect_to

2006-02-24 Thread Amit Upadhyay
onsider removing this line, and recreating tables. -- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay+91-9867-359-701 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

Re: order_with_respect_to

2006-02-24 Thread Amit Upadhyay
Hi Patrick,good point.i´d still appreciate some help with my initial question though. Can you please post the exact error that you are getting? -- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay +91-9867-359-701 --~--~-~--~~~---~--~~ You received this message

Re: order_with_respect_to

2006-02-24 Thread Amit Upadhyay
about template error. -- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay+91-9867-359-701 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: order_with_respect_to

2006-02-24 Thread Amit Upadhyay
post those lines, or attach your template. -- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay+91-9867-359-701 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: view on site

2006-03-02 Thread Amit Upadhyay
side called (view on site) and when i clicked on it it gave meerror says page not found what should i do to make this button work -- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay+91-9867-359-701 --~--~-~--~~~---~--~~ You received this message because you are subsc

Re: Can't import view

2006-03-06 Thread Amit Upadhyay
On 3/6/06, tomass <[EMAIL PROTECTED]> wrote: (r'^jobmonitor/$', include('greenleaftech.jobmonitor.views.index')),try: (r'^jobmonitor/$', 'greenleaftech.jobmonitor.views.index'),include is used to include a different urls file for further resolution.

Re: Attn. Dreamhost users

2006-03-08 Thread Amit Upadhyay
On 3/8/06, PythonistL <[EMAIL PROTECTED]> wrote: But how can I kill ALL of them?One by one something like:kill processNumber?pkill is your friend. I use "pkill -9 python2.4" on abovenet for most code changes. -- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay

Re: Attn. Dreamhost users

2006-03-08 Thread Amit Upadhyay
to respond, will wait for 2 minutes or so and then give me 500 server internal error, in the process it would create tens of core files. This problem has fixed automatically on both occasions in 5-10 minutes. -- Amit UpadhyayBlog: http://www.rootshell.be/~upa

Re: why is my view for a submitted form not getting a POST?

2006-03-09 Thread Amit Upadhyay
ual page where the form would be deployed. Django facilitates these things as best practices, you are completely free to follow whatever your requirements tell you. Its usually recommended to serve the form in the GET request and handle it in POST request on the same url. -- Amit UpadhyayBlog: http://w

Re: specifying a model with a field computed from other fields

2006-03-09 Thread Amit Upadhyay
define for your model, will be called just before the model is saved in the database. You can put your logic there. -- Amit Upadhyay Blog: http://www.rootshell.be/~upadhyay+91-9867-359-701 --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Question about _pre_save

2006-03-12 Thread Amit Upadhyay
ango's control, handled purely at the databaselevel.This is possibly the only solution, but is an overkill to your problem of just maintaining an auto incrementing integer. I have not checked, but using null=True, passing None, and modifying the table to add autoincrement would be way to go

Re: Module imports in models

2006-03-14 Thread Amit Upadhyay
(size)    im.save(outfile,quality=100)         class META:    admin = meta.Admin()    def get_thumb_url(self):    import os.path    tnd = "/thumbnails/"    tnp = "tn_"    fs = self.get_thumbnail_url ()    return os.path.dirname(fs) + tnd + tnp + os.path.

Re: problem with login_required decorator in python2.3

2006-03-17 Thread Amit Upadhyay
needs, but do not like the /accounts/login/ url, you can edit django/views/auth/login.py and set them what you want. They should make it configurable through setting.py Django Tips-- Amit Upadhyay Blog: http://www.rootshell.be/~upadhyay+91-9867-3

Re: Help with performance?

2006-04-06 Thread Amit Upadhyay
e from django.models.mymodel import *, and this alone takes some time to happen. May be m-r is a little better in initialization. Design your scripts keeping this in your mind, create the whole script in python, and not invoking python as a helper process used in some loop maybe better. -- Amit Upadhy

Re: Feed rss and xml

2006-04-10 Thread Amit Upadhyay
t() Come to think of it, it is still there, and every feed aggregator, atleast the ones I or my clients have tried, consumes this without any problem. -- Amit UpadhyayBlog: http://www.rootshell.be/~upadhyay+91-9867-359-701 --~--~-~--~~~---~--~~ You received this messa

Maintaining state across multiple views

2021-12-17 Thread Amit Karnam
Hey all, I am working on a web app using django where in the first view i.e the landing page I collect a piece of info around which the web app revolves. I need this piece of info to be saved across different views. GOAL : Instead of the drop down in the diseaseName I want the disease entere

How does the multiple database concept work after django 1.2

2012-03-02 Thread Amit Sethi
Circle and Square are the different models ... Can someone tell me how this came out ... I checked again by moving the back to 1.1 and it works like a charm ... Interesting while I have given defination of one more database in my settings ... I am not actually using it anywhere as yet... Thanks Amit

Is it worth refactoring a version 2 of django app to use reusable app

2012-03-05 Thread Amit Sethi
Hi all, My question is very simple , Is it worth refactoring an existing and running app for its version 2 , such that it uses reusable apps. Also is there a nice blog post on the benefits of reusable apps -- A-M-I-T S|S -- You received this message because you are subscribed to the Google Gro

Delegating a async job from a django view

2011-08-25 Thread Amit Sethi
factors . I somehow think that twisted can be used for this but I am not sure how one can use twisted with django . Are there any other solutions that i can use for this problem . Thanks Amit -- A-M-I-T S|S -- You received this message because you are subscribed to the Google Groups "Django

Workflow for a django based facebook canvas app

2011-09-23 Thread Amit Sethi
Well a very common workflow for writing views in django is to do something like this if request.method == 'POST': do some form related stuff else : do some other stuff But for a facebook canvas app all requests are POST , how can I change my workflow such that my app works for both facebook

circular dependency in models.py

2011-09-26 Thread Amit Sethi
icated to write a query to get the score for a story and order stories by vote what should i do . Thanks Amit -- A-M-I-T S|S -- 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@google

Facebook csrf middleware problem

2011-09-28 Thread Amit Sethi
Hi all , I am writing that shall be a facebook canvas app as well as a standard app at the same time. Now for the time being I am just working with removing csrf from my middleware classes but does anyone know about a project that handles this more effectively such that i can use csrf middleware fo

Integrating facebook canvas with django

2011-10-20 Thread Amit Sethi
Hi all , I have to integrate a few django apps with facebook without having to do a major code change on the django apps side. One of the things that I need is to do is to replace django's user backend such that it uses the facebook authentication mechanism .But at same time be able to use other t

Taking a sample mysql dump

2012-01-05 Thread Amit Sethi
Is there a way one could take the dump of just a few sample fields using mysqldump or some other similar tool. ?? Such that you can use it similar to fixture data -- A-M-I-T S|S -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

ANNOUNCE: importd 0.2.0 released

2013-08-05 Thread Amit Upadhyay
custom locations Feedback appreciated, Thanks -- Amit Upadhyay amitu.com [+1 (408) 464-8800] -- 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 djang

Re: implement gmail type address adding functionality in django

2013-08-05 Thread Amit Yadav
I think what you are looking for is named as AUTOCOMPLETE. You can search jquery-ui autocomplete On Monday, August 5, 2013 3:42:05 PM UTC+5:30, roopas...@gmail.com wrote: > > Hi, > > What is the name of that technology i want to search in google. > > Cheers! > > > On Monday, August 5, 2013 3:29:

sqlite3 and south data migration

2011-04-27 Thread Amit Sethi
Hi all does sqlite3 not support data migration. I am trying to implement migration on my test fixtures using south however i get this particular error : AttributeError: 'DatabaseFeatures' object has no attribute 'supports_tablespaces' -- A-M-I-T S|S -- You received this message because you ar

form being deleted from base.html

2011-05-24 Thread Amit Sethi
Hi all , I am not able to understand this but it seems while extending the base template removes form tag. Is this possible in some scenario. This is the only explanation I am able to come up with for the behavior I am seeing in my app. -- A-M-I-T S|S -- You received this message because you ar

Re: GET/POST

2011-05-24 Thread Amit Sethi
I think this is csrfmiddleware issue . Just add {% csrf_token %} like this {% csrf_token %} -- A-M-I-T S|S -- 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: form being deleted from base.html

2011-05-24 Thread Amit Sethi
Hi all sorry it was an issue with my html. -- A-M-I-T S|S -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr.

South migration for fixtures

2011-05-25 Thread Amit Sethi
Hi all , I might be wrong with some of the concepts as I am new to south. I am using south to migrate some fixture data for a django app. Also something worth noting is I am bringing south new into the django app it was not part of installed apps till now . So the workflow I have followed till now

Re: South migration for fixtures

2011-05-26 Thread Amit Sethi
And what process should be followed in production and for other collaborators. -- A-M-I-T S|S -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group,

Slightly cryptic debug message

2011-05-26 Thread Amit Sethi
Hi all , I have a question , On the the new versions of django (after 1.2) a lot of syntax errors and other errors come as Templatesyntax errors instead .. . Shouldn't django try to give more compatible debug message. -- A-M-I-T S|S -- You received this message because you are subscribed to the

Re: Slightly cryptic debug message

2011-05-26 Thread Amit Sethi
Well for example : """ Exception Type: TemplateSyntaxError Exception Value: Caught NameError while rendering: global name 'approved' is not defined """ I don't understand if it is a NameError why should django say TemplateSyntax error when exception value it says it got caught a NameErro

Regarding Django Applicaiton

2011-05-28 Thread Amit Pal
Hello, I am Amit Pal , a undergrduate studentI need your help . I am new at Django and just run the first application on my workstation. I have to make a django applicaiton i.e. TO build a website which shows the IP location (geoip) on Google map I need your help very urgently

Re: Regarding Django Applicaiton

2011-05-28 Thread Amit Pal
Thanks for quick reply.. It's very important to me -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googl

Reasons to use managers

2011-06-02 Thread Amit Sethi
Hi all , I have a situation in which i am contemplating using an extra field although the same thing can be done using a manager(although the function may take some time). In this situation normalization isn't actually a priority. Are there some other reasons to use a manager. Also what would be th

Re: Reasons to use managers

2011-06-02 Thread Amit Sethi
> functionality to your models. (For "row-level" functionality -- i.e., > functions that act on a single instance of a model object -- use Model > methods, not custom Manager methods.) > But what is the benefit of model methods compared to adding an extra field and getting almost the same thing do

Integrity Error with generic relation using ContentType

2011-06-13 Thread Amit Sethi
Hi all , I am trying to introduce some messaging capability in my app. I tried to create a generic relation between some part of my messaging app and a model in one of my previous apps. However when fixtures load I get this error. I am not able to make head and tail of this . What is happening can

Re: Integrity Error with generic relation using ContentType

2011-06-14 Thread Amit Sethi
On Tue, Jun 14, 2011 at 1:41 AM, christian.posta wrote: > Are you using your own fixtures (like initial_data.json)? > Is it possible that in your initial_data.json ( or whatever fixture > you're using) that you're including entries into the content_types [..] Well i do have entries of the kind th

Re: Integrity Error with generic relation using ContentType

2011-06-14 Thread Amit Sethi
On Tue, Jun 14, 2011 at 8:00 PM, christian.posta wrote: > Yes, it is. Any reason why you want the content-types to be part of > your fixtures? Why not let django build that up by itself? > Well essentially it was just a dumpdata from earlier that is being used. But why should I not have it as part

Efficiently querying db

2011-07-13 Thread Amit Sethi
I have a db that looks something like this . { message : xyz parent : 23 id : 25 } or { message : abc parent : None id : 25 } { message : cde parent : 28 id : 32 } { message : lbq parent : 23 id : 35 } I want to make seperate the lists such that messages in same thread( The parent message a

Handling Efficiency issues

2011-07-13 Thread Amit Sethi
Hi all for some reason i am doing something like this for i in Message.objects.all(): i.read_at = datetime.now() i.save() now the number of Message instances are likely to increase by a lot with time . My question is is it likely that this code piece will become very slow over tim

[ANN] fhurl release 0.1.1

2011-03-28 Thread Amit Upadhyay
http://packages.python.org/fhurl/ This is a generic view for form handling. First release. Feedback and comments appreciated. -- Amit Upadhyay +91-9820-295-512 -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

Urgent Requirement: - Python Developer // 9 months // San Jose, CA

2011-04-11 Thread Amit Reks
location : Preferred contact number : Best time to reach you: Work Authorization: Citizen/Green Card/EAD/H1b/TN Visa Thanks & Regards, *Amit |* Intelliswift Software Inc * |* 2201 Walnut Avenue, #180, Fremont, CA 94538*|* Phone: 510 870 8644 *|* Fax: 510-578-7710 *| *www.intelliswift

Alternatives to Django REST Framework

2015-04-09 Thread Amit Prahesh
Hi, while Django REST Framework seems wonderful to me, it is a heayweight option for a little project of mine. I wonder if there are simpler alternatives for publishing a simple API? TIA, AP. -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Django Model Primary Key help please...

2014-01-22 Thread Amit Masaun
-centric. Are there any "best practices" for generating bigint primary keys which are unique accross multiple models? Thank you very much in advance. --Amit -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from

Should I use any ecommerce Django package for a Price Alert Website?

2014-06-24 Thread amit barik
hukks in hukkster). Before I try to reinvent the wheel here, I would like to know which (if any) Django package(s) will support my requirements? Thanks, Amit -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

'WSGIRequest' object is not callable error generate

2018-01-19 Thread Amit Kadivar
Hello.. I am making a signup page in django 2.0. generate the error " 'WSGIRequest' object is not callable ". please give me a solution for that . error show in following line return request(request,'signup.html',{'form':form}) -- You received this message because you are subscribed to the Go

How to fetch data from sql server and display on django web pages

2018-02-10 Thread Amit Kadivar
Please Help me. How to fetch data from sql server and display them on django web pages through nginx web server.. -- 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

app.yaml for simple django application for GCP

2018-05-13 Thread Amit kumar
Please help me with configuring my app.yaml for my a simple django app which i want to deploy on GCP. Thanks Regards Amit Kumar -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emai

Re: Job Request

2019-01-24 Thread amit pant
why all non IT and cs student be in IT and cs? On Thu, Jan 24, 2019 at 11:28 PM RETAIL CYBER wrote: > They can I'll be looking for more jobs soon I'd personally if u get it > learned I'd go-to Fiverr > > On Thu, Jan 24, 2019, 9:35 AM Motaz Hejaze >> Hi all , >> >> Is there any remote job regard

multiple file upload from image filed in django admin

2017-02-04 Thread Amit Pathak
Hi Guys, I have to upload multiple images from single ImageField and i have tried everything however i am able to select only single image . Please help how can i do this? Thanks in advance -- You received this message because you are subscribed to the Google Groups "Django users" group. To

SystemCheckError: (admin.E111)

2017-09-13 Thread Amit Mishra
Hey, I am using python= 3.5 and Django= 1.10.2 If I am running for the makemigrations --$ python3 manage.py makemigrations OR Starting server -- $ python3 manage.py runserver 0.0.0.0:8000 Its returning errors for SystemCheckError .../mydjangoproject# python3 manage.py makemigration

Re: sphinx inside

2020-04-30 Thread Amit Gupta
Hii If u want to just add your file in your django project u can probably copy and paste the file in your project file and after that you can successfully use your file in the project by just writing the name of your file with correct extension On Fri, 1 May, 2020, 1:29 AM Kai Kobschätzki, wrote

Re: App Dev wanted

2020-04-30 Thread Amit Gupta
Hii I wish your project will be completed soon If wanna help u can contact me and send the details about remaining work I would try to help Regards Amit Gupta On Wed, 29 Apr, 2020, 7:38 PM Arne Bollinger, wrote: > Hey, > We came with a project out of a Covid-19 Hackathon that we cou

Re:

2020-07-28 Thread Amit Singh
can you send me the website link On Tue, 28 Jul 2020, 14:43 Anupriya Nishad, wrote: > I hosted my web app on a free hosting site pythonanywhere.com > But it is taking too long to respond. > What could be the reason? > > -- > You received this message because you are subscribed to the Google Grou

Re: Administration with Django 2

2018-08-13 Thread Amit Malik
tps://groups.google.com/d/msgid/django-users/cda24d1c-f09f-4ff1-9e06-4f420368ec03%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Amit Malik -- You received this message because you are subscribed to the Goo

foreign key is not working

2018-10-31 Thread amit pant
i used foreign key for make relationship between two model class but it does not work properly, i used this for make subscription and on first model their is choices for subscription. help me why it is not working -- You received this message because you are subscribed to the Google Groups "Dj

Re: Error : MultiValueDictKeyError

2018-11-01 Thread amit pant
hey, you can use request.POST.get('username') -- 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, s

Re: Error when I use python manage.py makemigrations polls

2018-11-01 Thread amit pant
It's seems you could not add app on settings.py INSTALLED APPS list. you should firstly add there then you can do makemigrations On Fri, Nov 2, 2018 at 6:57 AM ALLAN NJOROGE wrote: > Hey, I am a newbie in Django and am trying to learn by following the > official documentation, I am stuck on wri

Re: foreign key is not working

2018-11-01 Thread amit pant
i used all method which is on docs but still it's not working properly. i am using django 2 with pyhton 3 On Wed, Oct 31, 2018 at 5:28 PM Paras Patidar wrote: > Use: > on_delete = models.CASCADE > In Foreign Key > > On Wed 31 Oct, 2018, 5:15 PM amit pant, wrote: > &g

Re: Error : MultiValueDictKeyError

2018-11-01 Thread amit pant
Anytime... On Fri 2 Nov, 2018, 11:37 AM PRATEEK SHARMA, wrote: > Thanks a lot for your help, it works now > > On Fri, Nov 2, 2018, 10:01 AM amit pant >> hey, >> you can use request.POST.get('username') >> >> -- >> You received this messag

difference between id and pk

2018-11-02 Thread amit pant
I want to know, what is main difference between pk and id on django. Would appreciate if any one could help me. Thanks -- 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 emai

Re: problem in pattern matching in urls.py and redirecting to another page after few secs

2018-11-02 Thread amit pant
yes, you can use javascript and for url we need to see what you want to do. Would be good if you provide screenshot. Thanks On Fri 2 Nov, 2018, 6:42 PM Manjunath, wrote: > you can easily use java script set_timeout method for redirection after > certain time. > > Elaborate your second question.

Re: Cannot get Django test migrations to detect test models.py

2018-11-05 Thread amit pant
can you register your model in admin.py? If not then go for it. On Sun 4 Nov, 2018, 12:10 AM , wrote: > Hi folks, I'm trying to build a test suite for a django plugin for a > field. To test the field I need to have a test model, but since my django > app does not provide models, and I have the m

Re: Migrating a flask app to Django

2018-11-05 Thread amit pant
According to my knowledge both are different framework so you need to implement again. On Sat 3 Nov, 2018, 6:09 PM oganga chantal, wrote: > Hi, > i have a front end in django and the back end in flask. > i need help in combining the two > > -- > You received this message because you are subscrib

Re: Re-Order rendering of input fields of django-contact-form?

2018-11-09 Thread amit pant
can we use clean method instead of __init__ On Mon 5 Nov, 2018, 4:47 PM Aashutosh Rathi, wrote: > Yes, this works for me. > Make sure > > > super(AddLabForm, self).__init__(*args, **kwargs) >fields_keyOrder = ['id', 'date', 'start_time', 'end_time'] >if 'keyOrder' in self.fields:

Re: Deploy django project using gunicorn

2018-11-12 Thread amit pant
check your models, might be there is some spelling error. if you share your models.py file then we could do more help. On Mon, Nov 12, 2018 at 8:28 PM Yohandy Chiaawanda wrote: > Hello > > I am currently following this guide > https://www.digitalocean.com/community/tutorials/how-to-set-up-django

Re: Why I can't pass anything to my html? Django 2.1

2018-11-12 Thread amit pant
you need to make dictionary for display variables using html On Mon, Nov 12, 2018 at 6:57 PM Cuneyt Mertayak wrote: > vvv Typo: read "context" instead of "content" vvv > > On Monday, November 12, 2018 at 5:26:48 AM UTC-8, Cuneyt Mertayak wrote: >> >> The content for the `render` method is suppos

Re: I'm new in Django. please help me out

2018-11-13 Thread amit pant
hey, you need to pay for that. On Tue, Nov 13, 2018 at 2:55 PM wrote: > Hi All, > > can you please solve this. > > 1) Create a simple Category model using DRF with following fields : > Id,name,parent,is_featured,image,is_active,description > 2) Create CRUD APIs for the same. > 3) Validate input

Re: I'm new in Django. please help me out

2018-11-13 Thread amit pant
_my_homework.com" > 😊 > > > Eric > -- > *From:* django-users@googlegroups.com on > behalf of amit pant > *Sent:* Tuesday, November 13, 2018 10:27:13 AM > *To:* django-users@googlegroups.com > *Subject:* Re: I'm new in Django. please help me o

Re: using a foreign key with multiple choices

2018-11-13 Thread amit pant
use dict in * LISTE_CHOIX.* On Tue, Nov 13, 2018 at 6:14 PM 'Christian' via Django users < django-users@googlegroups.com> wrote: > Hello > > I need to use a model form to create a new instance of Recette, using > multiple choices list instead of the foreign_key > > *class Recette(models.Model):

Re: Foreign key data saving issue

2018-11-13 Thread amit pant
could you share your progress then we can find what exactly you want. On Tue, Nov 13, 2018 at 6:14 PM mohit basantani < mohitbasantani1...@gmail.com> wrote: > Hello I am new to django i have two tables namely Mastertable and Partlist > > Partlist columns: > > 1. id > 2. partlist_name > > I am us

roles and permissions

2021-08-13 Thread Amit Vaghani
I want develop Custom Roles And Permission Any one guide me -- 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 view

Role And Permission

2021-08-16 Thread Amit Vaghani
Handling Role From Frontend side like:- add role delete role update role then Handling Permissions Assign permission remove permissions from frontend side So finally I want to Customise role and permission any one guide me for this? -- You received this message because you are subscribed

scss

2021-08-17 Thread Amit Vaghani
How to use scss in our django project -- 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 view this discussion on the w

<    1   2   3   >