Question: I'm working on a blog using Django and I'm trying to use get() to retrieve the post from my database with a certain post\_title and post\_date. I'm using datetime for the post\_date, and although I can use post\_date = date(year, month, day) to fetch a post made on that specific day, I don't know how to get it to ignore the day parameter, I can't only pass two arguments to date() and since only integers can be used I don't think there's any kind of wildcard I can use for the day. How would I go about doing this?

To clarify, I'm trying to find a post using the year in which it was posted, the month, and it's title, but not the day. Thanks in advance for any help!

Answer: 
You need AJAX or frames... You have to do two extra requests, one for IPv4 and one for IPv6. That cannot be done in one HTML page without either frames or AJAX.
If you use a server side scripting language like PHP you can use the following code to do so

```
<?php
function look_me_up()
{
    $records = dns_get_record( trim(`hostname --fqdn`) );
    foreach($records as $record)
    {
        if ($record['type'] == 'A')
            $ip = $record['ip'];
    }
    return $ip;
}
?>

```

<http://php.net/manual/en/function.gethostbyname.php>

It does not need be in a frame, you could use a jquery ajax call to get the info if the page is not PHP. I am unclear of all the details of your existing page to make a good recommendation for portion of the question.

Good Luck!