Re: sorting issue

2021-09-13 Thread dupakoor kannan
y: [ convert(c) for c in re.split("([0-9]+)", getattr(key, sort_key)) ] return sorted(objects_list, key=alphanum_key) I assume I found the issue. My mutation protein database contains greek letters also. That seems to be the problem. The rest of the data sorts well. I

RE: sorting issue

2021-09-11 Thread dupakoor kannan
ormation) https://datatables.net/examples/api/row_details.html. There is also natural sorting in the datatables example which doesn't suit my needs. Can you please suggest some pointers to think of any other logic for this problem? I use Django 3.2. Kannan -- You received this message because you a

RE: have a URL that accepts all characters

2021-09-06 Thread dupakoor kannan
proteins/(?P[\w.*]+)/$',views.mutant_proteins, name="mutant_proteins",), How can I use it so that it accepts unicode characters in the url ? I use Django 3.2. Thanks Kannan -- You received this message because you are subscribed to the Google Groups "Django users" group.

RE: DateTimeField to DateField

2021-08-12 Thread dupakoor kannan
directly in the UserSubmission model now. How can I proceed with the changes without afffecting existing data? I am reading the StackOverflow answers. Some suitable examples or pointers will help me to sort this out. I use Django version 3.2. Thank you Kannan -- You received this message

Re: Using Countries with django

2021-06-07 Thread dupakoor kannan
Hi, Here is the list https://djangopackages.org/grids/g/countries/. Hope this helps Kannan On Sun, Jun 6, 2021 at 4:22 PM Williams Andy Inc wrote: > Can anyone recommend a 3rd party app to me to use with forms form > countries and states and cities of the world .. > > thank you

Re: custom list_display in admin - problem in production server

2021-03-05 Thread dupakoor kannan
k for the error message. Thanks Kannan On Fri, Mar 5, 2021 at 11:08 AM Kasper Laudrup wrote: > On 05/03/2021 17.01, dupakoor kannan wrote: > > I have a form where users submit protein sequences that are stored in > > the user_submission model. In Django admin, I have added a custom l

RE: custom list_display in admin - problem in production server

2021-03-05 Thread dupakoor kannan
ror. Why this happens and how to approach the problem and fix it. Any pointers will help. 2) As you can see in the screenshot, I am passing the protein sequence through the URL. It seems to me there must be a better way to do it. I am unaware of it. Do you have any suggestions or alternative ways o

Question about models. test

2021-02-24 Thread dupakoor kannan
there any way I can write a test for the inactive URLs from the database (local copy)?. Thanks Kannan -- 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

Re: learning steps

2021-02-24 Thread dupakoor kannan
l0eg Hope it helps Kannan On Sat, Feb 13, 2021 at 5:25 AM Madhav Nandan wrote: > Hey Anant! Welcome to the community first. > > About your query: There are many good resources for django on web. However > for beginners I would recommend some best proven learning tracks. > &

“Did you mean?” search query

2021-02-23 Thread dupakoor kannan
Hello everyone, I would like to implement a search for miss spelled words from the database. I read the answers https://stackoverflow.com/questions/476394/django-did-you-mean-query. Do we have any other apps or an easy way? Any pointers? Thank you Kannan -- You received this message because

Django “Did you mean?” search query

2021-02-16 Thread dupakoor kannan
Hello everyone, I would like to implement a search for miss spelled words from the database. I read this https://stackoverflow.com/questions/476394/django-did-you-mean-query. Do we have Django apps for that? Thank you Kannan -- You received this message because you are subscribed to the

Re: about django documentation

2021-01-19 Thread dupakoor kannan
Hi, Try this first https://youtu.be/UmljXZIypDc and read the documentation again. Hope it helps On Tue, Jan 19, 2021 at 8:40 AM a a wrote: > how can i understand from documentation? > i was ended the introduction then i have continue to models but how can i > implementation? > > -- > You rec

Re: Recommended way for directory layout?

2020-10-26 Thread dupakoor kannan
Hi, Have you read this https://stackoverflow.com/questions/22841764/best-practice-for-django-project-working-directory-structure On Mon, Oct 26, 2020 at 11:18 AM guettli wrote: > cookiecutter does many things. For me this is way too much. > > I was looking for a **simple** guideline how to st

Re: Regarding OTP based login- Django

2020-09-29 Thread dupakoor kannan
Hope this helps https://github.com/django-otp/django-otp regards Kannan On Fri, Sep 25, 2020 at 9:56 AM Rahul Gour wrote: > Hello, > > TIA. > > I am new in django, can anyone help me for OTP based login in my app. > > I am working on a ecommerce app and want to login otp

RE: Django and PostgreSQL update

2020-09-17 Thread dupakoor kannan
pgrade the postgres in the server will it affect data (other databases) in the postgres. I don't want to lose other databases. Any suggestions? Thanks Kannan -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: How to build a comprehensive chat system with django

2020-08-10 Thread dupakoor kannan
Hi, Hope this helps https://djangopackages.org/grids/g/chat/ On Mon, Aug 10, 2020 at 6:27 AM sunday honesty wrote: > I recently got employed in this company as a django developer. > After one week, it seems they liked me and believe I could do anything. > Today, they asked me to do the follow

Re: Djongo and mongodb

2019-11-07 Thread dupakoor kannan
Hi, Hope these links will be helpful https://www.youtube.com/watch?v=iKB_4HWKMCc https://medium.com/@ksarthak4ever/how-to-use-django-with-mongodb-40ba36a21124 https://www.freecodecamp.org/news/using-django-with-mongodb-by-adding-just-one-line-of-code-c386a298e179/ Kannan On Thu, Nov 7, 2019

Re:

2019-10-29 Thread dupakoor kannan
Hi, Stackoverflow - https://stackoverflow.com/questions/3034910/whats-the-best-way-to-migrate-a-django-db-from-sqlite-to-mysql/3036241 Blog site - https://justinmi.me/blog/2017/04/28/migrating-sql-databases Hope this helps Kannan On Tue, Oct 29, 2019 at 9:30 AM Mohammad yunus wrote: >

Re: use site's templates

2019-08-15 Thread dupakoor kannan
_builtins() can be any module path; your custom tag module doesn't have to live in a specific application. For example, it can also be a module in your project's root directory (eg. 'project.custom_tag_module'). Thank you Kannan -- You received this message because you a

Re: is that any way to deploy django in apache with centos

2019-05-30 Thread Suresh Kannan
Hi, I found this video helpful https://www.youtube.com/watch?v=DzXCHAuHf0I&t=1553s but with Nginx and Uwsgi. Hope this helps you! Suresh On Thu, May 30, 2019 at 7:59 AM Kurosh Sol wrote: > is that any way to set Django in apache with wsgi mod in centos > I keep reading and still get error >

Re: Button Event

2019-04-30 Thread Suresh Kannan
Hi, Have a look at this https://stackoverflow.com/questions/298772/django-template-variables-and-javascript There are also several tutorials in youtube as well. On Mon, Apr 29, 2019 at 1:03 PM Mayur Bagul wrote: > Hello Community, > > Im looking for solution on Button Event. > I have situation

Re: Troubling installing Python 3 on my iMac

2019-04-30 Thread Suresh Kannan
Hi, Try these steps https://wsvincent.com/install-python3-mac/ https://stackoverflow.com/a/20868669/4037275 On Tue, Apr 30, 2019 at 8:39 AM James wrote: > I downloaded the file from the python website and went through the entire > installation process... accepting all of the default values.

Re: Don`t start server

2019-04-24 Thread Suresh Kannan
Hi, Hope this helps. >>>*django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is required (found 3.7.17).* https://stackoverflow.com/questions/55512244/no-installed-app-with-label-admin-in-empty-django-2-2-project On Tue, Apr 23, 2019 at 3:10 PM TAIT_MIZO wrote: > (steam_trader)

Re: error 403 on admin login

2019-04-10 Thread Suresh Kannan
Hi, These links may help you https://stackoverflow.com/a/14121175/4037275 https://stackoverflow.com/a/12712507/4037275 https://stackoverflow.com/a/36292539/4037275 On Wed, Apr 10, 2019 at 7:11 AM Akash Kumar wrote: > I was following the official polls app tutorial on Django on v2.2. > i have c

Re: There's any django app for calendar?

2019-03-28 Thread Suresh Kannan
Hi, Explore the link https://djangopackages.org/grids/g/calendar/ On Thu, 28 Mar 2019 at 09:45, Fellipe Henrique wrote: > Hello guys, tried to search on google, but no lucky.. > > Anyone knows any django app for calendar, to set appointments, hour/day... > with frontend? > > Thanks! > > T.·.F.

Re: How can I display the result of a query in the template ?

2019-03-26 Thread Suresh Kannan
Hi, These video tutorials may help you https://www.youtube.com/watch?v=VZ8NIoLN-yQ https://www.youtube.com/watch?v=08Oulp3OpJA On Tue, 26 Mar 2019 at 12:33, Nadhem Zmandar wrote: > I am working on a project using Django and AngularJS. I have executed a > query on the python shell. I would li

Re: Web Push Notification in Django

2019-03-25 Thread Suresh Kannan
Hi, I hope this helps https://www.digitalocean.com/community/tutorials/how-to-send-web-push-notifications-from-django-applications https://github.com/safwanrahman/django-webpush On Mon, 25 Mar 2019 at 12:28, Aayush Bhattarai wrote: > *I am working on blog project and I wanted to add Web Push

Re: Error logging in to admin potal in Django 2.1.7

2019-03-12 Thread Suresh Kannan
Hi, I am not sure this is an answer but it could be an issue with sqlite version https://stackoverflow.com/questions/53637182/django-no-such-table-main-auth-user-old On Mon, 11 Mar 2019 at 07:14, Rishiraj Saxena wrote: > I am new to Django when I try to log in to Django using environment > var

Re: What step am I missing?

2019-03-12 Thread Suresh Kannan
Hi, You can watch these videos. I think this might help you. https://www.youtube.com/watch?v=FNQxxpM1yOs (windows) https://www.youtube.com/watch?v=oT1A1KKf0SI&list=PLxxA5z-8B2xk4szCgFmgonNcCboyNneMD (linux) On Mon, 11 Mar 2019 at 09:35, Joseph Jones wrote: > Thank you so much, does one bring

Re: add Image Field in model

2019-03-12 Thread Suresh Kannan
Hi, https://stackoverflow.com/a/49867787/4037275 On Tue, 12 Mar 2019 at 09:20, omar ahmed wrote: > hello > i want to add image field in my model > i typed : > image = models.ImageField() > but : > Cannot use ImageField because Pillow is not installed > > -- > You received this message because

Re: Fatal error

2019-03-12 Thread Suresh Kannan
Hi, Perhaps this helps you https://stackoverflow.com/questions/24627525/fatal-error-in-launcher-unable-to-create-process-using-c-program-files-x86 https://stackoverflow.com/questions/37220055/pip-fatal-error-in-launcher-unable-to-create-process-using/39733705 On Mon, 11 Mar 2019 at 12:04, wrot

Re: the name of Django package

2019-02-25 Thread Suresh Kannan
Hello everyone, I am relatively new to Django. I am looking for a package where a client can edit the front end of the Django app. Say for example the client wants to change the typo/contact details in the web app in the GUI version (preferably they can edit the webpage and preview directly).

Re: Django Tutorials: NoReverseMatch at /polls/1/vote/

2019-02-21 Thread Suresh Kannan
You should read the links https://docs.djangoproject.com/en/2.1/intro/tutorial03/#namespacing-url-names https://stackoverflow.com/questions/14892462/django-error-upolls-is-not-a-registered-namespace https://stackoverflow.com/questions/30935053/noreversematch-at-polls-1-vote Suresh On Thu, 21 F

display Foreign Key values in Django haystack search results

2014-07-24 Thread Kannan
the entire index for model is updated.""" return self.get_model().objects.all().select_related('user_profiles') def prepare_name(self, obj): return obj.user_profiles.bio_exp -- With regards, Kannan. R. P, Blog @: http://kannan4k.wordpress.com/ -- You

Re: Any position for Django/Python Developer?

2014-06-18 Thread Kannan
Guys, I have not got a single reply. Please let me know where I can search for a remote job or part time job in Python/Django technologies. On Tue, Jun 17, 2014 at 5:48 PM, Kannan wrote: > > Hi All, > I am looking for job for Django Developer. And I am ready to work on part > ti

Any position for Django/Python Developer?

2014-06-17 Thread Kannan
, and ready to relocate or ready to work remote. -- With regards, Kannan. R. P, Blog @: http://kannan4k.wordpress.com/ -- 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 i

Re: RPython / Django Web Applications Developer - Michigan $90-$100/hr

2014-02-01 Thread Kannan
group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/007501cf1dfd%2410b5e040%243221a0c0%24%40gmail.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- With re

Django models design for ride share application

2014-01-28 Thread Kannan
new conversation id(99) and all the messages sent between them on the ride should come under the same conversation id(99). -- With regards, Kannan. R. P, Blog @: http://kannan4k.wordpress.com/ -- You received this message because you are subscribed to the Google Groups "Django users" gro

Re: New to Django; Question

2013-12-30 Thread Karthik Kannan
There seems to be no correlation between your User model and your Data model. And also I dont see a field called patientid in any of the forms. Do you mean userid by any chance? So think about your schema and rebuild your models. The way to display data in Django is through templates. You coul

Fabric for dependency management, testing strategy

2013-11-11 Thread Kannan
Hi Guys, I am new to Fabric. Please send me your thoughts of using Fabric for dependency management and also about the testing strategy. Additionally, Please send me tutorials or links or something that can start with. With regards, Kannan -- You received this message because you are

Re: No fixtures found

2011-03-14 Thread Shakthi Kannan
be doing something wrong - although as far as I | can see your code is identical to mine. \-- Just for the record, I manually installed Django 1.3 RC1, and it worked. Thanks for your help, SK -- Shakthi Kannan http://www.shakthimaan.com -- You received this message because you are subscribed

No fixtures found

2011-03-11 Thread Shakthi Kannan
d using the following in settings.py to no avail. FIXTURE_DIRS = ( '/tmp/mysite/polls/fixtures/', ) What could be missing? If you have a working app/ solution for that above that I can refer, it will be very helpful, or if you suggest any other methods to load dynamic test data, please l

Re: Database Store

2009-08-14 Thread Kannan
i created that...Then i want to know how to get the input in a variable and store it in database... With regards, Kannan. R. P, On Sat, Aug 15, 2009 at 11:03 AM, Kenneth Gonsalves wrote: > > On Saturday 15 Aug 2009 11:00:30 am Kannan wrote: > > I am just learning Django

Database Store

2009-08-14 Thread Kannan
Hi Friends.. I am just learning Django now.I wanted to get the details like DOB,Mobile No & more and want to store it in the Mysql Database..How can i do that! Help Me.. With regards, Kannan. R. P, --~--~-~--~~~---~--~~ You received this message bec

Re: My first Django project

2009-08-09 Thread Kannan
t's souce code for my reference. With regards, Kannan. R. P, --~--~-~--~~~---~--~~ 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 T

Re: Django site on Apache

2009-07-21 Thread Kannan
rk in Fedora 10 but not work in Debian Lenny. help me With regards, Kannan. R. P, On Tue, Jul 21, 2009 at 6:06 PM, Daniel Roseman wrote: > > On Jul 21, 12:16 pm, Kannan wrote: > > Hi friends... > > I have downloaded the source of thehttp://

Django site on Apache

2009-07-21 Thread Kannan
://dpaste.com/69137/ when i try the url http://localhost/fossconf/ it gives error that "cannot import the settings [Is this is in system path?" Help me to solve this error. With regards, Kannan. R. P, --~--~-~--~~~---~--~~ You received th

Run the Django Site in Apache

2009-07-11 Thread Kannan
Hi Friends... I am new to the Django.Just learning about the Django.I have created a django application & run it runs only django server. How can i run the django site in the Apache server. Pls help me to solve this problem. With regards, Kannan.