how to django to request a page of the other domain

2009-04-01 Thread Albert
cross domain ajax request is not allowed ,so I decide to use proxy on the server side but I don't know how to finish this, anyone point me some url? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" grou

Django model problem

2009-04-03 Thread Albert
Hi, Say I have these simple models: class Musician(models.Model): first_name = models.CharField(max_length=50) last_name = models.CharField(max_length=50) class Album(models.Model): artist = models.ForeignKey(Musician) name = models.CharField(max_length=100) Now in `Musician`

django testing: widgets

2020-10-01 Thread albert
quest. Is there a way to do this? (Any hints are welcome... !) Thanks in advance Albert. -- 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

Newbie Help with Models and Views

2008-12-22 Thread Mike Albert
Hello, Just getting started learning django, and I'm having trouble with a view. Here is the model I've created: from django.db import models class Post (models.Model): text = models.CharField(max_length=30) def __str__(self): return self.text I have a couple test rows of

IndentationError: unexpected indent for Django-1.2.1, Python 2.6.4 on ubuntu

2010-06-07 Thread albert kao
I downloaded Django-1.2.1 and installed it for Python 2.6.4 on ubuntu. Please help to fix the IndentationError: unexpected indent problem. Thanks. $ uname -a Linux core2quad 2.6.31-17-generic-pae #54-Ubuntu SMP Thu Dec 10 17:23:29 UTC 2009 i686 GNU/Linux $tar xzvf Django-1.2.1.tar.gz $cd Django-

Writing your first Django app tutorial, part 3 question

2010-06-10 Thread albert kao
I try the "Writing your first Django app tutorial, part 3" (http:// docs.djangoproject.com/en/dev/intro/tutorial03/#intro-tutorial03) with Django-1.2.1. I have got a Page not found (404) when modifying the urls.py described in the "Decoupling the URLconfs" section: Request Method: GET Reque

Re: Writing your first Django app tutorial, part 3 question

2010-06-10 Thread albert kao
On Jun 10, 6:30 pm, albert kao wrote: > I try the "Writing your first Django app tutorial, part 3" (http:// > docs.djangoproject.com/en/dev/intro/tutorial03/#intro-tutorial03) with > Django-1.2.1. > I have got a Page not found (404) when modifying the urls.py described &g

Apache and mod_wsgi memory help

2010-08-05 Thread Albert Hopkins
... Or perhaps mod_wsgi is not the way to go. Basically I have this situation. I have a Django app that also has an xmlrpc interface via the wiki recipe[1]. All works fine until I enabled the ability to upload files. Since they're binary files I use the xmlrpc binary type. Well this loads th

Re: Ability to use PSP templates with Django?

2010-08-21 Thread Albert Hopkins
On Fri, 2010-08-20 at 14:00 -0700, Kevin wrote: > I come from the world of mod_python and really enjoyed the PSP > template system, where I can embed Python code directly in my template > for dynamically generating menus and such. > > What is the recommended method of calling a PSP template from i

Re: Django + Postgres

2010-08-31 Thread Albert Hopkins
On Tue, 2010-08-31 at 04:30 -0700, Robbington wrote: > Hi, > > I seem to be having a problem setting up django and postgresql. > > I have created a database and switched users to postgres then sync'd > the database successfully in my django project directory. But it isn't > finding the admin page

Re: No module named shortcuts

2010-09-12 Thread Albert Hopkins
On Sun, 2010-09-12 at 07:28 -0700, jean polo wrote: > mmh, if I create another project and use his settings.py in the non- > working one it works.. > I can't see what's wrong with my settings file, here it is in case > someone wants to have a look at it: Then try this: $ ./manage.py shell

Re: No module named shortcuts

2010-09-12 Thread Albert Hopkins
On Sun, 2010-09-12 at 08:59 -0700, jean polo wrote: > sorry but I'm not sure to get what I'm supposed to find with this ? Something in your project is shadowing the django framework's namespace, so .e.g 1. You have created your own module or package and did a import django or

get_or_create() method and mandatory values

2010-01-25 Thread Albert Hopkins
I have a model as such class Foo(models.Model): someattr = ... anotherattr = ForeignKey(...) >From within my view I want to do this: bar, created = Foo.objects.get_or_create(someattr=somevalue) if created: bar.anotherattr = anothervalue bar.save() But the problem is I get an exce

Re: Stylesheet Inheritance

2008-02-01 Thread Albert Hopkins
On Fri, 2008-02-01 at 09:57 -0800, quizkiwi wrote: > I am having trouble getting my stylesheet to appear in each html > file. I have a base template that contains the path to the css file. > Each page that extends the base template simply adds the path of the > css file on to its current uri to

Re: exclude issue with M2M Field

2008-02-12 Thread Albert Hopkins
On Tue, 2008-02-12 at 13:55 -0600, James Bennett wrote: > On Feb 12, 2008 1:46 PM, Albert Hopkins <[EMAIL PROTECTED]> wrote: > > It seems that 'exclude'ing on a M2M field does not have the effect I > > anticipated. Am I doing something wrong? Basically I have th

exclude issue with M2M Field

2008-02-12 Thread Albert Hopkins
e result either way. So am I doing something wrong or is there another way of doing this? Thanks, Albert --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send e

How to query ManyToManyFields

2008-02-21 Thread Albert Hopkins
I have a model with a M2M field and I want to filter based on the field being empty. How do I do this? I tried MyModel.objects.filter(m2mfield=[]) but that raises a (MySQL) exception. -a --~--~-~--~~~---~--~~ You received this message because you are subscrib

Re: How to query ManyToManyFields

2008-02-22 Thread Albert Hopkins
On Thu, 2008-02-21 at 17:17 -0600, Brett Hoerner wrote: > On Thu, Feb 21, 2008 at 5:06 PM, Albert Hopkins <[EMAIL PROTECTED]> wrote: > > I have a model with a M2M field and I want to filter based on the field > > being empty. How do I do this? I tried > > MyMo

Re: django embedded web server

2006-10-15 Thread Istvan Albert
Russell Keith-Magee wrote: > > I'm sure it could, but I'm almost certain it wont. The only problem with this is that some kind of sites cannot be tested with the development server. If the site streams back the output and incrementally builds it then it cannot for example read in the css even th

making the default webserver multithreaded

2006-10-19 Thread Istvan Albert
Add this to core/servers/basehttp.py import SocketServer, BaseHTTPServer class HTTPServer(SocketServer.ThreadingMixIn, BaseHTTPServer.HTTPServer): pass right before the WSGI server definintion (line 500 or so) class WSGIServer(HTTPServer): """BaseHTTPServer that implements the Pyth

Re: making the default webserver multithreaded

2006-10-19 Thread Istvan Albert
It's actually the same class as before only that it now also inherits from ThreadingMixIn as well. This overrides one method of the original class and makes it process each request in a separate thread. See the docstrings in the SocketServer.py module of your python installation. It is not a th

Re: media files with django dev-server

2006-10-25 Thread Istvan Albert
There is an option to manage.py --adminmedia=ADMIN_MEDIA_PATH that might just do what you need. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us

Re: Completed Django Project

2006-10-26 Thread Istvan Albert
Looks nice Leon, congratulations. You might want to try to tweak the spacing to allow for a little more text per page ... and allow for the latest news to be read without having to scroll the page just an opinion, i. --~--~-~--~~~---~--~~ You received this mes

Re: Why not Django

2006-11-30 Thread Istvan Albert
Fredrik Lundh wrote: > that's probably because they're scientists, and have a pretty good > understanding of basic math I think the main reason might be that when they get it wrong they don't have to pay the difference from their own pocket. i. --~--~-~--~~~---~--

Re: General File Upload Questions.

2006-12-01 Thread Istvan Albert
> Can anyone comment on the upload limitations of Django? alas the situation is hopeless, the fix itself is very simple, unfortunately the patch that was supposed to add this http://code.djangoproject.com/ticket/2070 has degenerated into adding a completely unrelated feature (progress indicato

Re: Upgrading from .95 to Development Version

2006-12-07 Thread Istvan Albert
Adrian Holovaty wrote: > I have never seen anything like that. I suspect the images are > corrupted somehow, and I have no idea how that might have happened. One common cause is opening files in text mode under windows. The flags need to be 'wb' not just 'w' i. --~--~-~--~~-

Re: Upgrading from .95 to Development Version

2006-12-07 Thread Istvan Albert
Paul Childs wrote: > I'm pretty sure that the download script that I found here... > http://code.djangoproject.com/ticket/1327 > must not be doing the job properly. if you are using windows you'll need to change line 41 to: fp = open(basedir + link, 'wb+') i. --~--~-~--~-

Re: Wrapping up new site - Django observations

2006-12-18 Thread Istvan Albert
Jeffrey Zelt wrote: > The Django ORM is probably the only piece of Django I am embarrassed > showing other developers. Oh really? > I will not be satisfied if the current ORM is capable of fulfilling 95% > requirements You must be inexperienced if you think that an elegant solution to 95% of

Re: What is the best way of uploading large files from Django?

2007-01-14 Thread Istvan Albert
I have not yet used Tramline with Django I am expecting to do so in case I need to rewrite a Zope application. I have had good experience using JUpload (again with Zope not Django). It might be that one needs to deploy the Tramline on a separate mod python handler not the one Django is running

Re: Why is my Django install so slow?

2007-01-15 Thread Istvan Albert
Joe wrote: However, as little as 5000 hits a day brings my site down to a crawl during peak hours! The funny thing is, I have plenty of free ram space and processor during these peak hours. Something must be wrong with the setup. Unless all of these users come in the during the same minute.

Re: Best Practices for faster template rendering

2007-02-08 Thread Istvan Albert
On Feb 7, 10:58 pm, "Derek Lee-Wo" <[EMAIL PROTECTED]> wrote: > My app does a bunch of database queries and processing and when I > timed that part, it all completes within 0.5 seconds, but the call to > render_to_response() takes 18 seconds. Needless to say, the end-user > experience isn't ac

Re: Quick but authenticated static file content.

2007-02-12 Thread Istvan Albert
On Feb 11, 7:06 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > The goal is to be able to publish > a unique uri for a file that can be accessed via a web page, ensure > that the user is authenticated and permissioned for that uri, then let > them download the file. I've been trying to ev

Re: Using Swish-e with django...

2006-07-31 Thread Istvan Albert
> I am expecting an answer like: "You are crazy: db native searches will always > be faster" You are crazy: swish-e searches will always be faster. Swish-e was created for indexing/searching documents. The only issue at hand is whether the speedup you get is worth the trouble of having to integ

Ajax and Django example application

2006-08-03 Thread Istvan Albert
Hello All, For those interested here is an AJAX based demo application using django, developed with two different javascript libraries: Prototype and with MochiKit http://www.personal.psu.edu/iua1/ajax-django-sandbox.htm cheers, Istvan --~--~-~--~~~---~--~~ Yo

how to use flat pages ?

2005-09-20 Thread Albert Lee
I'm sorry to ask so stupid question, but I found no docs about it. I add a flat page tag in the admin page, and set its URL(same site) , but it can't visit may I need to add a url pattern to the urlpatterns ??

Re: Django developing in NewEdit

2005-11-22 Thread Albert Lee
That's what we need. 2005/11/23, limodou <[EMAIL PROTECTED]>: > > > Great job! I was waiting for something like this! > > > Thanks. :) > > -- > I like python! > My Blog: http://www.donews.net/limodou > NewEdit Maillist: http://groups.google.com/group/NewEdit > -- 欢迎访问我的小站: http://www.2tuzi.com

Re: To write software application with Django

2005-12-11 Thread Albert Lee
Fantast idea ~~ i think you should make a site named: billiondallarsarmin,  and sell the cells ~2005/12/12, Armin <[EMAIL PROTECTED]>: Nothing beats what? Visual Basic? hem No soup for you! NEXTTT... -- 欢迎访问我的小站:   http://www.2tuzi.comblog :   http://blog.2tuzi.com

Re: To write software application with Django

2005-12-11 Thread Albert Lee
Can you speak python language ? 2005/12/12, Armin <[EMAIL PROTECTED]>: Or I could just teach lee how to spell?-- 欢迎访问我的小站:   http://www.2tuzi.comblog :   http://blog.2tuzi.com

how to combine multi app in one template?

2006-01-08 Thread Albert Lee
implements portal sytle templateif I have some apps like calendar, event, etc , and I want a Frontpage that combine all the app in one template, how ?

Django admin Chinese character problem.

2006-01-10 Thread Albert Lee
I use uft-8 encoding, and in admin page, when I insert a record, the Chinese character will become ?

Re: Django admin Chinese character problem.

2006-01-11 Thread Albert Lee
I have located the problem on the database: mysql.  and when I change to sqlite, it works prettyso , I think there should be something character setting matter with the mysql database( I have made the "set character set =utf8" in mysql shell.) 2006/1/11, Gábor Farkas <[EMAIL PROTECTED]>: Jeroen Rui

Re: Exciting job opportunities at Exoweb in Beijing / China

2006-01-17 Thread Albert Lee
哦, 要去国外招人,good。2006/1/18, Dominic <[EMAIL PROTECTED]>: Ni hao" everyone,Do you fancy getting in the fast lane and putting your talents to usein modern Beijing, rapidly becoming a high-tech hub? Are you lured byChina's exotics, its breathtaking cultural heritage, its exquisite (and sometimes "surpri

Re:

2022-09-26 Thread albert egi
Ok add me with this phone number 08130501381 On Mon, Sep 26, 2022, 1:53 PM Abdulfarid Olakunle wrote: > Hello fellow developers, I will be creating a WhatsApp group chat later in > the day, So I will like my fellow Python Django Developers to join the > group. It will be much easier to discuss t

Re: page index.html

2022-08-24 Thread ALBERT ASHABA AHEEBWA
You need to share a screenshot for better help. Though it is manage.py and not manage;py Best Regards, Albert Ashaba Aheebwa +256 781 435857 On Wed, 24 Aug 2022, 12:45 REMY TOUITOU, wrote: > hello , i have a question , i can't make the server running , when i do > the command p

Re: page index.html

2022-08-25 Thread ALBERT ASHABA AHEEBWA
So what happens when you just run $python manage.py? Does it bring up a list of commands you can run? If not you have to activate your virtual environment properly if you are using any. Or path to the virtual environment py script On Thu, 25 Aug 2022, 14:01 REMY TOUITOU, wrote: > Hello here is

Re: page index.html

2022-08-25 Thread ALBERT ASHABA AHEEBWA
No. There is no space. It's just "runserver". One word On Thu, 25 Aug 2022, 15:27 hajar Benjat, wrote: > Sorry Is there any space between runser ver?? > Or am I wrong!... > It must be "runserver" > > > On Thu, Aug 25, 2022, 12:22 PM ALBERT ASHAB

Re: page index.html

2022-08-26 Thread ALBERT ASHABA AHEEBWA
the server running , it is written: > commanderror:you must set settings.ALLOWED_hosts if debug is false > thanks you > > Le jeu. 25 août 2022 à 14:32, ALBERT ASHABA AHEEBWA < > ashabaaheebwaalb...@gmail.com> a écrit : > >> No. There is no space. It's just &quo

[no subject]

2023-01-01 Thread ALBERT ASHABA AHEEBWA
. Thank you. Best Regards, Albert Ashaba Aheebwa +256 781 435857 -- 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.co

Server Error 500 Nginx when DEBUG=False

2023-01-29 Thread ALBERT ASHABA AHEEBWA
pointing to different routes. There's nothing in the /var/log/nginx/error.log file that is helpful. Everything is working as expected when DEBUG=True. Please help point me in the right direction. Best Regards, Albert Ashaba Aheebwa +256 781 435857 -- You received this message because yo

Re: Server Error 500 Nginx when DEBUG=False

2023-01-29 Thread ALBERT ASHABA AHEEBWA
, Albert Ashaba Aheebwa +256 781 435857 On Sun, 29 Jan 2023, 17:20 Larry Martell, wrote: > > > On Sun, Jan 29, 2023 at 9:14 AM ALBERT ASHABA AHEEBWA < > ashabaaheebwaalb...@gmail.com> wrote: > >> So I was able to successfully host my first ever Django app on linode. >>

Re: django

2023-03-01 Thread ALBERT ASHABA AHEEBWA
If user.is_authenticated On Wed, 1 Mar 2023, 15:45 Ikrombek, wrote: > How to make a user's post visible only to that user using Django > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receivin

Re: Improving your Stack Overflow score

2023-03-22 Thread ALBERT ASHABA AHEEBWA
Hahaha 🤣, You are not alone my friend. There's a whole YouTube video about it here: https://youtu.be/N7v0yvdkIHg Take a look and rest assured you are not alone. Best Regards, Albert Ashaba Aheebwa +256 781 435857 On Thu, 23 Mar 2023, 03:13 Michael Starr, wrote: > I don't get

Re: Import [python django module] could not be resolved from source Pylance (reportMissingModuleSource) -- even though Django is installed in my venv

2023-04-28 Thread ALBERT ASHABA AHEEBWA
latter is what you are looking for. If it's not, click on whatever is there and on popup, select the appropriate. Best Regards, Albert Ashaba Aheebwa +256 781 435857 On Thu, 27 Apr 2023, 23:48 Michael Starr, wrote: > I did pip install django on my venv, which is activated, and it

Re: No module name 'taggit'

2023-04-29 Thread ALBERT ASHABA AHEEBWA
This happened to me once, there was nothing major done to fix it. This is what I did: _Reinstall the package _When you start typing the import, let the editor auto complete on it's own. Best Regards, Albert Ashaba Aheebwa +256 781 435857 On Sun, 30 Apr 2023, 00:47 Awobode Emmanuel,

Re: Form Page URL Not Found

2023-04-30 Thread ALBERT ASHABA AHEEBWA
o.uk/ And also don't forget to add the form attr enctype='multipart/form-data' since it's a file upload field. Best Regards, Albert Ashaba Aheebwa +256 781 435857 On Sun, 30 Apr 2023, 05:20 Michael Starr, wrote: > To contribute to my own answer, but not to answer th

Re: Form Page URL Not Found

2023-05-01 Thread ALBERT ASHABA AHEEBWA
w or CreateView, if you need to save data to the database, always use CreateView. But if all you need is capture data and do something with it, like send an email, then FormView is for you.. Or a normal FBV can work too Best Regards, Albert On Tue, 2 May 2023, 02:21 Michael Starr, wrote: > I

Re: Form Page URL Not Found

2023-05-01 Thread ALBERT ASHABA AHEEBWA
Oh, just realized Dylan had already answered url bit Best Regards, Albert Ashaba Aheebwa +256 781 435857 On Tue, 2 May 2023, 02:41 ALBERT ASHABA AHEEBWA, < ashabaaheebwaalb...@gmail.com> wrote: > > Hi Michael, > > On the issue, of urls, Django uses some kind of regex

Re: Django Themes help

2023-05-02 Thread ALBERT ASHABA AHEEBWA
Hi William, I am new to programming myself, but I do know some bit of CSS. I have forked your repo, I will make some changes and make a pull request. Keep a lookout. Since you have bootstrap already, it will be quick Best Regards, Albert On Tue, 2 May 2023, 17:20 William Nash (Bill), wrote

Re: Masonry card columns

2023-05-13 Thread ALBERT ASHABA AHEEBWA
This is a simple css issue. You need to change the width of the card. Making it compact will result in the desired outcome. If you are using bootstrap use grid instead of flexbox. Set width to w-50. i.e <-! Card here --> Best Regards, Albert Ashaba Aheebwa +256 781 435857

Re: Difficulty Rendering a Form

2023-05-18 Thread ALBERT ASHABA AHEEBWA
will be in a better position to help. With regards to your question, there are various ways to solve it, forms were a problem to me till just recently. So share a link to your repo and you will get the help you need. Best Regards, Albert On Thu, 18 May 2023, 08:36 Michael Starr, wrote: >

Ideas for Apps and Softwares.

2023-05-22 Thread ALBERT ASHABA AHEEBWA
up at night. So if you don't mind me asking, what's that one app that if you could, you would create? It can be personal or for the public. Albert. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: Ideas for Apps and Softwares.

2023-05-23 Thread ALBERT ASHABA AHEEBWA
Thank you very much Frank for your insight. I probably lost sight of what's important for a minute. Best Regards, Albert On Tue, 23 May 2023, 10:24 Frank Chuka, wrote: > You have to do hundreds or even thousands of unoriginal things in order to > come up with one Original piece

Re: Criteria to use several apps in one project instead one app

2023-05-29 Thread ALBERT ASHABA AHEEBWA
whether to create more apps or just do one monolithic app. Rule of thumb, if the app can stand on it's on, it's better to create than add to an existing one. Hope this helps. Best Regards, Albert On Mon, 29 May 2023, 23:56 Zdravko Gyorev, wrote: > Hi All, > > I’m new to D

Re: Django BS elements layout

2023-05-29 Thread ALBERT ASHABA AHEEBWA
This is a CSS issue. Here is a solution for you. Bootstrap 5 Password Must be 8-20 characters long. Edit accordingly. Best Regards, Albert On Mon, 29 May 2023, 19:43 Sebastian Jung, wrote: > I don't think that this is a django releva

Re: keeps redirecting to non-existent url, please help

2023-06-05 Thread ALBERT ASHABA AHEEBWA
You need to us the some code (Installed apps, views.py as well as urls.py ) for us to help. They're all connected. Best Regards, Albert Ashaba Aheebwa +256 781 435857 On Mon, 5 Jun 2023, 16:24 Kit Jenkins, wrote: > Hello everyone, I just finished my first tutorial django project,

Re: can someone help me why my static files is not being rendered?

2023-06-15 Thread ALBERT ASHABA AHEEBWA
According to your settings, the `Python.png` file should be inside `static` on the same level as `manage.py`. |---static / |-- Python.png |--manage.py |-- The file structure of almost that kind. If you're in development and this is a practice thing, you don't need `whitenoise` just yet.

Re: Using JavaScript to enumerate a dataset returned to a page.

2023-06-19 Thread ALBERT ASHABA AHEEBWA
Explore using Alpine js. Still learning these bits myself so, I don't have much detail. But Alpine is what you looking for. Best Regards, Albert Ashaba Aheebwa +256 781 435857 On Mon, 19 Jun 2023, 17:30 Lee Stevens, wrote: > Helo, > > I have a dataset returning to a page. I n

Re: need help

2023-07-04 Thread ALBERT ASHABA AHEEBWA
Go to your settings.py and look for allowed_hosts and make it ALLOWED_HOSTS = ["*"] or better yet, if you are in development, turn DEBUG = False Best Regards, Albert Ashaba Aheebwa +256 781 435857 On Tue, 4 Jul 2023, 17:38 Abdoulaye SENE, wrote: > hello, > while program

Re: need help

2023-07-04 Thread ALBERT ASHABA AHEEBWA
Sorry I meant turn DEBUG = True Best Regards, Albert Ashaba Aheebwa +256 781 435857 On Tue, 4 Jul 2023, 17:44 ALBERT ASHABA AHEEBWA, < ashabaaheebwaalb...@gmail.com> wrote: > Go to your settings.py and look for allowed_hosts and make it > ALLOWED_HOSTS = ["*"] > &g

Re: Advice for a beginer(I am new)

2023-07-04 Thread ALBERT ASHABA AHEEBWA
First thing you need to do is open the excellent Django docs at djangoproject.com, do the polls app and after try doing a Todo list. Things will fall in place. After try implementing your previous projects in Django Best Regards, Albert Ashaba Aheebwa +256 781 435857 On Tue, 4 Jul 2023, 17

Re: need help

2023-07-04 Thread ALBERT ASHABA AHEEBWA
Server Error can be caused by many issues ranging from database queries to wrong urls. Turn debug to true and see what reasons are given . Are you in production or development? Best Regards, Albert Ashaba Aheebwa +256 781 435857 On Tue, 4 Jul 2023, 18:21 Abdoulaye SENE, wrote: > thanks

Slug problems

2021-05-13 Thread Albert Cardona II
First I never knew that they had this type of group pretty cool. I am kind of new to django. I learned it and forgot it already lol. I was following a tutorial on youtube but I can not figure out why my slug won't work. I can give you my code if it will help but as of right now I am hoping someo