Hi,
Chances are that you're thinking about "runserver", which is a management
command. On Unix based systems (i.e. Linux or MacOS) you start it with :
./manage.py runserver
I'm not exactly sure about Windows, but it should be something as :
python manage.py runserver
Warning : as stressed in
Hey Mike,
Launch a digital ocean droplet with plesk 17.08 with decent specs and you
can run all your three websites with ease on it on a single droplet.
You would have to setup apache mod_wsgi on it and you will be good to go.
If you need help do let me know.
I have been running my django projects
Django uses wsgi webservers by default.
On Wed, Apr 3, 2019 at 1:53 PM PASCUAL Eric wrote:
> Hi,
>
> Chances are that you're thinking about "runserver", which is a management
> command. On Unix based systems (i.e. Linux or MacOS) you start it with :
>
> *./manage.py runserver*
>
> I'm not exactl
You can read about collectstatic here:
https://docs.djangoproject.com/en/dev/howto/static-files/deployment/
I think you should run it every time there is a change in the static files.
If you want to make sure, run it every time you deploy a new version.
אורי
u...@speedy.net
On Wed, Apr 3, 2019 a
*The below code works fine on one search but for another it gives an error
like django.utils.datastructures.MultiValueDictKeyError: 'search1' . Can
anyone tell me where i go wrong?*
*def viewstr(request):*
*views = create_store.objects.all()brn =
Prod_Brand.objec
Can you send me the code link, please I'm struggling to find it or solve it.
Please help.
Thank you for your time.
On Wed, 3 Apr 2019, 09:28 Guru Murthy, wrote:
> Hi Suman khatua,
>You can remove the username from admin authentication system
>
> --
> You received this message because you are
I override add_prefix because on client side I use angularjs. In some cases
it is impossible or not easy to use hyphens in the names.
I do not overwrite _construct_form! That was just a possibility to solve
that. But at the moment, I see no other options for solving that.
I find it personally t
*Can i create a chrome extension in django or flask ? I have already
created an extension in javascript but i didn't know how to start creating
it in django . Can anyone tell me how to do it with some example?*
--
You received this message because you are subscribed to the Google Groups
"Djan
*this is my views file which creates an error like
django.utils.datastructures.MultiValueDictKeyError: 'search1' . Can anyone
tell me where i go wrong?*
*def viewstr(request):*
*views = create_store.objects.all()brn =
Prod_Brand.objects.all()mi = ''if requ
Hi Abhijeet baranwal,
I think you are adding contains is not correct query listing you have to
use in query instead
On Wed, 3 Apr, 2019, 5:02 PM Abhineet Baranwal, <
suabhineetbaran...@gmail.com> wrote:
>
> *this is my views file which creates an error like
> django.utils.datastructures.MultiV
Thanks for your efforts, But i didn't get it can you please elaborate your
answer?
On Wed, Apr 3, 2019 at 5:16 PM Guru Murthy wrote:
> Hi Abhijeet baranwal,
> I think you are adding contains is not correct query listing you have to
> use in query instead
>
>
> On Wed, 3 Apr, 2019, 5:02 PM Abhi
seems like search1 key is containg multi value dictionary and you are
checking it with == which is for single value
after
*search1 = request.POST['search1'] *
put
*print(* *search1* *)*
*return "hello"*
and comment code remaining below ,check terminal it will show you how many
value you hav
Hi abhineet baranwal,
You have to use q(id__in=search) instead q(id__icontains=search) ..search
more about how to use in query in django and 1 thing you are not getting
correct post value of searc1
On Wed, 3 Apr, 2019, 5:31 PM Abhineet Baranwal, <
suabhineetbaran...@gmail.com> wrote:
> Thanks for
i am getting this error :
psycopg2.DataError: invalid input syntax
what is the solution ?
--
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..
Greetings,
for Chrome Extension, you must use Javascript, or Javascript + Native Code
(compiling for the target platform, and distributing it with the
extension). So the quick answer is "You shouldn't do it", but it might be
possible. I don't think it would be approved thought, because you woul
I also think the server side of the extension can use Django (or any other
platform and programming language) but the extension itself (the client
side) - I'm not sure it's a good idea to use Django.
Try to search about Chrome extensions and see what it takes to make one. I
think JavaScript is the
You may want to consider using the django-angular
(https://github.com/jrief/django-angular) package and reading this question:
https://stackoverflow.com/questions/32978137/using-formsets-in-django-angular
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of Nik
Pedro,
I apologize for the response delay. First thank you very much for
recommending pycharm. I do still find myself getting stuck on the same
line. when I've run the code >py manage.py runserver I still receive an
error that ' manage.py does not exist'. I'm sure it is a basic step that
I'm not se
Pedro,
Can you provide us with the structure of your project? For example:
/home/pedro/intro_django/
/home/pedro/intro_django/manage.py
/home/pedro/intro_django/apps/
/home/pedro/intro_django/apps/models.py
/home/pedro/intro_django/apps/views.py
Then let us know which where you are issuing the
When you run the line manage.py you should be on the same folder. Make
sure that you can see manage.py when you do an ls on the command prom
On Wed, Apr 3, 2019, 8:33 AM Joseph Jones wrote:
> Pedro,
> I apologize for the response delay. First thank you very much for
> recommending pycharm. I do
Also when you create a project, select the django project on pycharm
This will create almost all the steps needed for startup
On Wed, Apr 3, 2019, 8:33 AM Joseph Jones wrote:
> Pedro,
> I apologize for the response delay. First thank you very much for
> recommending pycharm. I do still find myse
Also terminal in pycharm is the command prom if you press the green arrow
on top it will also run the manage.py and will give you answers if problems
found
On Wed, Apr 3, 2019, 9:46 AM Pedro Folch wrote:
> Also when you create a project, select the django project on pycharm
> This will create al
Sorry, I addressed this to Pedro when I meant jos.jwj.
On Wednesday, April 3, 2019 at 11:24:11 AM UTC-4, jgi...@caktusgroup.com
wrote:
>
> Pedro,
>
> Can you provide us with the structure of your project? For example:
>
> /home/pedro/intro_django/
> /home/pedro/intro_django/manage.py
> /home/ped
Helpful videos use encodingforentrepernours and justdjango are very helpful
providers
On Sun, Mar 10, 2019, 4:23 PM Joseph Jones wrote:
> Hello all!
> I have been reading
> https://www.packtpub.com/application-development/learn-python-programming-second-edition
> Since
> November, so I am very
Sorry codingforentreprenour or so. On YouTube.
On Wed, Apr 3, 2019, 10:18 AM Pedro Folch wrote:
> Helpful videos use encodingforentrepernours and justdjango are very
> helpful providers
>
> On Sun, Mar 10, 2019, 4:23 PM Joseph Jones wrote:
>
>> Hello all!
>> I have been reading
>> https://www.p
Your request.POST does not contain "search1".
Do so search1 = request.POST.get('search1')
Example:
def viewstr(request):
views = create_store.objects.all()
brn = Prod_Brand.objects.all()
mi = ''
if request.method == 'POST':
search1 = request.POST.get('search1')
if s
Hi everyone,
I want to add a search button to an input search field , if there is anyone
who knows
how to add a button to the field in crispy form's input field. Please help
me out
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe f
Hi everyone,
I want to add a search button to an input search field , if there is anyone
who knows
how to add a button to the field in crispy form's input field. Please help
me out
https://pagure.io/fedora-commops/fedora-happiness-packets/issue/raw/files/a8846b7d72aced5bdc0a2470dc97a495fb7558d
I want users to login by phone number (without registration).
But we need username field for authentication.
This is just for make easy for users that don't know about using email. And
also make it easier to login for them.
But I need also username and email for other users for future.
I need you
Check out these:
https://djangopackages.org/grids/g/authentication/
A package for phone number authentication:
https://github.com/wejhink/django-phone-login
-Original Message-
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of Mohammad Etemaddar
Sent
You can include the following code in the end
ButtonHolder(
Submit('submit', 'Update', css_class='btn btn-theme small')
)
Take care of proper indentation.
On Wed, 3 Apr 2019, 23:48 Nanjuki Saidat, wrote:
> Hi everyone,
> I want to add a search button to an input search field , if there is
> an
You can use FieldWithButtons in form helper's layout:
https://django-crispy-forms.readthedocs.io/en/d-0/layouts.html
--
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
Thank you. But django-phone-login seems a bit complex. It uses rest framework.
I don't know why.
--
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+un
Set default value:
year = forms.ChoiceField(required=False, choices=[(j, j) for j in range(2018,
2021)], default=2019)
You do not need clean_year any more I think.
On Wednesday, April 3, 2019 at 1:42:50 AM UTC+4:30, Carsten Fuchs wrote:
> Dear Django group,
>
> I would like to show users a form
On Tuesday, April 2, 2019 at 2:12:50 PM UTC-7, Carsten Fuchs wrote:
>
> Dear Django group,
>
> I would like to show users a form that they can use to customize the view,
> for example a ChoiceField from which the year of the report can be chosen.
> It seems straightforward to use a forms.Form
On 3/04/2019 8:27 pm, Saurabh Jaiswal wrote:
Hey Mike,
Launch a digital ocean droplet with plesk 17.08 with decent specs and
you can run all your three websites with ease on it on a single droplet.
You would have to setup apache mod_wsgi on it and you will be good to go.
If you need help do let
OK, I've gotten time to touch the code again, applied your suggestion, but
there is no apparent change in behavior. For the sake of argument, I'm
including the stack trace again. I'm not sure where my good debugging
entry point is here.
--
You received this message because you are subscribed
Am not getting you well, please elaborate more
On 3 Apr 2019 22:04, "Anirudh Jain" wrote:
> You can include the following code in the end
>
> ButtonHolder(
> Submit('submit', 'Update', css_class='btn btn-theme small')
> )
>
> Take care of proper indentation.
>
> On Wed, 3 Apr 2019, 23:48 Nanjuki
Hi all,
does any one have any good tips or resources to help me get my head around
designing models?
I'm currently going through the Django docs and tinkering.
Kind regards,
John Crosby
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To uns
39 matches
Mail list logo