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
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
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
>
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
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
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:
>
>>
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
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'),
>
$ 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 = {
>
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 <
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
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
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
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
>>
>>
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
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
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
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
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
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
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:
>
>
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
.
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
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
.
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
.
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
: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
>
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
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
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
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
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,
32 matches
Mail list logo