Re: object has no attribute 'is_valid'

2021-05-26 Thread sourav panja
The Link is crashed. Its not open

On Thursday, May 27, 2021 at 10:27:19 AM UTC+5:30 sourav panja wrote:

> Thank you
>
> On Thu, May 27, 2021 at 2:31 AM AK channel  wrote:
>
>> Send the code
>>
>> On Thu, 27 May 2021, 2:14 am sourav panja,  wrote:
>>
>>> object has no attribute 'is_valid'
>>>
>>> -- 
>>> 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...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/86cc33d2-eea3-437c-b190-1a17c92c4c88n%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>> -- 
>> 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...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CAEixX4xo8V6EFK2UBYtpQfs4fmwp-sQzpRAa-AA4bb3Mj2EwnQ%40mail.gmail.com
>>  
>> 
>> .
>>
>
>
> -- 
>
>
>
> **
> *Thanks & Regards*
> *Sourav Panja*
> *Contact - 7278159888 <(727)%20815-9888>, 7686885164*
> *Email - panjas...@gmail.com*
> *Email - sourav...@ymail.com*
>

-- 
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 
https://groups.google.com/d/msgid/django-users/111c3850-38e3-4f48-b9e9-2d3e77ef7b9fn%40googlegroups.com.


Re: object has no attribute 'is_valid'

2021-05-26 Thread sourav panja
Thank you

On Thu, May 27, 2021 at 2:31 AM AK channel  wrote:

> Send the code
>
> On Thu, 27 May 2021, 2:14 am sourav panja, 
> wrote:
>
>> object has no attribute 'is_valid'
>>
>> --
>> 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
>> https://groups.google.com/d/msgid/django-users/86cc33d2-eea3-437c-b190-1a17c92c4c88n%40googlegroups.com
>> 
>> .
>>
> --
> 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
> https://groups.google.com/d/msgid/django-users/CAEixX4xo8V6EFK2UBYtpQfs4fmwp-sQzpRAa-AA4bb3Mj2EwnQ%40mail.gmail.com
> 
> .
>


-- 



**
*Thanks & Regards*
*Sourav Panja*
*Contact - 7278159888, 7686885164*
*Email - panjasoura...@gmail.com *
*Email - souravpanj...@ymail.com *

-- 
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 
https://groups.google.com/d/msgid/django-users/CAH2jLMKe8KMtuADD4b7xph_sTDYxk_pNadBpJb4YuWyn2xOiQw%40mail.gmail.com.


Re: object has no attribute 'is_valid'

2021-05-26 Thread AK channel
Send the code

On Thu, 27 May 2021, 2:14 am sourav panja,  wrote:

> object has no attribute 'is_valid'
>
> --
> 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
> https://groups.google.com/d/msgid/django-users/86cc33d2-eea3-437c-b190-1a17c92c4c88n%40googlegroups.com
> 
> .
>

-- 
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 
https://groups.google.com/d/msgid/django-users/CAEixX4xo8V6EFK2UBYtpQfs4fmwp-sQzpRAa-AA4bb3Mj2EwnQ%40mail.gmail.com.


Re: Please help

2021-05-26 Thread OSA-33 SyCS Atik Rangnekar
Are you expecting javascript in python

On Thu, 27 May, 2021, 2:14 am sourav panja,  wrote:

> Field 'id' expected a number but got 
>
> How to solve this problem
>
> --
> 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
> https://groups.google.com/d/msgid/django-users/c53edff7-f7f4-4566-97ff-3b9cadf8ee22n%40googlegroups.com
> 
> .
>

-- 
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 
https://groups.google.com/d/msgid/django-users/CABOD_T792-jn1e57TC45NWQOK5wremb5HJs0Otm5WYAR1ofxzg%40mail.gmail.com.


Re: Please help

2021-05-26 Thread Kasper Laudrup
On 26/05/2021 19.48, sourav panja wrote:
> Field 'id' expected a number but got  
> 
> How to solve this problem
>

This will be a good start:

https://zellwk.com/blog/asking-questions/

It will help you solve this and many other similar problems.

Kind regards,

Kasper Laudrup

-- 
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 
https://groups.google.com/d/msgid/django-users/e35aa6d4-3978-9dd3-be9e-10a6abdea573%40stacktrace.dk.


OpenPGP_signature
Description: OpenPGP digital signature


Please help

2021-05-26 Thread sourav panja
Field 'id' expected a number but got https://groups.google.com/d/msgid/django-users/c53edff7-f7f4-4566-97ff-3b9cadf8ee22n%40googlegroups.com.


object has no attribute 'is_valid'

2021-05-26 Thread sourav panja
object has no attribute 'is_valid'

-- 
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 
https://groups.google.com/d/msgid/django-users/86cc33d2-eea3-437c-b190-1a17c92c4c88n%40googlegroups.com.


Re: I was all new to django.could anyone helpme out with that.

2021-05-26 Thread OSA-33 SyCS Atik Rangnekar
Try YouTube :-  telusko ,pyplane
For programming :- code wars

On Wed, 26 May, 2021, 9:11 pm Sushmanth reddy Mereddy, <
sushmanthreddymere...@gmail.com> wrote:

> hi all, I am a student at Amrita Vishwa vidyapetam . I am all new to
> python, I just knew some basics of python. I was totally confused about how
> to start? with Django and learn from basics and I was really confused about
> where to start. I request everyone to give me a suggestion on where to
> start, it would be great help could provide some roadmap to excel in Django.
> I just wish to learn Django and start contributing to it.
>
> regards,
> sushmanth.
> amfoss 
>
> --
> 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
> https://groups.google.com/d/msgid/django-users/CALebsR3Xz3nnSzAx41TKKjZfXwtKiBiuhYGfZaXqAV5hi%2BAWvw%40mail.gmail.com
> 
> .
>

-- 
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 
https://groups.google.com/d/msgid/django-users/CABOD_T5sd0HSzc%3DvjNBVwMr2dwLdFYSB2McPd8wyC-XS0X%3DKhQ%40mail.gmail.com.


Re: I was all new to django.could anyone helpme out with that.

2021-05-26 Thread lalit suthar
In no particular order these 3 resources helped me 

   - 
   
   https://tutorial.djangogirls.org/en/
   - 
   
   https://docs.djangoproject.com/en/2.2/intro/tutorial01/ 
   - 
   
   https://www.youtube.com/playlist?list=PLEsfXFp6DpzTD1BD1aWNxS2Ep06vIkaeW
   

On Wednesday, 26 May 2021 at 21:11:51 UTC+5:30 sushmanthr...@gmail.com 
wrote:

> hi all, I am a student at Amrita Vishwa vidyapetam . I am all new to 
> python, I just knew some basics of python. I was totally confused about how 
> to start? with Django and learn from basics and I was really confused about 
> where to start. I request everyone to give me a suggestion on where to 
> start, it would be great help could provide some roadmap to excel in Django.
> I just wish to learn Django and start contributing to it.
>
> regards,
> sushmanth.
> amfoss 
>

-- 
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 
https://groups.google.com/d/msgid/django-users/9bd56f7b-09fa-4f19-844f-beff690d2ccan%40googlegroups.com.


I was all new to django.could anyone helpme out with that.

2021-05-26 Thread Sushmanth reddy Mereddy
hi all, I am a student at Amrita Vishwa vidyapetam . I am all new to
python, I just knew some basics of python. I was totally confused about how
to start? with Django and learn from basics and I was really confused about
where to start. I request everyone to give me a suggestion on where to
start, it would be great help could provide some roadmap to excel in Django.
I just wish to learn Django and start contributing to it.

regards,
sushmanth.
amfoss 

-- 
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 
https://groups.google.com/d/msgid/django-users/CALebsR3Xz3nnSzAx41TKKjZfXwtKiBiuhYGfZaXqAV5hi%2BAWvw%40mail.gmail.com.


Re: Error finding Upload-Folder. Maybe it does not exist?

2021-05-26 Thread Mic
I tried to create the missing `blast/db` folder in the following way but it 
still does not work:

```
*$ docker-compose exec web /bin/bash*
*# pwd*
*/code*
*# mkdir -p blast/db*
*# mkdir -p i5k/blast/db *
```
Where do I have to create *blast/db* folder?

Thank you in advance,

Michal
On Tuesday, May 25, 2021 at 8:25:39 AM UTC+10 Mic wrote:

> Hello,
> I found a Django project and failed to get it running in Docker container 
> in the following way:
>
>  1. `*git clone git clone https://github.com/NAL-i5K/django-blast.git 
> *`
>  2. `*$ cat requirements.txt*` in this files the below dependencies had 
> to be updated:
> - psycopg2==2.8.6 
>
> I have the following Dockerfile:
>
> ```
> *FROM python:2*
> *ENV PYTHONUNBUFFERED=1*
> *RUN apt-get update && apt-get install -y postgresql-client*
> *WORKDIR /code*
> *COPY requirements.txt /code/*
> *RUN pip install -r requirements.txt*
> *COPY . /code/*
> *RUN mkdir -p /var/log/django*
> *RUN mkdir -p /var/log/i5k*
> ```
>
> For `docker-compose.yml` I use:
>
> ```
> *version: "3"*
>
> *services:*
> *  db:*
> *image: postgres*
> *volumes:*
> *  - ./data/db:/var/lib/postgresql/data*
> *  - 
> ./scripts/install-extensions.sql:/docker-entrypoint-initdb.d/install-extensions.sql*
>
> *environment:*
> *  - POSTGRES_DB=postgres*
> *  - POSTGRES_USER=postgres*
> *  - POSTGRES_PASSWORD=postgres*
>
> *  web:*
> *build: .*
> *command: python manage.py runserver 0.0.0.0:8000 
> *
> *volumes:*
> *  - .:/code*
> *ports:*
> *  - "8000:8000"*
> *depends_on:*
> *  - db*
> *links:*
> *  - db*
> ```
>
> ```
> *$ cat scripts/install-extensions.sql *
> *CREATE EXTENSION hstore;*
> ```
>
> I had to change:
>
> ```
> *$ vim i5k/settings.py*
> *DATABASES = {*
> *'default': {*
> *'ENGINE': 'django.db.backends.postgresql_psycopg2',*
> *'NAME': 'postgres',*
> *'USER': 'postgres',*
> *'PASSWORD': 'postgres',*
> *'HOST': 'db',*
> *'PORT': '5432',*
> *}*
> *}*
> ```
>
> Next, I ran:
>
>1. `*docker-compose up --build*` 
>2. `*docker-compose run web python manage.py`* 
>3. `*docker-compose run web python manage.py migrate*`
>4. `*docker-compose run web python manage.py createsuperuser`*
>
> Finally, I opened in Browser `
> http://localhost:8000/admin/blast/blastdb/add/` 
>  and try to upload a file 
> and got this error:
>
>
> *```*
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *web_1  | [24/May/2021 18:04:53] "POST 
> /admin/blast/sequencetype/add/?_to_field=id&_popup=1 HTTP/1.1" 200 237web_1 
>  | [24/May/2021 18:04:58] "GET /admin/blast/blastdb/add/ HTTP/1.1" 200 
> 15281web_1  | [24/May/2021 18:04:58] "GET /admin/jsi18n/ HTTP/1.1" 200 
> 2372web_1  | django.request ERROR 2021-05-24 18:05:05,381 10 [Internal 
> Server Error: /admin/filebrowser/browse/]web_1  | Traceback (most recent 
> call last):web_1  |   File 
> "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 
> 132, in get_responseweb_1  | response = wrapped_callback(request, 
> *callback_args, **callback_kwargs)web_1  |   File 
> "/usr/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", 
> line 22, in _wrapped_viewweb_1  | return view_func(request, *args, 
> **kwargs)web_1  |   File 
> "/usr/local/lib/python2.7/site-packages/django/views/decorators/cache.py", 
> line 57, in _wrapped_view_funcweb_1  | response = view_func(request, 
> *args, **kwargs)web_1  |   File "/code/filebrowser/views.py", line 89, in 
> browseweb_1  | raise ImproperlyConfigured, _("Error finding 
> Upload-Folder. Maybe it does not exist?")web_1  | ImproperlyConfigured: 
> Error finding Upload-Folder. Maybe it does not exist?web_1  | [24/May/2021 
> 18:05:05] "GET 
> /admin/filebrowser/browse/?pop=1&dir=blast/db/&type=FASTA&filter_type=FASTA 
> HTTP/1.1" 500 101471*
> *```*
> Where do I have to create *blast**/db* folder?
>
>
> Thank you in advance
>

-- 
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 
https://groups.google.com/d/msgid/django-users/b3eb5a1a-2295-4449-99b9-d867bafb688fn%40googlegroups.com.