Hi,
You run on gunicorn cli
On Mon, Dec 16, 2019, 05:28 Ram wrote:
> Hi Integr,
>
> Thank you for the answer but I don't see '--preload' option for the same
> command. Am I missing anything?
>
>>
>> $ sudo systemctl --preload gunicorn.service
>>> systemctl: unrecognized option '--preload'
>>>
Hello Everyone,
i am getting some issue please help me.
i have created custom user model in account app by extending auth user
model. also i have creates register api to register user. i am able to
create superuser from command prompt and api as well. and both user are
storing in single User m
hello, your problem is easy to solve. The 'createsuperuser' command creates
a user with the 'staff' attribute set to true. When you create a user
through
the model thats inheriting from the User model, the default for the 'staff'
attribute is set to false. The solution is to make sure you override
i feel for you, but from this description there is no way to figure out how
to help. it's way too abstract. so you probably may want to provide code
piece and traceback to get any kind of help here.
On Saturday, December 7, 2019 at 2:08:41 AM UTC+3, Alaina Rowe wrote:
>
> I have not been able to
Thanks for your answers
--
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 visit
http
Where's the code
On Mon, 16 Dec 2019, 5:53 pm Tafadzwa Marshal, wrote:
> hello, your problem is easy to solve. The 'createsuperuser' command
> creates a user with the 'staff' attribute set to true. When you create a
> user through
> the model thats inheriting from the User model, the default for
*models.py*
from django.db import models
import uuid
from django.contrib.auth.models import (BaseUserManager, AbstractBaseUser)
from django.contrib.postgres.fields import ArrayField
class UserManager(BaseUserManager):
def create_user(self, email, password=None, **kwargs):
if not email
Django users,
I receive FileNotFoundError error messages when users try to sign up to my
website and upload a photo. The error messages are like:
[Errno 2] No such file or directory: '/tmp/tmpry12cluf.upload.jpg'
I received a few messages like this recently and these users were not able
to uploa
Hi Gana,
Try implement Django Panda module,
# Create DataFrameManager instance in model
# Query data and then export to Panda dataframe by to_dataframe() method,
# After that convert to JSON data via to_json() method
# Final render on context in any template of html file
On Mon, Dec 16, 2019, 20:
10 Aralık 2019 Salı 19:00:32 UTC+3 tarihinde Balaji yazdı:
>
> Hi
>
> I am getting error for every Project.
>
> I created new environment and reinstalled python and Django.
>
> emplateSyntaxError at /
>
> 'staticfiles' is not a registered tag library. Must be one of:
> admin_list
> admin_modify
I once encountered the same problem with a Custom User ModelThe solution that
worked for me was putting under the is_staff = True It wouldnt log in even afte
that then I added the following methods under my Userdef has_perm(self, perm,
obj=None): return Truedef has_module_perms(self, app_label
On 17/12/2019 12:19 am, lemme smash wrote:
i feel for you, but from this description there is no way to figure
out how to help. it's way too abstract. so you probably may want to
provide code piece and traceback to get any kind of help here.
+1
It might help to actually build the two-app proj
When I get work time to do it, I'll try to post a traceback and some code
with renaming to remove project-specific information.
I know that building a minimal example that demonstrates the problem would
help. The issue with that is, I'd have to get permission to deploy it to
our production envi
thank you. i will try it
On Tue, Dec 17, 2019 at 4:48 AM dumbaclassics
wrote:
> I once encountered the same problem with a Custom User Model
>
> The solution that worked for me was putting under the is_staff = True
>
> It wouldnt log in even afte that then I added the following methods under
> m
14 matches
Mail list logo