Merge Project

2022-12-28 Thread Anil Singh
this error Need your help friends Thanks & Regards Anil -- 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

Facing Problem

2022-09-10 Thread Anil Singh
Dear All When i running our program then coming this type of error, what is solutions TypeError at /errorapi/insuranceDetails/get() missing 1 required positional argument: 'id' Request Method: GET Request URL: http://127.0.0.1:8000/errorapi/insuranceDetails/ Django Version: 2.1.7 Exception Type

Django users

2022-01-28 Thread Anil Choudhari
How to connect hive in Django ? -- 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 web vis

change user creation form shown in Django admin

2022-01-07 Thread Anil Felipe Duggirala
as the username and password (no 'phoneno') thanks for your help. Anil F -- 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-use

Re: are migrations the same regardless of database type?

2021-12-29 Thread Anil Felipe Duggirala
Thanks to all for your replies. Using the "sqlmigrate" command, as far as I can see, there are no differences between database types. I asked this question initially because I was unable to set up postgresql locally. I have solved those issues now and will follow your advice on using the same d

are migrations the same regardless of database type?

2021-12-28 Thread Anil Felipe Duggirala
rations be applied correctly by just doing "migrate" on Heroku. Do the contents of migrations files depend on the database type that is associated to the app when creating the migrations? thank you, Anil F -- You received this message because you are subscribed to the Google Groups &quo

Re: help

2021-11-01 Thread Anil Felipe Duggirala
On Wed, Oct 27, 2021, at 12:50 AM, waqar khan wrote: > pip uninstall django Your answer is not worth the electricity it is written on Waqar. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving email

Re: Invalid parameter: redirect_uri

2021-10-12 Thread Anil Felipe Duggirala
On Mon, Oct 11, 2021, at 5:40 PM, Ammon Quackenbush wrote: > I can set the logout redirect url successfully with LOGOUT_REDIRECT_URL > in my project's settings.py, but I still get this error when I try to > log in. > > On Thursday, October 7, 2021 at 3:54:24 PM UTC-6 Ammon Quackenbush wrote: >> I

Re: DateTime widget in default CreateView form

2021-10-08 Thread Anil Felipe Duggirala
On Fri, Oct 8, 2021, at 10:57 AM, Iyanuoluwa Loko wrote: > The date-time has to accept a date, and if you input the date in the > textbox in the accepted django format, it will work fine. To have the > calendar icon, it is a widget, and you ycan call it by editing the HTML > input type, or addin

Re: DateTime widget in default CreateView form

2021-10-08 Thread Anil Felipe Duggirala
On Fri, Oct 8, 2021, at 8:41 AM, MR INDIA wrote: > Answer to this query on stack overflow > > Raw link: > https://stackoverflow.com/questions/27321692/override-a-django-generic-class-based-view-widget

Re: DateTime widget in default CreateView form

2021-10-07 Thread Anil Felipe Duggirala
On Thu, Oct 7, 2021, at 5:50 PM, sum abiut wrote: > You can use modelform. > > in your form.py you can do something like this > > # setup date picker start > class DateInput(forms.DateInput): > input_type = 'date' > > class Formname(forms.ModelForm): > class Meta: >

DateTime widget in default CreateView form

2021-10-07 Thread Anil Felipe Duggirala
hello, I have tried to find an answer to this question online, with no clear response. I have created a simple class based CreateView for a model that has a DateTime attribute. Simply rendering the form using the {{ form.as_p }} tag in the template associated to the aforementioned view does not g

Re: how to pass multiple query sets in Django

2021-02-16 Thread Anil s
error Got AttributeError when attempting to get a value for field `project_number` on serializer `ProjectListSerializer` please help me how to resolve this. Regards, Anil Sebastin On Tue, Feb 16, 2021 at 7:58 PM Omkar Parab wrote: > pass your multiple query sets using the get_context_data&qu

how to pass multiple query sets in Django

2021-02-16 Thread Anil s
Hello Everyone: Can somebody please tell me how to pass multiple query sets in Django. Thank you for your 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 t

How to pass multiple query sets in Django?

2021-02-16 Thread Anil s
How to pass multiple query sets in Django? -- 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

Re: Image Uploaded by Ckeditor using Django to AWS S3 gone after certain amount of time

2020-09-08 Thread Anil pawar
l to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CANV3w%3DYqh_76b6envEhehZH4eFmeFEFvvh1Jhbg%3DpdwJtGKb%2BQ%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CANV3w%3DYqh_76b6envEhehZ

Re: help

2020-09-07 Thread Anil pawar
Can you please share sample any sample code to understand with Django Packages do you want to achieve it. Maybe this one helps you if you want to access the 3ed party API with the token. *headers = {'Authorization': 'Token 9054f7aa9305e012b3c2300408c3dfdf390fcddf'} * *requests.get("http...", p

Reg Django Mini-Project

2019-10-04 Thread anil polineni
Dear all, please anyone can send create, update, delete, retrieve using Django mini-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+unsub

Re: Django FastCGI and static files

2019-10-01 Thread anil polineni
hi Django project structure is clearly understandable but I want CURD Operations mini-project by using Django project On Tuesday, September 17, 2019 at 9:46:31 PM UTC+5:30, Martin Jaan Leesment wrote: > > Hey > > I'm new to serving Django website on a shared server as well as using > fastcg

Regarding to file stronge.

2019-09-25 Thread ANIL UMARANE
Hi guys, How to store the multiple files in Json format to store the database . Easily retrieve and delete. And how set the path Regards.. Anil.K Mob:9019094199 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Re: problems with mysql client

2019-07-10 Thread ANIL UMARANE
install mysqlclient wheel file Regards.. Anil.K Mob:9019094199 On Thu, Jul 11, 2019 at 6:31 AM Sidy Ababacar Dieye < sidyababacar.di...@uadb.edu.sn> wrote: > Did you have any solutions for this now > > Le samedi 11 mai 2019 15:16:10 UTC, Rob W a écrit : >> >> for my django project, we a

Re: Querying works on shell but not on the Django program code

2019-07-10 Thread Anil Khatri
Same for me. But it is working fine. On Wed, Jul 10, 2019 at 4:56 PM Solomon Mbak wrote: > I'm a complete novice to python and Django. > > I have tried several solutions I found on stack overflow, but I still get > the same issue. I've tried querying from shell and it works well, but not > on my

razopay payment gateway isssues

2019-04-26 Thread ANIL UMARANE
I am using django python i have uploaded your html file but not ope error is the id provided does notexists https://checkout.razorpay.com/v1/checkout-new.js"; data-key="" data-amount="59900" data-order_id="123456" data-currency="INR" data-buttontext="Pay with Razorpay"

Re: mysqlclient

2019-03-22 Thread ANIL UMARANE
Download MySQL client who Pip install whl On Fri, Mar 22, 2019, 9:23 PM hunar techie wrote: > hi there > when i try to pip install mysqlclient through my cpanel i get this error > > [image: er.PNG] > thanks > > -- > You received this message because you are subscribed to the Google Groups >

Re: 'URLPattern' Object is not a mapping

2019-02-26 Thread ANIL UMARANE
which version django you have used On Tue, Feb 26, 2019 at 5:51 PM Tina Upadhyay wrote: > Getting this error and the urls.py of my model is as shown below: > > > from django.conf.urls import url > from new import views > app_name = 'new' > > > urlpatterns = [ > url(r'^export/csv/$', views.expor

Re: want to join IRC

2018-01-13 Thread Apurva Anil Kunkulol
This is alright, but the thing is that whenever I login, I see no other users on the channel talking. I use this #django-IRC-channel to join. So I want to know if this is correct, or there's something else that needs to be done that I'm not currently. On Friday, 12 January 2018 07:43:24 UTC+5:3

Password Reset using a URL with token

2017-08-14 Thread Anil Mor
tion or pattern name. Exception Location: C:\Python27\lib\site-packages\django-1.11.3-py2.7.egg\django\urls\resolvers.py in _reverse_with_prefix, line 497 Python Executable: C:\Python27\python.exe Python Version: 2.7.13 Python Path: ['C:\\Users\\anil\\Desktop\\ProjectD\\hyWeb', &#x

Re: Django TCP Socket Communication

2016-07-09 Thread Anil reddy reddy M
And I want use Celery with rabbitmq Broker in this process. On Saturday, July 9, 2016 at 12:28:37 PM UTC+5:30, Anil reddy reddy M wrote: > > Hi, > Yeah, I am ready > > On Thursday, June 16, 2016 at 5:12:52 PM UTC+5:30, Sergiy Khohlov wrote: >> >> Have ready this

Re: Django TCP Socket Communication

2016-07-08 Thread Anil reddy reddy M
> > > +380 636150445 > skype: skhohlov > > On Thu, Jun 16, 2016 at 2:37 PM, Jani Tiainen > wrote: > >> Oops, apparently you hijacked over year old thread... >> >> On 16.06.2016 13:45, Anil reddy reddy M wrote: >> >> Hi, >> >> I ma

Re: Django TCP Socket Communication

2016-06-16 Thread Anil reddy reddy M
How i can store gps output in django model, how django will communicate with micro controllar On Thursday, June 16, 2016 at 5:08:12 PM UTC+5:30, Jani Tiainen wrote: > > Oops, apparently you hijacked over year old thread... > > On 16.06.2016 13:45, Anil reddy reddy M wrote: >

Re: Django TCP Socket Communication

2016-06-16 Thread Anil reddy reddy M
Hi, I made a TCP Server Socket programming in python, it's nicely communicating with micro controller, and also i can store latitude ,longitude values in MySqldb from GPS output. Now I want develop a web application for vechile tracking. How can i do this stuff in django. I would be thankf

Not able to retain data in session after login

2015-08-16 Thread Anil Kumar
Hello All, In my web application, I am making an ajax call to save data in session as user clicks on login button. After saving form data in session, control passes to login and after successful login, data saved in session is not there. I guess new session is being created after logging in. Ho

Re: updating site domain with data migration

2014-09-23 Thread Anil Jangity
for 'main': 0001_initial.py: - Create model Currencies - Create model Locations - Create model Posts - Create model UserProfile On Sep 22, 2014, at 9:16 AM, Markus Holtermann wrote: > On Mon, Sep 22, 2014 at 08:41:36AM -0700, Anil Jangity wrote: >> If I don

Re: updating site domain with data migration

2014-09-22 Thread Anil Jangity
seems like I need to go do User.objects.create_superuser(). Thanks! On Sep 21, 2014, at 6:55 PM, Markus Holtermann wrote: > Hey Anil, > > On Sun, Sep 21, 2014 at 05:29:18PM -0700, Anil Jangity wrote: >> $ python manage.py syncdb > > Just as a side note: "syncdb" is

updating site domain with data migration

2014-09-21 Thread Anil Jangity
I wanted to update the site domain/name using data migrations in Django 1.7: $ python manage.py makemigrations main Migrations for 'main': 0001_currencies_locations_posts_userprofile.py: - Create model Currencies - Create model Locations - Create model Posts - Create model UserP

multi org and user site

2014-05-13 Thread Anil Jangity
I would like to create a web site that will have multiple organizations with it's own set of user accounts. Something like a "reseller" account. e.g. Org1 user1, user2, user3 Org2 user1, userA, userB Each Org would have it's own billing, user info. Does anyone have any sample demo code tha

Re: Logging into django admin site via wget and/or wkhtmltopdf

2014-04-01 Thread Anil Arya
same error is coming .Have u solved this problem On Thursday, March 4, 2010 4:17:48 PM UTC+5:30, Emma F wrote: > > Has anyone ever had any success accessing the django admin site via > either of these tools? > > I'm working on a view that will convert a particular dynamically- > generated page

Re: custom signup form

2013-09-08 Thread Anil Jangity
t; clean_username). > > > On Sun, Sep 8, 2013 at 11:41 AM, Anil Jangity wrote: > class SignupForm(forms.ModelForm): > class Meta: > model = User > fields = ["username", "mail", "password"] > > def

Re: custom signup form

2013-09-08 Thread Anil Jangity
onathan Baker wrote: > Can you post your entire SignupForm class? I think a bit more context will > help me diagnose. > > > On Sun, Sep 8, 2013 at 11:27 AM, Anil Jangity wrote: > I tried that too earlier. > > I added these to the SignupForm class: > >

Re: custom signup form

2013-09-08 Thread Anil Jangity
password through the 'set_password' method of the User > class to hash it. See: > https://docs.djangoproject.com/en/1.0/topics/auth/#django.contrib.auth.models.User.set_password > > Hope this helps, > JDB > > > On Sun, Sep 8, 2013 at 11:02 AM, Anil Jangity wro

custom signup form

2013-09-08 Thread Anil Jangity
New to Django. When I submit a signup form with this, the password is human readable in the database. It seems like it should be hashed? Looking at some Google pages, it seems I need to subclass UserCreationForm. I tried that instead of forms.ModelForm and now it complains my form doesn't have

Re: too much customization - ldap user model

2012-11-17 Thread Anil Jangity
So, the bottom line is, what do I need to do after I do a authenticate() to have the login persist in the session and in the other views? Thanks On Nov 15, 2012, at 8:23 PM, Anil Jangity wrote: > I am trying to build a custom User model with a custom authentication backend > (ldap).

Re: too much customization - ldap user model

2012-11-15 Thread Anil Jangity
Actually I did, see my last comment ;) On Nov 15, 2012, at 8:32 PM, Russell Keith-Magee wrote: > Hi Anil, > > Before you started developing your own, did you consider doing a quick google > search to see if there were any existing solutions that implemented LDAP > aut

too much customization - ldap user model

2012-11-15 Thread Anil Jangity
What I am really trying to do is create a LDAP based users as well as LDAP based database (no SQL database) for all my data. I looked at Django_auth_ldap, but that won't cut it, I need to have a little bit more customization on it (I think). Thanks for any help! Anil -- You received this

custom User model and login()

2012-11-11 Thread Anil Jangity
authenticated()--> returns False Shouldn't the manage() show the user being authenticated? What exactly happens when I do a login() call? Does it store some sessions somewhere? If so, what can I do in my custom User model to make it save this session? Thanks, Anil -- You received

Re: 1.5: syntax of AUTH_USER_MODEL

2012-10-29 Thread Anil
Thanks, yup! I just figured it out too. I didn't realize all the "apps" are in the path as well. Anil On Monday, October 29, 2012 7:52:45 AM UTC-7, Tom Christie wrote: > > You don't mention 'app1.MyUser', which is what I think it should be. > > On

1.5: syntax of AUTH_USER_MODEL

2012-10-29 Thread Anil
I have the following filesystem structure: project project/app1 project/app1/models.py <--- class MyUser(AbstractBaseUser) project/project project/project/settings.py project/project/urls.py ... I set my AUTH_USER_MODEL to 'project.app1.models.MyUser', I get error: auth.user: AUTH_USER_MODEL is

where to start

2012-10-28 Thread Anil
hanks a bunch! Anil -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/TheqdXlnqlcJ. To post to this group, send email to django-users@googl

Re: ValueError: invalid literal for int() with base 10: '42596/img/admin/icon_calendar.gif'

2009-09-01 Thread ANIL KARADAĞ
2009/9/1 Daniel Roseman > > On Sep 1, 12:17 pm, ANIL KARADAĞ wrote: > > 2009/9/1 Daniel Roseman > > > > > On Sep 1, 10:35 am, ANIL KARADAĞ wrote: > > > > hello everbody, > > > > > > i have en error for a week. i did not resolve and i

Re: ValueError: invalid literal for int() with base 10: '42596/img/admin/icon_calendar.gif'

2009-09-01 Thread ANIL KARADAĞ
2009/9/1 Daniel Roseman > > On Sep 1, 10:35 am, ANIL KARADAĞ wrote: > > hello everbody, > > > > i have en error for a week. i did not resolve and i did not find it's > > solution. > > > > Sometimes system is sent an error: > > > > File

ValueError: invalid literal for int() with base 10: '42596/img/admin/icon_calendar.gif'

2009-09-01 Thread ANIL KARADAĞ
hello everbody, i have en error for a week. i did not resolve and i did not find it's solution. Sometimes system is sent an error: File "/usr/lib/python2.5/site-packages/django/db/models/fields/__init__.py", line 353, in get_db_prep_value return int(value) ValueError: invalid literal for int

Re: Call a custom python function during each model save

2009-09-01 Thread ANIL KARADAĞ
you can override model save method: for example class Student(models.Model): name = models.CharField(blabla) def save(self, *force_insert=False*, *force_update=False*): # call spesific python method # operations super(Student, self).save(force_insert=force_insert,

Full-time / Part-time work and business from home - India.

2006-10-19 Thread Anil Madhav Sanapala
Hi, Anybody looking for part-time or full time income from the range of Rs 1,000/- to Rs 50,000/-, please mail me at [EMAIL PROTECTED] Interested people can also call me at 9886218818, Bangalore. No Educational Qualifications are need in specific. Students are also allowed in the part-time oppo

help with sessions

2006-10-15 Thread anil
I tried creating sessions for each app and then did htis code def session_mw(app): sessionStore = DiskSessionStore(storeDir="%s/sessions/" % os.getcwd(), timeout=5) sessionStore= sessionStore.createSession() return SessionMiddleware(sessionStore, app) def initsession(session): ses

Re: cheetah + django

2006-10-01 Thread anil
JS and C anil --~--~-~--~~~---~--~~ 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 [EMAIL PROT

Re: cheetah + django

2006-10-01 Thread anil
Dear Malcolm thanks a lot I found this in webpy for generating cheetah templates by default I call web.render('index.html') Can you tell me where I can use this in Django or what part of django i need to use. As you can see I m fairly a newbie Thanks Anil index.html 1675

Re: . Dates get a "Today" shortcut and calendar popup, and times get a "Now" shortcut and a convenient popup

2006-09-30 Thread anil
i was more looking for a simple way of using it thanks a lot Anil James Bennett wrote: > On 9/30/06, anil <[EMAIL PROTECTED]> wrote: > > Please help me out by telling where i can find this > > and is there an easy way to add this to other parts of the django web > >

is there any easy way to strip ORM from django

2006-09-30 Thread anil
stripping ORM from django Thanks Anil --~--~-~--~~~---~--~~ 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 g

Re: cheetah + django

2006-09-30 Thread anil
import and use Cheetah's > template-loading and rendering functions instead of Django's. can you give me an example of how to do this thanks ANil James Bennett wrote: > On 9/30/06, anil <[EMAIL PROTECTED]> wrote: > > how do i use cheetah templates with django

. Dates get a "Today" shortcut and calendar popup, and times get a "Now" shortcut and a convenient popup

2006-09-29 Thread anil
Hi guys I m trying to get to the code of date and time widget so that I can use it elsewhere in the django app Please help me out by telling where i can find this and is there an easy way to add this to other parts of the django web app Thanks Anil Each DateTimeField gets free JavaScript

cheetah + django

2006-09-29 Thread anil
how do i use cheetah templates with django I have heard a lot about phenomenal decoupling abilities of django thanks ANil --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to

default now() in django created...

2006-09-29 Thread anil
ors in one or more models: sodahead.polls: non-keyword arg after keyword arg (models.py, line 9) Please help me out I dont want to specify datatime.now() everytime I insert something in the db I want it to do this automatically by calling function in postgresql

anyone see this problem in psycopg2 i m unable to debug this

2006-09-29 Thread anil
psycopg2.ProgrammingError : current transaction is aborted, commands ignored until end of transaction block --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Resources and pointers

2006-09-14 Thread anil
. + Import email addressbooks 9. Ajax snipplets + webpy code. 13. Persistant background threads. thanks a lot Anil --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, sen

encoding problems in python

2006-09-13 Thread anil
s())) for i in feedlist) how it is displayed in the html file or cheetah template #for i in $feedentry_dct[$blog.id] $str($i.title) thanks for your help ANil --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Djan