Re: Looking for a Learning Buddy

2023-10-13 Thread Hafiza Nafeesa Asif
Sure On Fri, 13 Oct 2023, 6:14 pm Sathya Narayana Rangappagari, < rangappagari.sathyanaray...@gmail.com> wrote: > Hey Hafiza, I will help you in machine learning. You can help me in Django. > > On Friday, October 13, 2023 at 12:31:34 PM UTC+5:30 Hafiza Nafeesa Asif > wrote: &g

Re: Looking for a Learning Buddy

2023-10-13 Thread Hafiza Nafeesa Asif
I have bases in Django but not yet In machine learning. So if you help me to handle machine learning, we can work together On Sat, 17 Jun 2023, 3:00 am John Ayodele, wrote: > Hi! It's John. > > I am currently looking for a learning buddy💡, for Machine Learning. > I have little experience in Djan

Re: makemigrations

2022-09-15 Thread Hafiza Nafeesa Asif
If error not resolve attach pic ... On Fri, 16 Sep 2022, 1:00 am Hafiza Nafeesa Asif, wrote: > default=True > > On Fri, 16 Sep 2022, 12:51 am Adebileje Nurudeen, > wrote: > >> Select option as 1 >> >> On Thu, Sep 15, 2022, 8:38 PM shiva singh > >>&g

Re: makemigrations

2022-09-15 Thread Hafiza Nafeesa Asif
default=True On Fri, 16 Sep 2022, 12:51 am Adebileje Nurudeen, wrote: > Select option as 1 > > On Thu, Sep 15, 2022, 8:38 PM shiva singh >> Hello I am new in Django users group. I am using Django and faching a >> problem when i do any changes in existing models after run makemigrations. >> >>

Re: page index.html

2022-08-24 Thread Asif Ahmed Khan
; 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 visit > https://groups.google.com/d/msgid/django-users/CAD9WEx365okwa4ziZXt1pVj3sQ9bDCZmyjkhx6nosqfn4iwmHg%40mail

Re: About page

2022-08-15 Thread Asif Ahmed Khan
on the web visit > https://groups.google.com/d/msgid/django-users/456bd705-82fa-4e2f-b8ee-af5456c6acaen%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/456bd705-82fa-4e2f-b8ee-af5456c6acaen%40googlegroups.com?utm_medium=email&utm_source=footer> > . >

POS Printer

2022-05-31 Thread Asif Foysal
How to use POS printer 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

Query SET

2021-02-27 Thread Aysha Asif
Hello everyone, I was just learning Django and had a doubt. while making django models classes,In CONSOLE, the objects of the models were returning as query sets The queryset is a class"my question is whether query set is a parent class models.Model?". I wanted to know how these 2 classes ar

Re: Django ORM Model meta internal API to current API update

2020-09-07 Thread Asif Saif Uddin
any help? I can share the full function On Wednesday, August 19, 2020 at 3:42:09 AM UTC+6 vickkymb...@gmail.com wrote: > I don't bro i just started new in Django > > Victor > > On Tue, Aug 18, 2020, 3:46 PM Asif Saif Uddin wrote: > >> >> Hi, >> I have g

Django ORM Model meta internal API to current API update

2020-08-18 Thread Asif Saif Uddin
Hi, I have got an old project of django 1.8 which use codes like links = [rel.get_accessor_name() for rel in self._meta.get_all_related_objects()] How would I upgrade this code snippets to django 2.2 LTS? TIA -- You received this message because you are subscribed to the Google Groups "Djan

Re: How can I host my application in web hosting?

2019-12-01 Thread Asif Khan
I am using Webfaction and quit happy. it is quit fast and scalable platform for Django application. On Thursday, August 22, 2019 at 4:47:51 PM UTC+5, Wasim Rana wrote: > > Hello, I am building a web application locally in my computer. It's almost > done and I want to host it in Siteground hostin

Re: Getting "SMTPServerDisconnected: Connection unexpectedly closed: [Errno 104] Connection reset by peer" errors when using django.core.mail.send_mail in the loop

2019-05-21 Thread Asif Khan
I am facing similar error while I am rendering html template to PDF by using xhtml2pdf. Same when my template have small number of rows it works perfect to render as pdf but when my result fetch mutiple table rows it start processing and after couple of duration give error [Errno 104] Connectio

Re: Django saleor postgresql hstore issue

2019-04-10 Thread Asif Saif Uddin
Fixed using this https://stackoverflow.com/questions/10757431/postgres-upgrade-a-user-to-be-a-superuser On Thursday, April 11, 2019 at 10:05:58 AM UTC+6, Asif Saif Uddin wrote: > > facing this error even after creating hstore extension from pg shell and > generated empty migrations f

Django saleor postgresql hstore issue

2019-04-10 Thread Asif Saif Uddin
facing this error even after creating hstore extension from pg shell and generated empty migrations for hstore: line 89, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "/usr/local/lib/python3.6/dist-packages/django/db/backends/utils.py", line 84, in _execute

Re: Django external libraries

2019-04-07 Thread Asif Saif Uddin
try to make MIDDLEWARE_CLASSES to MIDDLEWARE first, you didn't mentioned the version of django and the extension you installed. On Sunday, April 7, 2019 at 3:58:18 PM UTC+6, Saeed Pooladzadeh wrote: > > Hello > > I've added an external library in django. I have installed in installed > apps but

Re: Document for creating Django project with postgresql

2019-03-06 Thread Asif Nasim
Hi Prabhu, You can follow up the django girls tutorial, by visiting their web page and there they will show you how to made a full working web project using postgreSQL and how to deploy them on heroku, Regards, Asif Nasim On Wed 6 Mar, 2019, 21:31 Prabakaran Balaji Hi All, > > Could

Re: Messages without text in the messages framework

2019-01-21 Thread Mohd Asif
Generate message with a random text and don't use it on front end instead use whatever u want On Mon, 21 Jan 2019, 20:52 Sebastian Lechner Dear Django community, > > often I would like to trigger a message to the user with the message > rendered dynamically in the client-side JS code. I use the m

Re: Djando 2.0.7 image handling problem on production server

2018-07-21 Thread Asif Khan
Oh dear I checked and found that Pillow was install in Python3.5 where as production setup is for Python3.6 so Pillow was installed by pip3.5 but not with pip3.6 which I have installed now. the problem is resolved. Thanks for make me focus on this. On Saturday, July 21, 2018 at 9:58:55 PM UTC+5

Re: Djando 2.0.7 image handling problem on production server

2018-07-21 Thread Asif Khan
> > > On Saturday, July 21, 2018 at 11:56:12 AM UTC-4, Asif Khan wrote: >> >> I developed application that uses an ImageField in Django==2.0.7 with >> Pillow 5.2.0 there is no issue on development machine but facing problem on >> production server giving "Serv

Djando 2.0.7 image handling problem on production server

2018-07-21 Thread Asif Khan
I developed application that uses an ImageField in Django==2.0.7 with Pillow 5.2.0 there is no issue on development machine but facing problem on production server giving "Server Error 500" Exception Value: No module named 'PIL' which I have not used or called in my code. I new to Python and Dj

Re: button not responding when click but when press return key than works

2018-06-14 Thread Asif Khan
14 jun. 2018 a las 0:14, Asif Khan ( >) escribió: > >> No I am not using JS capturing for any kind of actions. where as my other >> form button are working. >> >> On Thursday, June 14, 2018 at 2:14:48 AM UTC+5, Asif Khan wrote: >>> >>> I am having amaz

Re: button not responding when click but when press return key than works

2018-06-13 Thread Asif Khan
No I am not using JS capturing for any kind of actions. where as my other form button are working. On Thursday, June 14, 2018 at 2:14:48 AM UTC+5, Asif Khan wrote: > > I am having amazing problem in my django template. Button does not respond > on pressing click on it. It works whe

button not responding when click but when press return key than works

2018-06-13 Thread Asif Khan
I am having amazing problem in my django template. Button does not respond on pressing click on it. It works when I press return key. code is following. {% extends 'vtapp/baseapp_layout.html' %} {% block head %} Vehicle Vegilince - Customer Search {% endblock %} {% block content %} Enter Custo

Re: how to import functions of app from the same project from other app

2018-05-21 Thread Asif Khan
thanks yes I am doing day by day to improve python and django both. On Monday, May 21, 2018 at 11:05:56 PM UTC+5, Daniel Germano Travieso wrote: > > Hello Asif! > > To use a method from one app in another app would require you to import > the app's module (using from

Re: how to import functions of app from the same project from other app

2018-05-21 Thread Asif Khan
thanks it is resolved. On Tuesday, May 22, 2018 at 12:18:49 AM UTC+5, Coder Dude wrote: > > Suppose your function is in accounts.models . And you want to import in > VV.views > > In views.py of VV, > Write, > from accounts.models import foo -- You received this message because you are subscr

how to import functions of app from the same project from other app

2018-05-21 Thread Asif Khan
new to Python and Django as developer. Regards, Asif -- 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.

Designed page in Adobe Muse as html not showing on browser

2018-05-01 Thread Asif Khan
I have designed a page in adobe muse and exported in html to use with Django all is perfect no errors but when run it is not showing anything on the browser. Asifs-iMac4K:aisite asifkhan$ python3 manage.py runserver Performing system checks... System check identified no issues (0 silenced).

Rails User management system to django user management system for REST API

2017-11-11 Thread Asif Saifuddin
sting users/authors etc from DB to django User management system? Any suggestion would be appreciated. Regards, Asif -- 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, se

Re: [Ask for help]How to convert django models schema to json?

2016-11-01 Thread Asif Saifuddin
But seems like you are using sqlalchemy models. for sqlalchemy models you could try sqlalchemy-marshmellow On Wednesday, November 2, 2016 at 2:27:47 AM UTC+6, 周华 wrote: > > >- This is an example models >- class UserModel(db.Model): >__tablename__ = "user" >id = db.Column(d

Re: [Ask for help]How to convert django models schema to json?

2016-11-01 Thread Asif Saifuddin
Hi, you can try django-rest-frameworks model serializer, modelviewsets and django-json-api package for this job. thanks On Wednesday, November 2, 2016 at 2:27:47 AM UTC+6, 周华 wrote: > > >- This is an example models >- class UserModel(db.Model): >__tablename__ = "user" >i

Re: Implementing user alias in django.

2016-06-28 Thread Asif Saifuddin
Thanks I will try your suggested way. On Tuesday, June 28, 2016 at 6:36:02 PM UTC+6, Asif Saifuddin wrote: > > Hi, > > I'm planning to implement user alias in django. A user can create many > alias and each alias will work like and full user. each alias will have >

Implementing user alias in django.

2016-06-28 Thread Asif Saifuddin
model/architecture? Thanks, Asif -- 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

Re: Looking for ways to improve my skills

2016-04-06 Thread Asif Saifuddin
Hi, I have been working with django for 3years. 1 thing I wanna add with others, that is I tried django based popular cms project like mezzanine, django-cms, wagtail etc. and other popular django packages docs and source code. This helped me a lot to understand different parts of django's use c

Re: PGConf US 2016 - free tickets for Django community members

2016-03-19 Thread Asif Saifuddin
The member should be a US citizen? On Thursday, March 17, 2016 at 5:45:27 AM UTC+6, Daniele Procida wrote: > > The organisers of PGConf US 2016, the biggest Postgres conference in the > world, have offered five full conference tickets worth US$439.00 each to > the Django community. > >

Re: Debugging DJango app on production for High CPU Usage

2016-02-24 Thread Asif Saifuddin
What is your server configuration and system usage statistics? On Wednesday, February 24, 2016 at 10:59:28 AM UTC+6, Web Architect wrote: > > Hi, > > We have an ecommerce platform based on Django. We are using uwsgi to run > the app. The issue the CPU usage is hitting the roof (sometimes going >

WeakMethod import error in Django 1.9 with python 3.3

2016-02-09 Thread Mohammad Asif
roduced in python 3.4, and its not exist in weakref of python 3.3. Any suggestions on how to fix the same error with python 3.3. Regards, Asif -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and sto

Django admin URL redirect problem in admin page

2011-11-30 Thread Asif
Dear All, In one of my django app, I extended the django User model and created a new ‘UserProfile ‘ model. But when I’m trying to add new user through this model in admin page, the URL is not redirecting to successful page, instead its stopped on ‘admin/auth/user/add/? _popup=1’ this URL. (user i

Transmeta is not working with mysql

2011-11-20 Thread Asif
Asif -- 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...@googlegroups.com. For more options, visit

Choicefield in django

2011-11-10 Thread Asif Jamadar
option manually? How can I achieve this? Regards Asif -- 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-user

Get the current url in django template

2011-11-09 Thread Asif Jamadar
I want to display the current url in django template. I tried {{request.get_full_path}} but this is not working with me. Any solution? -- 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@googlegroup

initial data to Formset causing problem

2011-11-09 Thread Asif Jamadar
I'm assigning initial data to the field of each formset dynamically. But when I'm trying to save that initial data it's throwing "Key Error" in cleaned data. Any solution? Here is the code: In views.py for form in formset.forms: question = form.save(commit=Fal

Onchange attribute for mdelformset

2011-11-02 Thread asif
How can i access the form in django views. Suppose Modelform class QuestionForm(forms.ModelForm): answer = forms.ChoiceField(choices=HAY_EVALUATION_CHOICES, widget=forms.Select(attrs={'onchange': 'this.form.submit();'})) In views.py if 'form-0-answer' in request.POST: answer

Calling Python from JavaScript

2011-11-02 Thread asif
function which calculates the total sum of all the values of dropdown fields. Here my formset has initial values. So I want to call that python function (which calculates result ) in javascript code (This javascript function is for dajaxice ) Regards Asif -- You received this message

Help with m2m relationships through intermediary tables

2009-01-12 Thread Asif
that includes the fields from the intermediary table. Am I missing something really obvious? Thanks in advance for your help, Asif P.S. If you haven't figured out already, I'm a Django newbie. --~--~-~--~~~---~--~~ You received this message because you