Re: i want to save is_staff value true in db but not save in database

2018-08-01 Thread mazz ahmed
set is_staff to true to Account model in django model after that save method will be called On Wed, Aug 1, 2018 at 1:06 PM, lalitaquasoft wrote: > *Advance Thanks for your help:* > > > *is_staff value is not save in database* > > *Here is Code:* > > from django.contrib.auth import login, authen

Re: Unrecognizable error

2018-08-16 Thread mazz ahmed
mention your python version in python manage.py run server On Fri, Aug 17, 2018 at 9:54 AM, Vikrant Gupta wrote: > I'm trying to migrate two Classes in Django using Pycharm. The error is as > follow > > python manage.py makemigrations --name initial polls > File "manage.py", line 16 > )fr

Re: Help me with this, plz

2018-08-16 Thread mazz ahmed
remove your "Newtest.apps.Newtestconfig" and see what happens On Fri, Aug 17, 2018 at 11:16 AM, Vikrant Gupta wrote: > sick of this error... what to do? > > antuptasMBP:New_Django vikrantgupta$ python manage.py migrate > Traceback (most recent call last): > File "manage.py", line 15, in >

Re: Help me with this, plz

2018-08-16 Thread mazz ahmed
rks/Python.framework/Versions/3.7/lib/ > python3.7/site-packages/pymysql/connections.py", line 598, in connect > self._request_authentication() > File "/Library/Frameworks/Python.framework/Versions/3.7/lib/ > python3.7/site-packages/pymysql/connections.py", line

Re: Help me with this, plz

2018-08-16 Thread mazz ahmed
if you are using sqlite3 then it will automatically do for you otherwise configure db On Fri, Aug 17, 2018 at 11:30 AM, mazz ahmed wrote: > it is related to your database configure in the setting.py > > On Fri, Aug 17, 2018 at 11:28 AM, Vikrant Gupta > wrote: > >> I tried

Re: Help me with this, plz

2018-08-16 Thread mazz ahmed
python manage.py makemigration and migrate use for db creation On Fri, Aug 17, 2018 at 11:31 AM, mazz ahmed wrote: > if you are using sqlite3 then it will automatically do for you otherwise > configure db > > On Fri, Aug 17, 2018 at 11:30 AM, mazz ahmed wrote: > >>

Re: Unrecognizable error

2018-08-16 Thread mazz ahmed
name of app should in small letters On Fri, Aug 17, 2018 at 11:28 AM, Vikrant Gupta wrote: > For example ? > > On Aug 17, 2018, at 11:57 AM, mazz ahmed wrote: > > this is an error in your install apps > naming the app should be unique > > On Fri, Aug 17, 2018 at

Re: Help me with this, plz

2018-08-16 Thread mazz ahmed
3 AM, Vikrant Gupta wrote: > I configured it already… > See here. > > DATABASES = { > 'default': { > 'ENGINE': 'django.db.backends.mysql', > 'NAME': os.path.join(BASE_DIR, 'Django_TestingDB'), >

Re: Help me with this, plz

2018-08-16 Thread mazz ahmed
$ mysql -u root -p mysql> CREATE DATABASE mydb;Query OK, 1 row affected (0.02 sec) On Fri, Aug 17, 2018 at 11:37 AM, Vikrant Gupta wrote: > Thanks. Be there, let me try. > > On Aug 17, 2018, at 12:06 PM, mazz ahmed wrote: > > > > DATABASES = { > &#x

Re: Help me with this, plz

2018-08-16 Thread mazz ahmed
did you created sql and connected with the project On Fri, Aug 17, 2018 at 11:41 AM, mazz ahmed wrote: > $ mysql -u root -p > > mysql> CREATE DATABASE mydb;Query OK, 1 row affected (0.02 sec) > > > > > > > On Fri, Aug 17, 2018 at 11:37 AM, Vikrant Gupta <

Re: Help me with this, plz

2018-08-16 Thread mazz ahmed
https://stackoverflow.com/questions/24462007/how-to-deal-with-this-error-1049-unknown-database-users-ohyunjun-work-astra On Fri, Aug 17, 2018 at 11:41 AM, Vikrant Gupta wrote: > I tried it dude. But it’s showing unknown database > > On Aug 17, 2018, at 12:06 PM, mazz ahm

Re: Trying to make an employee clock-in/clock-out app...

2018-08-16 Thread mazz ahmed
https://docs.djangoproject.com/en/2.1/ref/models/querysets/ On Thu, Aug 16, 2018 at 1:48 AM, Alexander Joseph < alexander.v.jos...@gmail.com> wrote: > I'm trying to make an employee clock-in/clock-out app but running into > some problems. > > Here is my model... > > class ClockPunch(models.Model

Re: Help me with this, plz

2018-08-17 Thread mazz ahmed
On Fri, Aug 17, 2018 at 11:30 AM, mazz ahmed wrote: > it is related to your database configure in the setting.py > > On Fri, Aug 17, 2018 at 11:28 AM, Vikrant Gupta > wrote: > >> I tried it. Showing following error… >> >> >> Python manage.py migrate

Re: Help me with this, plz

2018-08-17 Thread mazz ahmed
rtunately, Python is not available > build in VS for Mac. Is there any way to do it. > > On Aug 17, 2018, at 12:32 PM, mazz ahmed wrote: > > > On Fri, Aug 17, 2018 at 11:30 AM, mazz ahmed wrote: > >> it is related to your database configure in the setting.py >> >>

Re: Help me with this, plz

2018-08-17 Thread mazz ahmed
what do you want to do? if you want to learn use youtube and udemy stuff On Fri, Aug 17, 2018 at 12:44 PM, mazz ahmed wrote: > use pycharm to work with django > > On Fri, Aug 17, 2018 at 12:06 PM, Vikrant Gupta > wrote: > >> Man, I don’t know what to do now. Creating ne

Re: Modification in Fee Management System Django Project

2018-10-27 Thread mazz ahmed
Hi Dear! I am Interested in your project. Please If you want to work with me reply please On Sat, Oct 27, 2018 at 8:10 PM BBG wrote: > I have one project fee management system and need some modification. > > please review this document for more information. > > > Strict Deadline: 30/10/2018 > bu

Re: Create Follow model

2018-11-09 Thread mazz ahmed
https://docs.djangoproject.com/en/2.1/topics/auth/customizing/ On Fri, Nov 9, 2018 at 3:24 PM Aditya Bohra wrote: > I am having problem Creating follow model . > This is to be used with django user model > > -- > You received this message because you are subscribed to the Google Groups > "Django

Re: Create Follow model

2018-11-09 Thread mazz ahmed
Sorry I didn't get what you are looking for? Are you want to authenticate from Twitter or something else.. On Fri, Nov 9, 2018 at 4:23 PM Aditya Bohra wrote: > > > On Friday, November 9, 2018 at 3:53:54 PM UTC+5:30, Aditya Bohra wrote: >> >> I am having problem Creating follow model . >> This is

Re: Create Follow model

2018-11-09 Thread mazz ahmed
https://stackoverflow.com/questions/10602071/following-users-like-twitter-in-django-how-would-you-do-it Please Check this you have to create another model which have to associate with user model...If not getting from this link check youtube you have better understanding. On Fri, Nov 9, 2018 at 4:2

Re: mail sending

2018-11-21 Thread mazz ahmed
celery is Django package check out that. On Thu, Nov 22, 2018 at 11:53 AM Tushar Nadkar wrote: > when a button is clicked , i want to send specific mail after 3 days ? how > can i do that in django > > -- > You received this message because you are subscribed to the Google Groups > "Django users

Re: mail sending

2018-11-21 Thread mazz ahmed
https://stackoverflow.com/questions/28992466/send-weekly-email-notifications-to-users-regarding-any-changes-in-data On Thu, Nov 22, 2018 at 12:06 PM mazz ahmed wrote: > celery is Django package check out that. > > On Thu, Nov 22, 2018 at 11:53 AM Tushar Nadkar > wrote: > >

Re: MULTIPLE IMAGES UPLOAD FOR A POST

2018-11-22 Thread mazz ahmed
https://django-filer.readthedocs.io/en/latest/ On Thu, Nov 22, 2018 at 12:49 PM Pacôme Avahouin wrote: > Please help me. I am new to Django, cannot undertsand the following. I > have subclass of CreateView for creating a post. I'm creating a rental site > project where people can post their apar

How we can use just like Django admin panel in tornado but i am not want to use django-admin-panel in tornado app?

2018-12-27 Thread mazz ahmed
. Thanks&Regars Mazz Ahmed -- 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 e

Re: best way to generate PDFs in django - handling concurrency

2018-12-27 Thread mazz ahmed
Use wkhtmltopdf package for that bro. On Fri, Dec 28, 2018 at 12:02 PM Danny Blaker wrote: > 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 > email to d

Re: How 2 access the Primary model's ID in the Foreign model??

2019-01-01 Thread mazz ahmed
. Thanks&Regars Mazz Ahmed On Tue, Jan 1, 2019 at 12:31 PM Peter of the Norse wrote: > Also song.album_id will work as well, and faster too. > > Sent from my iPad > > > On Dec 4, 2018, at 3:43 PM, Mike Dewhirst wrote: > > > >> On 5/12/2018 7:07 AM, Souraj

Re: MySQL accepts 0 for a primary key but Django does not

2019-01-01 Thread mazz ahmed
. Thanks&Regars Mazz Ahmed On Tue, Jan 1, 2019 at 2:30 PM Derek wrote: > Hi Simo > > > My custom app has no particular structure - its really just a collection > of files and utilities that are commonly used across multiple apps. It > gets imported, along with all the o

Re: Connecting ios app to django as backend And represent the location data in maps.

2019-01-02 Thread mazz ahmed
:D On Wed, Jan 2, 2019 at 3:20 PM Achyut Pandey wrote: > > Hello guys i am working on project named “real time user tracking system” > using django as a backend. The problem i faced to build this project is how > can > i get data ( about location ) sent from ios app to my django site in real >

Django Custom user model with socail auth

2019-01-17 Thread mazz ahmed
Hi, Thanks everyone for their time :) I want to ask about the custom User model and I can also login with social auth also. If anybody has code please let me know. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group an

Re: How to upload pdf files in django

2019-03-02 Thread mazz ahmed
Use FileField to upload files. On Sat, Mar 2, 2019 at 7:01 PM Akshay Gupta wrote: > Can Anyone tell me how to upload pdf files 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

SMMP sms sending

2019-03-25 Thread mazz ahmed
Hi everyone, I am using smpplib python library for sending SMS but I am not able to send the message. When I am using the bind_transmitter it gives me invalid sys_id. But When i used bind_transceiver I am connected to the server and able to send the message but the message is not delivered to clien

Celery running in server by nohup Isuue

2019-04-09 Thread mazz ahmed
Hi, I am running celery using nohup in the background on the server but not able to run properly. Sometimes it start a task or sometimes it skip tasks in queue. Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this grou

Re: Custom multiuser login, registration in DRF

2019-04-09 Thread mazz ahmed
Hi, I am running celery using nohup in the background on the server but not able to run properly. Sometimes it start a task or sometimes it skip tasks in queue. Thanks On Tue, Apr 9, 2019 at 4:20 PM Shubham Joshi wrote: > I am developing a school website in DRF, in which admin, student teacher,