Re: A newbie server error occured

2018-06-14 Thread Artur Gontijo
Hi,

Did you check if you have the admin app listed in the setings.py?
INSTALLED_APPS = [
'django.contrib.admin',
'more_apps',
]

And what about your url.py? Does it have the /admin routing?
path('admin/', admin.site.urls),

On Thursday, June 14, 2018 at 2:28:41 PM UTC-3, Piotr Trybowski wrote:
>
> So I'm following the tutorial from: 
> https://docs.djangoproject.com/en/2.1/intro/tutorial02/ and I'm stuck at 
> opening the admin site.
> When i run command runserver i get no error and prompt: 
>
> "C:\Program Files\JetBrains\PyCharm 2018.1.4\bin\runnerw.exe" 
> C:\Users\Username\Downloads\WinPython-64bit-3.6.2.0Qt5\python-3.6.2.amd64\python.exe
>  
> "C:\Program Files\JetBrains\PyCharm 
> 2018.1.4\helpers\pycharm\django_manage.py" runserver 
> C:/Users/Username/PycharmProjects/strona2
> Tracking file by folder pattern: migrations
> Performing system checks...
>
> System check identified no issues (0 silenced).
> June 14, 2018 - 18:27:17
> Django version 2.0.6, using settings 'strona2.settings'
> Starting development server at http://127.0.0.1:8000/
> Quit the server with CTRL-BREAK.
>
>
> So everything should work propperly, but when I open the 
> http://127.0.0.1:8000/admin/ i get this error:
> A server error occured. Please contact the administrator.
>
> I have tried migrating again, I have tried using different port. The 
> /polls/ section works. I asked everywhere and i'm out of ideas. Thanks for 
> your help.
>
> As stated in prompt above I'm using Django 2.0.6 and python 3.6.2. Also 
> I'm on windows and running everything through Pycharm. No problems up to 
> this point
>

-- 
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/c0a73843-0527-4378-9826-4633879990d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Query about django

2018-06-18 Thread Artur Gontijo
It is just what it describes in the end of the sentence: "user 
authentication, content administration, site maps, RSS feeds, and many more 
tasks"

Examples for user authentication: user registration, login, logout, etc.


On Monday, June 18, 2018 at 3:01:55 PM UTC-3, Navjit Kaur wrote:
>
> Hello,
>
> I have recently started learning about Django. Before I start making 
> projects using Django I just wished to read about it first. So, I visited 
> to the Django website.
>
> https://www.djangoproject.com/start/overview/
>
> At there, in the various features of Django there is one feature that is
>
> 'Fully loaded: Django includes dozens of extras you can use to handle 
> common Web development tasks. Django takes care of user authentication, 
> content administration, site maps, RSS feeds, and many more tasks — right 
> out of the box."
>
> Can you please explain-"common Web development task" here.
>

-- 
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/38749109-9ba1-4ab4-bc92-1e9ea3145568%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.