Hello,
thanks did overread that twice then, once when reading changes, once
when trying to figure out if there was a change due not working.
Then i searched for it and came to:
https://docs.djangoproject.com/en/2.2/ref/contrib/admin/#jquery
Maybe not bad idea to mention it there too.
Regards
I am trying to upgrade pip version in docker
snj@snj-ThinkPad-T440p:~/school$ sudo docker-compose run web pip install
--upgrade pip
Starting school_db_1 ... done
Collecting pip
Downloading
https://files.pythonhosted.org/packages/d8/f3/413bab4ff08e1fc4828dfc59996d721917df8e8583ea85385d51125dce
Hi All,
I am using graphite-web-1.1.4-1 and python-django-1.11.15. I am facing
some issue while trying to initialize graphite DB using python-Django. In
FIPs mode I am getting the same issue which is mentioned in
https://code.djangoproject.com/ticket/28401. This issue is present for a
long ti
Hi,
when I try to add an exclude filter to an annotated field with a
FilteredRelation I get a FieldError on the annotated field.
For exemple if I modify django
test filtered_relation.tests.FilteredRelationTests.test_with_join from
def test_with_join(self):
self.assertSequenceEqual(
Author.
def testview1(request):
for i in xrange(0,1000):
result = add.delay( i, 4,task_id = i)
print result.task_id
#i want to display here i value
return HttpResponse("Done")
@task()def add(task_id, x, y):
print add.task_id
print str(x+y)
return x + y
--
Y
I was following the official polls app tutorial on Django on v2.2.
i have created the superuser of the first time but whenever I log in it
shows error 403 forbidden (csrf token missing or incorrect)
can anyone plz help me.
--
You received this message because you are subscribed to the Google Gro
Okay, thanks , I will do that
On Tue 9 Apr, 2019, 7:52 PM PASCUAL Eric, wrote:
> It seems right.
>
> I suppose that requirements.txt contains the rest_framework package too.
>
> You can check the image content by executing the "pip freeze" command on
> it (docker run pip freeze). This will tell
Since the introduction to Watchman, with the failover to StatReloader, the
file changes aren't picked up.
We're running our Django development environment in Docker/Docker-compose,
and 2.1.7 everything is still fine. But updating to 2.2.0, the file changes
aren't picked up (or rarely).
We have
Thank you very much for the resources! However it is installed in my
settings.py the exact line is... AUTH_USER_MODEL =
'public_posts.CustomUser'
Is there a different way to do it? This is the only way I have seen to set
your AUTH_USER_MODEL, or does my custom user model have to be in a 'users'
ap
Try `exec` instead of `run`. `run` runs the command in a new container, so
each time you perform `docker-compose run web `, a new copy of the
container is created. See the documentation:
https://docs.docker.com/compose/reference/run/
On Wednesday, 10 April 2019 11:56:53 UTC+2, Shubham Joshi wr
I've solved this. First of all, the codename for the permission should be
called as a codename and second, I had to remove the app name
(display_data) like this:
permission = Permission.objects.get(codename='settings')
On Tuesday, April 9, 2019 at 9:25:09 PM UTC-6, Matt Collins wrote:
>
> Hi,
To me the way I build my models is so that if anyone looked at the code
they would see exactly what the model represented. I had a great mentor in
Daniel Greenfield of Two Scoops Fame.
So my models would be users and then a separate model for public posts.
The you have the following in your sett
Hi,
These links may help you
https://stackoverflow.com/a/14121175/4037275
https://stackoverflow.com/a/12712507/4037275
https://stackoverflow.com/a/36292539/4037275
On Wed, Apr 10, 2019 at 7:11 AM Akash Kumar wrote:
> I was following the official polls app tutorial on Django on v2.2.
> i have c
this one still did the same thing which i didnt mean me i meant an search
button in an input field
On Wed, 3 Apr 2019 at 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
Please any one to help me out.thanks
On Wed, 10 Apr 2019 at 20:40, Nanjuki Saidat
wrote:
> this one still did the same thing which i didnt mean me i meant an search
> button in an input field
>
> On Wed, 3 Apr 2019 at 22:04, Anirudh Jain
> wrote:
>
>> You can include the following code in the e
Use bootstrap's input-group-append
Sincerely yours,
Joel G Mathew
On Wed, 10 Apr 2019 at 23:14, Nanjuki Saidat
wrote:
> Please any one to help me out.thanks
>
> On Wed, 10 Apr 2019 at 20:40, Nanjuki Saidat
> wrote:
>
>> this one still did the same thing which i didnt mean me i meant an sear
Hola Luis, tengo la ultima pregunta, te agradezco mucho tu ayuda
voy a realizar un for doble, mi pregunta puntual seria,
los arreglos del for doble tienen que llevar la misma cantidad de datos
ejemplo
tema = ['1','2']
otro = ['1','2']
for t ,o in zip(tema,otro):
print(t,o)
¿o pueden lleva
Creo que zip está explicado acá
https://www.programiz.com/python-programming/methods/built-in/zip
El miércoles, 10 de abril de 2019, Karen Tatiana Mesa Lopez
escribió:
> Hola Luis, tengo la ultima pregunta, te agradezco mucho tu ayuda
> voy a realizar un for doble, mi pregunta puntual seria,
hello@joel, how do i use it as in what to import and so on do you have some
link or example and show me coz i tried inserting some inputs but when i
tried to build the docker didnt meaning i was missing some bootstrap
packages to import. can you please tell me how to do it.Thanks
On Wed, 10 Apr 20
Hello All,
This is the first time I've ever posted in the group so forgive me if this
question is too broad for Django. If so, if you could please direct me to
another user group, I would be delighted.
I've been working on a project that was previously set up by an old
contractor. They set up
Theres an auto renewal command in certbot already. Check it out
On Thu, Apr 11, 2019, 8:22 AM Desmond wrote:
> Hello All,
>
> This is the first time I've ever posted in the group so forgive me if this
> question is too broad for Django. If so, if you could please direct me to
> another user grou
facing this error even after creating hstore extension from pg shell and
generated empty migrations for hstore:
line 89, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File
"/usr/local/lib/python3.6/dist-packages/django/db/backends/utils.py", line
84, in _execute
https://www.google.com/url?sa=t&source=web&rct=j&url=https://stackoverflow.com/questions/11618898/pg-config-executable-not-found&ved=2ahUKEwitxePlncfhAhVDwIsBHeQbBTEQjjgwAHoECAkQAg&usg=AOvVaw1ujp9GSEZRKKrkOSHWdMiD
--
You received this message because you are subscribed to the Google Groups
"Djan
https://github.com/psycopg/psycopg2/issues/699
Try updating pip too :)
--
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
Fixed using this
https://stackoverflow.com/questions/10757431/postgres-upgrade-a-user-to-be-a-superuser
On Thursday, April 11, 2019 at 10:05:58 AM UTC+6, Asif Saif Uddin wrote:
>
> facing this error even after creating hstore extension from pg shell and
> generated empty migrations for hstore:
>
Try the command:
pipenv install psycopg2-binary
--
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,
26 matches
Mail list logo