Django to exe ... windows executable

2019-07-02 Thread Balaji Shetty
Hello everyone I want to can work my D jango application into exe format this application will run on windows machine my application have libraries and dependencies. There are lots of options which are available on web. which is the best option. please help me Thank you very much. Have a

Re: Polls app not showing?

2019-07-02 Thread Joe Reitman
That looks really weird. Try running this command in a new folder exactly as shown. django-admin startproject polls_project . Remember to include a space and period after polls_ project. It should create a directory structure like this in your new folder. . ├── manage.py ├── polls_project

Re: Polls app not showing?

2019-07-02 Thread Scott Winter
Ok, attached a pic of the mysite folder and the other items inside. Polls 2 and 3 are my attempt at making another polls app. Feels like I'm missing something really simple here. On Sunday, June 30, 2019 at 11:06:54 PM UTC-4, Joe Reitman wrote: > > What does your project directory look like? >

Persistir campo novo na models User - Não consigo

2019-07-02 Thread Marcos G.A
Preciso gravar na models User do django um campo denominado "Role" do tipo boolean. Este campo vai ser True quando for um cliente se cadastrando e False para quando for um Fornecedor. A principio, no que tange visualmente, o campo aparece na tela e eu consigo marcar ele, mas seu valor não

FilterSelectMultiple Widget's right list box does not render

2019-07-02 Thread Yeashin Rabbi
Hello, I tried to use Django's FilterSelectMultiple Widget. But it does not render the right list box. Any help would be appreciated. Thanks Here is my code: forms.py class appForm(ModelForm): port = forms.ModelMultipleChoiceField(internalapp.objects.all(),widget=

Django use id=models.IntegerField(primary_key=True) as autokey

2019-07-02 Thread P O
Hello, sorry if I am wrong, but I use somethig like: id=models.IntegerField(db_name="some_id", primary_key=True) and Django uses auto-key when I add objects this way: obj = Obj() obj.some_id= 1 obj.save() obj = Obj() obj.some_id= 3 obj.save() In default DB this objects have some_id=1 and

Re: order of loading css-files

2019-07-02 Thread Joe Reitman
You have a 404 error meaning the browser can not find the file on the server. The 304 error code means the file is already loaded in the browser and is the same as the file on the server so it won't be modified. On Tuesday, July 2, 2019 at 7:14:38 AM UTC-5, bengoshi wrote: > > Hi: > > I tried

Re: order of loading css-files

2019-07-02 Thread Kai Kobschätzki
Hi, thanks for your responses. Damn, but learning something new. Is there something existing like a "proxy" in django which deliver the browser only one css (quasi a mixture of all css-files)? bengoshi On 7/2/19 2:34 PM, Jani Tiainen wrote: > Hi. > > It's your browser not Django. Django just

Re: New leaener.

2019-07-02 Thread Charlotte Wood
I found that doing a project from YouTube was helpful. It made me wonder how to accomplish things I didn't even know I would wonder about.. Charlotte Wood, MEd Educator (405) 578-5701 Zoom Meeting ID#: 4055785701 *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912 Classroom Google

Re: order of loading css-files

2019-07-02 Thread Jani Tiainen
Hi. It's your browser not Django. Django just emits HTML that is parsed by your browser. ti 2. heinäk. 2019 klo 15.14 Kai Kobschätzki kirjoitti: > Hi: > > I tried to load bootstrap and an own css-file. But in which order does > django load it? > > I have tried in my base.html: > > > {% load

order of loading css-files

2019-07-02 Thread Kai Kobschätzki
Hi: I tried to load bootstrap and an own css-file. But in which order does django load it? I have tried in my base.html: {% load static %} {% block title %}gyousei{% endblock title %} ... and the log is writing: [02/Jul/2019 11:54:38] "GET / HTTP/1.1" 200 6259

Re: New leaener.

2019-07-02 Thread KUMBHAGIRI SIVAKRISHNA
https://www.youtube.com/playlist?list=PLsyeobzWxl7r2ukVgTqIQcl-1T0C2mzau Follow this YouTube channel you will get overall on django. Easily understanding and simple taching ,provide good more knowledge within less time. On Tue, 2 Jul 2019, 4:50 pm ABU SADAT MOHAMMAD SAYEM, wrote: > Hi, > I have

New leaener.

2019-07-02 Thread ABU SADAT MOHAMMAD SAYEM
Hi, I have recently started python & somewhat completed the basics. Now want to learn 'django'. Please advise where to begin & focus? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

signup in Django rest API framework With MIXIN

2019-07-02 Thread laya
Hi, I need a help in signing up Custom Model User with MAXIN and be able to edit and delete and see the saved user info . At first , I defined a sterilizer class to get the fields I want to have from user then I defined a class view which the parameter are

Re: Nested dictionaries

2019-07-02 Thread Derek
I am not sure I understand what you mean by " write the models to work with the serializers". A model is there primarily for data storage and its possible to store JSON in a field of such a model. Any "business logic" for the model is just Python and can carry out, for example, processing

Re: OTP Verification

2019-07-02 Thread Jani Tiainen
Hi. I wrote short blog post how to do simple OTP. http://blog.jani.tiainen.cc/django/2019/02/19/django-otp-simple-way.html HTH. ti 2. heinäk. 2019 klo 4.33 ravikumar dingari kirjoitti: > Actually generated OTP but , Don't know how to verify, can any one help > > -- > You received this