I have admin who can create User and Manager
User (id, name, password,role)
Manager (id, name, password,role)
So how can i achieve using admin panel in djnago ?
for that I have to extend User model or create other model ?
Can I use same model for User and Manager ? If the i have to add role f
I want to print data from database when user click on print button.
how can I achieve it ?
Is there any in-built module in djnago for printing data ?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop recei
dmin site?
>
> Does it make sense?
>
> Regards,
> Constantine C.
>
> On Mon, Dec 18, 2017 at 11:38 PM, Ketul Suthar
> wrote:
>
>> I have admin who can create User and Manager
>>
>> User (id, name, password,role)
>> Manager (id, name, password,role)
>>
I am beginner to djnago.
I want to create app in which admin can create User and Manager and manager
is assign to user ?
so how can i achieve ? For that I have to extend user class bacause user
and manager and admin all three can login in system
--
You received this message because you are
called "profile", a model with one to one relation to user
> model where you put all the same attributes as above.
>
> Admin can work with both approaches, it's up to you to decide which one
> approach suits for you.
>
> On Fri, Jan 5, 2018 at 6:26 PM, Ketul Suthar
str__(self): # __unicode__ for Python 2
return self.user.username
Is it right ? how can i create form ?
On 1/5/18, Ketul Suthar wrote:
> Can you give me example?
>
> On Jan 5, 2018 10:09 PM, "Jani Tiainen" wrote:
>
>> Hi,
>>
>> There are num
I have one app which has backend mongodb and it's has one script which insert
data in database then when I start my app locally then it will give me result
from db but when I deploy that app to Google cloud app is working but when I
search any thing it's will give me errors
--
You received thi
It's not necessary to create virtual environment on production. You must
have to install all dependencies which are on development.
On Apr 18, 2018 9:02 PM, "mansi thakkar" wrote:
Hello ,
I am trying to deploy my project on Heroku. I haven't created Virtual
Environment in my app. Is it necessar
I will let you know. I am also working on same concept.
On Mon., Aug. 17, 2020, 5:19 p.m. samar...@gmail.com,
wrote:
> Hello, I already achieved opening the webcam in browser, I would like to
> add a button in a template and every time it is clicked, it saves the frame
> in a folder ('media')
>
9 matches
Mail list logo