Re: What I am doing wrong

2019-03-17 Thread gauravsrivastava2k17
Please put screenshot of your  traceback as it is easier to understand 
issue with that

On Friday, March 15, 2019 at 5:37:31 PM UTC+5:30, Harish Chaudhary wrote:
>
>

-- 
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, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/fea461ad-f427-4dd3-a23b-235c6f321693%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: For what il8n is used?

2019-03-17 Thread gauravsrivastava2k17
Ohh now I got it. Thanks for replying

On Sunday, March 17, 2019 at 5:30:11 PM UTC+5:30, Aldian Fazrihady wrote:
>
> So we can use template tags related to internationalization,  such as 
> 'trans' and 'get_current_language'
>
>
> On Sun, 17 Mar 2019, 18:54 , > 
> wrote:
>
>> I used to many time {% load il8n %}. For what purpose it is used?
>>
>>
>> -- 
>> 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 post to this group, send email to django...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/8e599881-27ab-4841-b5fe-7714dfa5a2b5%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/bc60c29a-6c6c-4ed3-bd32-6940482259fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to become a contributor in an organisation

2019-03-17 Thread gauravsrivastava2k17
Hi , I am new to GSOC and so I want to know that how I can be a contributor?

-- 
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, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c3171d27-5724-4039-a093-6479b8f56277%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


For what il8n is used?

2019-03-17 Thread gauravsrivastava2k17
I used to many time {% load il8n %}. For what purpose it is used?


-- 
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, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/8e599881-27ab-4841-b5fe-7714dfa5a2b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: hi guys i have been having trouble setting up a login and registration page, can anyone please help me

2019-03-13 Thread gauravsrivastava2k17
Please post traceback so that I can know what type of error you are getting


On Tuesday, March 12, 2019 at 8:26:04 PM UTC+5:30, abhishek jayalal wrote:
>
>
>

-- 
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, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b50f57f4-d2bf-42ae-a809-8b929ffe5211%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Missing manage.py & settings.py

2019-03-08 Thread gauravsrivastava2k17
after installing django inside virtual environment write following commands:
django-admin startproject "you_project_name"
go inside this folder and then type
python manage.py startapp "your app name"
this command will create apps
and after this include your app inside installed apps

On Saturday, March 2, 2019 at 6:44:05 AM UTC+5:30, jtaylor___ wrote:
>
> I pip installed a Django project, but it doesn’t have a manage.py or 
> settings.py.  I checked the repo on GitHub, and those files don’t exist 
> there either.  Is this an alternate way of doing a Django project that I’m 
> not aware of? 
>
> FWIW, the project is django-wiki. 
>
> TIA

-- 
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, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/42aed5a2-018d-4f3b-b4b4-0e6430f03be8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Problems with first program

2019-03-01 Thread gauravsrivastava2k17
Doing copy-paste always lead to indentation fault.Try to copy the code on 
any editor and then indent 2nd statement by 4 or 8 space indent .

On Friday, March 1, 2019 at 4:44:33 AM UTC+5:30, Edvani Pascoal wrote:
>
> hey guys I'm beginner on django I never worked with this framework before 
> and then I've problems to started polls app this is the error:
> (my_env) root@ubuntu:~/django-test/djangoproject# python manage.py 
> runserver 192.168.184.202:8000
>
>
> Unhandled exception in thread started by  check_errors..wrapper at 0x7fa7af08b9d8>
> Traceback (most recent call last):
>   File 
> "/home/edvani/django-test/my_env/lib/python3.6/site-packages/django/utils/autoreload.py",
>  
> line 225, in wrapper
> fn(*args, **kwargs)
>   File 
> "/home/edvani/django-test/my_env/lib/python3.6/site-packages/django/core/management/commands/runserver.py",
>  
> line 109, in inner_run
> autoreload.raise_last_exception()
>   File 
> "/home/edvani/django-test/my_env/lib/python3.6/site-packages/django/utils/autoreload.py",
>  
> line 248, in raise_last_exception
> raise _exception[1]
>   File 
> "/home/edvani/django-test/my_env/lib/python3.6/site-packages/django/core/management/__init__.py",
>  
> line 337, in execute
> autoreload.check_errors(django.setup)()
>   File 
> "/home/edvani/django-test/my_env/lib/python3.6/site-packages/django/utils/autoreload.py",
>  
> line 225, in wrapper
> fn(*args, **kwargs)
>   File 
> "/home/edvani/django-test/my_env/lib/python3.6/site-packages/django/__init__.py",
>  
> line 24, in setup
> apps.populate(settings.INSTALLED_APPS)
>   File 
> "/home/edvani/django-test/my_env/lib/python3.6/site-packages/django/apps/registry.py",
>  
> line 112, in populate
> app_config.import_models()
>   File 
> "/home/edvani/django-test/my_env/lib/python3.6/site-packages/django/apps/config.py",
>  
> line 198, in import_models
> self.models_module = import_module(models_module_name)
>   File "/usr/lib/python3.6/importlib/__init__.py", line 126, in 
> import_module
> return _bootstrap._gcd_import(name[level:], package, level)
>   File "", line 994, in _gcd_import
>   File "", line 971, in _find_and_load
>   File "", line 955, in 
> _find_and_load_unlocked
>   File "", line 665, in _load_unlocked
>   File "", line 674, in exec_module
>   File "", line 781, in get_code
>   File "", line 741, in 
> source_to_code
>   File "", line 219, in 
> _call_with_frames_removed
>   File "/home/edvani/django-test/djangoproject/polls/models.py", line 5
> question_text = models.CharField(max_length=200)
> ^
> IndentationError: expected an indented block
>
>
> I need help how to solve this??
>

-- 
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, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1d1b8309-247d-4926-ab17-de6eb18b70a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Needs some debugging codes

2019-02-28 Thread gauravsrivastava2k17
Can anyone provide me some codes examples that i can debug. Basically I am 
new to gsoc so want to know how to contribute?Thanks 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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/928015a1-948f-489a-834f-2cee37ceacb7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.